*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

body{
    background:#f4f6f9;
    color:#333;
}


/* TOPBAR */

.topbar{
    height:60px;
    background:#1e293b;
    color:white;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 20px;
}

.logo{
    font-size:20px;
    font-weight:bold;
}

.menu-toggle{
    display:none;
    background:none;
    border:none;
    color:white;
    font-size:26px;
    cursor:pointer;
}


/* LAYOUT */

.container{
    display:flex;
    min-height:calc(100vh - 60px);
}


/* SIDEBAR */

.sidebar{
    width:250px;
    background:#111827;
    color:white;
    padding:20px;
    display:flex;
    flex-direction:column;
}

.sidebar h3{
    margin-top:15px;
    margin-bottom:10px;
    font-size:14px;
    color:#9ca3af;
    text-transform:uppercase;
}

.sidebar a{
    color:white;
    text-decoration:none;
    padding:10px;
    border-radius:6px;
    margin-bottom:5px;
    font-size:14px;
}

.sidebar a:hover{
    background:#2563eb;
}


/* CONTENT */

.content{
    flex:1;
    padding:40px;
}

.content h1{
    margin-bottom:10px;
}

.cards{
    margin-top:30px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
    gap:20px;
}

.card{
    background:white;
    padding:20px;
    border-radius:10px;
    text-decoration:none;
    color:#333;
    box-shadow:0 2px 6px rgba(0,0,0,0.1);
    transition:0.2s;
}

.card:hover{
    transform:translateY(-5px);
    box-shadow:0 5px 12px rgba(0,0,0,0.15);
}


/* MOBILE */

@media (max-width:768px){

    .sidebar{
        position:fixed;
        left:-260px;
        top:60px;
        height:100%;
        transition:0.3s;
        z-index:1000;
    }

    .sidebar.show{
        left:0;
    }

    .menu-toggle{
        display:block;
    }

    .container{
        flex-direction:column;
    }

    .content{
        padding:20px;
    }

}