:root{

    --primary:#2563eb;
    --sidebar:#0f172a;
    --background:#f6f8fc;
    --white:#ffffff;
    --text:#111827;
    --muted:#64748b;

    --shadow:0 10px 30px rgba(15,23,42,.08);

}


*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}


body{

    font-family:Arial, Helvetica, sans-serif;
    background:var(--background);
    color:var(--text);

}


/* ===========================
   MAIN LAYOUT
=========================== */


.itlink-dashboard{

    display:flex;
    min-height:100vh;

}



/* ===========================
   SIDEBAR
=========================== */


.sidebar{

    width:270px;

    background:var(--sidebar);

    color:white;

    min-height:100vh;

}


.sidebar nav{

    padding-top:25px;

}


.sidebar ul{

    list-style:none;

    padding:0 15px;

}


.sidebar li{

    padding:15px 18px;

    margin-bottom:8px;

    border-radius:12px;

    cursor:pointer;

    transition:.3s;

    font-size:15px;

}


.sidebar li:hover{

    background:rgba(255,255,255,.08);

}


.sidebar .active{

    background:var(--primary);

}



/* ===========================
   MAIN AREA
=========================== */


.dashboard-main{

    flex:1;

    display:flex;

    flex-direction:column;

}



/* ===========================
   TOPBAR
=========================== */


.topbar{

    height:85px;

    background:white;

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:0 35px;

    box-shadow:0 2px 15px rgba(0,0,0,.05);

}



.top-left{

    display:flex;

    align-items:center;

    gap:20px;

}



/* LOGO IN TOPBAR */


.top-logo{

    width:120px;

    height:auto;

    object-fit:contain;

    display:block;

}



.topbar h1{

    font-size:28px;

    margin:0;

}


.topbar p{

    color:var(--muted);

    font-size:14px;

    margin-top:5px;

}



/* ===========================
   TOP ACTIONS
=========================== */


.top-actions{

    display:flex;

    align-items:center;

    gap:15px;

}



.top-actions input{

    width:260px;

    padding:12px 16px;

    border-radius:12px;

    border:1px solid #ddd;

    outline:none;

}



.top-actions button{

    width:45px;

    height:45px;

    border:none;

    border-radius:12px;

    background:#eef4ff;

    cursor:pointer;

}



.profile{

    background:var(--primary);

    color:white;

    padding:12px 20px;

    border-radius:12px;

    font-weight:600;

}



/* ===========================
   CONTENT
=========================== */


.dashboard-content{

    padding:35px;

}



/* ===========================
   STAT CARDS
=========================== */


.stats-row{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

}



.stat-card{

    background:white;

    padding:25px;

    border-radius:18px;

    box-shadow:var(--shadow);

    transition:.3s;

}



.stat-card:hover{

    transform:translateY(-5px);

}



.stat-top{

    display:flex;

    justify-content:space-between;

    align-items:center;

}



.stat-icon{

    width:50px;

    height:50px;

    background:#eef4ff;

    border-radius:14px;

    display:flex;

    justify-content:center;

    align-items:center;

}



.stat-body{

    margin-top:20px;

}



.stat-body h3{

    color:var(--muted);

    font-size:15px;

}



.stat-body h1{

    font-size:36px;

    margin-top:10px;

}



.stat-body p{

    color:var(--muted);

    margin-top:8px;

}



/* ===========================
   LOWER DASHBOARD GRID
=========================== */


.dashboard-grid{

    display:grid;

    grid-template-columns:2fr 1fr;

    gap:25px;

    margin-top:30px;

}


/* ===========================
   PANELS
=========================== */

.activity-card,
.quick-card,
.project-card{

    background:#ffffff;

    border-radius:20px;

    padding:30px;

    box-shadow:0 50px 100px rgba(15,23,42,.08);

}


.activity-card h2,
.quick-card h2,
.project-card h2{

    font-size:22px;

    margin-bottom:20px;

    color:#111827;

    border-bottom:2px solid #eef2ff;

    padding-bottom:15px;

}


.activity-card p{

    padding:14px 0;

    color:#475569;

    border-bottom:1px solid #edf2f7;

    font-size:15px;

}

.activity-card p:last-child{

    border-bottom:none;

}





/* PROJECTS */

.project-card{

    margin-top:30px;

}


.project-card p{

    padding:16px;

    margin-bottom:12px;

    background:#f8fafc;

    border-left:5px solid #2563eb;

    border-radius:10px;

    color:#475569;

    font-size:15px;

}





/* ===========================
   RESPONSIVE
=========================== */


@media(max-width:1000px){


    .stats-row{

        grid-template-columns:repeat(2,1fr);

    }


    .dashboard-grid{

        grid-template-columns:1fr;

    }


}



@media(max-width:700px){


    .sidebar{

        width:80px;

    }


    .top-logo{

        width:20px;

    }


    .top-actions input{

        display:none;

    }


}
.quick-card{

    background:#ffffff;

    padding:50px;

    border-radius:20px;

    box-shadow:0 12px 35px rgba(15,23,42,.08);

    display:flex;

    flex-direction:column;

}


.quick-card h2{

    margin-bottom:25px;

}



/* button container */

.quick-card button{

    width:100%;

    height:52px;

    margin-bottom:20px;

    border:none;

    border-radius:14px;

    background:#2563eb;

    color:white;

    font-size:15px;

    font-weight:600;

    letter-spacing:.2px;

    cursor:pointer;

    display:flex;

    align-items:center;

    justify-content:center;

    transition:.25s;

}


.quick-card button:hover{

    background:#1d4ed8;

    transform:translateY(-2px);

    box-shadow:0 8px 20px rgba(37,99,235,.25);

}


.quick-card button:last-child{

    margin-bottom:0;

}
/* SIDEBAR FINAL FIX */


.sidebar li a,
.sidebar li a:visited,
.sidebar li a:hover{

    color:white !important;

    text-decoration:none !important;

}



.sidebar li.active{

    background:#2563eb !important;

}



.sidebar li.active a{

    color:white !important;

}



.sidebar li{

    transition:.3s;

}