*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    background:#f7f8fc;
}

/* ================= HEADER ================= */

.dashboard-header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:70px;
    background:#fff;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0 20px;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
    z-index:1000;
}

.dashboard-header .left,
.dashboard-header .center,
.dashboard-header .right{
    display:flex;
    align-items:center;
}

.logo{
    font-size:26px;
    font-weight:700;
    color:#e91e63;
    margin-left:15px;
}

#menu-toggle{
    background:none;
    border:none;
    font-size:26px;
    cursor:pointer;
}

.dashboard-header input{
    width:320px;
    padding:12px 18px;
    border:none;
    outline:none;
    background:#f3f3f3;
    border-radius:30px;
}

.dashboard-header .right{
    gap:20px;
}

.dashboard-header .right a{
    color:#444;
    text-decoration:none;
    font-size:22px;
}

.profile-link{
    display:flex;
    align-items:center;
    gap:10px;
    font-weight:600;
    text-decoration:none;
    color:#333;
}

.profile-link img{
    width:42px;
    height:42px;
    border-radius:50%;
    object-fit:cover;
}

/* ================= LAYOUT ================= */

.dashboard{
    display:flex;
    margin-top:70px;
    min-height:calc(100vh - 70px);
}

/* ================= SIDEBAR ================= */

.sidebar{
    width:280px;
    background:linear-gradient(180deg,#ff2d75,#b5179e);
    color:#fff;
    padding:25px;
    position:sticky;
    top:70px;
    height:calc(100vh - 70px);
    overflow-y:auto;
}

.user-box{
    text-align:center;
    margin-bottom:30px;
}

.user-box img{
    width:95px;
    height:95px;
    border-radius:50%;
    border:4px solid #fff;
    object-fit:cover;
    margin-bottom:12px;
}

.user-box h3{
    font-size:22px;
}

.user-box span{
    opacity:.8;
}

.sidebar ul{
    list-style:none;
}

.sidebar ul li{
    margin-bottom:10px;
}

.sidebar ul li a{
    display:flex;
    align-items:center;
    gap:12px;
    padding:14px;
    color:#fff;
    text-decoration:none;
    border-radius:12px;
    transition:.3s;
}

.sidebar ul li.active a,
.sidebar ul li a:hover{
    background:rgba(255,255,255,.18);
}

/* ================= MAIN ================= */

.main-content{
    flex:1;
    padding:35px;
}

.main-content h1{
    font-size:38px;
    margin-bottom:30px;
}

/* ================= CARDS ================= */

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
}

.card{
    background:#fff;
    padding:30px;
    border-radius:18px;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.card:hover{
    transform:translateY(-5px);
}

.card h2{
    color:#e91e63;
    font-size:42px;
    margin-bottom:10px;
}

.card p{
    color:#666;
}

/* ================= MOBILE ================= */

@media (max-width:992px){

.dashboard-header input{
    display:none;
}

.profile-link span{
    display:none;
}

.sidebar{
    position:fixed;
    top:70px;
    left:-280px;
    width:280px;
    height:calc(100vh - 70px);
    transition:left .3s ease;
    z-index:9999;
}

.sidebar.active{
    left:0;
}

.main-content{
    width:100%;
    padding:20px;
}

.main-content h1{
    font-size:30px;
}

.cards{
    grid-template-columns:1fr;
}

}