/* =====================================================
   GOOGLE FONT
===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');


/* =====================================================
   RESET
===================================================== */

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Poppins',sans-serif;
    background:#F4F7FC;
    color:#2C3E50;

}

a{

    text-decoration:none;

}

img{

    max-width:100%;
    display:block;

}


/* =====================================================
   COLOR
===================================================== */

:root{

    --primary:#4F46E5;
    --primary2:#6366F1;
    --secondary:#0EA5E9;
    --success:#10B981;
    --warning:#F59E0B;
    --danger:#EF4444;

    --white:#FFFFFF;

    --text:#1F2937;
    --muted:#6B7280;

    --border:#E5E7EB;

}


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

.header-guru{

    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:75px;
    background:#FFFFFF;
    border-bottom:1px solid var(--border);
    z-index:999;
    box-shadow:0 4px 15px rgba(0,0,0,.05);

}

.header-container{

    width:95%;
    margin:auto;
    height:75px;

    display:flex;
    justify-content:space-between;
    align-items:center;

}

.logo{

    display:flex;
    align-items:center;
    gap:15px;

}

.logo img{

    width:52px;

}

.logo h2{

    font-size:26px;
    color:var(--primary);

}

.logo span{

    color:var(--secondary);

}

.logo small{

    color:var(--muted);

}

.header-right{

    display:flex;
    align-items:center;
    gap:20px;

}

.notif-btn{

    width:45px;
    height:45px;

    border:none;
    border-radius:50%;

    cursor:pointer;

    background:#EEF2FF;
    color:var(--primary);

    font-size:18px;

    transition:.3s;

}

.notif-btn:hover{

    background:var(--primary);
    color:#fff;

}

.guru-profile{

    display:flex;
    align-items:center;
    gap:12px;

}

.guru-profile img{

    width:45px;
    height:45px;

    border-radius:50%;
    object-fit:cover;

}

.guru-profile h4{

    font-size:15px;

}

.guru-profile small{

    color:var(--muted);

}

.btn-logout{

    padding:11px 18px;

    background:var(--danger);
    color:#fff;

    border-radius:12px;

    transition:.3s;

}

.btn-logout:hover{

    background:#DC2626;

}
/* =====================================================
   WRAPPER
===================================================== */

.dashboard-wrapper{

    display:flex;
    margin-top:75px;

}


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

.sidebar-guru{

    position:fixed;
    top:75px;
    left:0;

    width:260px;
    height:calc(100vh - 75px);

    background:#FFFFFF;

    border-right:1px solid var(--border);

    display:flex;
    flex-direction:column;
    justify-content:space-between;

    overflow-y:auto;

    box-shadow:4px 0 15px rgba(0,0,0,.04);

}

.sidebar-menu{

    padding:25px 18px;

}

.menu-item{

    display:flex;
    align-items:center;
    gap:16px;

    padding:15px 18px;
    margin-bottom:10px;

    border-radius:15px;

    color:var(--text);

    font-size:15px;
    font-weight:500;

    transition:.3s;

}

.menu-item i{

    width:22px;
    text-align:center;
    font-size:18px;

}

.menu-item:hover{

    background:#EEF2FF;
    color:var(--primary);

    transform:translateX(6px);

}

.menu-item.active{

    background:linear-gradient(135deg,var(--primary),var(--primary2));

    color:#FFFFFF;

    box-shadow:0 10px 25px rgba(79,70,229,.25);

}

.menu-item.active i{

    color:#FFFFFF;

}


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

.sidebar-footer{

    padding:20px;

}

.version-card{

    text-align:center;

    background:linear-gradient(135deg,var(--primary),var(--secondary));

    color:#FFFFFF;

    padding:25px 15px;

    border-radius:20px;

}

.version-card i{

    font-size:36px;

    margin-bottom:12px;

}

.version-card h4{

    margin-bottom:6px;

}

.version-card small{

    opacity:.9;

}

/* =====================================================
   WELCOME
===================================================== */

.welcome-guru{

    background:linear-gradient(135deg,#4F46E5,#2563EB);

    color:#fff;

    border-radius:28px;

    padding:40px;

    margin-bottom:35px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    overflow:hidden;

}

.welcome-left{

    width:65%;

}

.welcome-badge{

    display:inline-block;

    padding:8px 18px;

    background:rgba(255,255,255,.18);

    border-radius:30px;

    margin-bottom:18px;

    font-size:14px;

}

.welcome-guru h1{

    font-size:38px;

    margin-bottom:15px;

}

.welcome-guru p{

    line-height:1.8;

    opacity:.95;

    margin-bottom:25px;

}

.welcome-info{

    display:flex;

    gap:30px;

    flex-wrap:wrap;

}

.welcome-info span{

    display:flex;

    align-items:center;

    gap:10px;

    font-weight:500;

}

.welcome-right img{

    width:260px;

}
/* =====================================================
   CONTENT
===================================================== */

.content-guru{

    margin-left:260px;

    width:calc(100% - 260px);

    padding:35px;

    min-height:calc(100vh - 75px);

}


/* =====================================================
   PAGE TITLE
===================================================== */

.page-title{

    display:flex;
    justify-content:space-between;
    align-items:center;

    margin-bottom:30px;

}

.page-title h1{

    font-size:34px;
    color:var(--text);

}

.page-title p{

    margin-top:6px;

    color:var(--muted);

    font-size:15px;

}
/* =====================================================
   CARD RINGKASAN
===================================================== */

.card-ringkasan{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

    margin-bottom:35px;

}

.ringkasan-card{

    background:#FFFFFF;

    border-radius:22px;

    padding:28px;

    position:relative;

    overflow:hidden;

    box-shadow:0 10px 30px rgba(0,0,0,.06);

    transition:.35s;

}

.ringkasan-card:hover{

    transform:translateY(-10px);

    box-shadow:0 20px 45px rgba(0,0,0,.12);

}

.ringkasan-card::before{

    content:"";

    position:absolute;

    width:120px;
    height:120px;

    border-radius:50%;

    right:-35px;
    top:-35px;

    background:rgba(79,70,229,.08);

}

.ringkasan-card i{

    width:65px;
    height:65px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:18px;

    background:linear-gradient(135deg,var(--primary),var(--primary2));

    color:#FFFFFF;

    font-size:26px;

    margin-bottom:20px;

}

.ringkasan-card h2{

    font-size:34px;

    color:var(--text);

    margin-bottom:8px;

}

.ringkasan-card p{

    color:var(--muted);

    font-size:15px;

}


/* =====================================================
   DASHBOARD ROW
===================================================== */

.dashboard-row{

    display:grid;

    grid-template-columns:2fr 1fr;

    gap:25px;

    margin-bottom:35px;

}

.dashboard-box{

    background:#FFFFFF;

    border-radius:22px;

    padding:28px;

    box-shadow:0 10px 30px rgba(0,0,0,.06);

}


/* =====================================================
   BOX TITLE
===================================================== */

.box-title{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:25px;

}

.box-title h3{

    font-size:22px;

    color:var(--text);

}

.box-title a{

    color:var(--primary);

    font-weight:600;

}

.box-title a:hover{

    text-decoration:underline;

}
/* =====================================================
   TABLE
===================================================== */

.table-responsive{

    width:100%;

    overflow-x:auto;

}

.table-dashboard{

    width:100%;

    border-collapse:collapse;

}

.table-dashboard thead{

    background:#F8FAFC;

}

.table-dashboard th,
.table-dashboard td{
    padding:14px 10px;
    text-align:left;
}
.table-dashboard tbody tr{

    transition:.3s;

}

.table-dashboard tbody tr:hover{

    background:#F8FAFC;

}


/* =====================================================
   INFO DASHBOARD
===================================================== */

.info-dashboard{

    display:flex;

    flex-direction:column;

    gap:18px;

}

.info-item{

    display:flex;

    align-items:flex-start;

    gap:15px;

    padding:18px;

    border-radius:18px;

    background:#F8FAFC;

    transition:.3s;

}

.info-item:hover{

    background:#EEF2FF;

    transform:translateX(5px);

}

.info-item i{

    width:45px;
    height:45px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:14px;

    background:linear-gradient(135deg,var(--primary),var(--secondary));

    color:#FFFFFF;

    font-size:18px;

    flex-shrink:0;

}

.info-item span{

    color:var(--text);

    line-height:1.7;

    font-size:15px;

}
/* =====================================================
   INFO DASHBOARD
===================================================== */

.menu-cepat{

    margin:25px 0;

}

.menu-cepat-card{

    display:flex;

    align-items:center;

    gap:20px;

    background:linear-gradient(135deg,#ffb347,#ffcc33);

    border-radius:18px;

    padding:20px 25px;

    text-decoration:none;

    color:#333;

    box-shadow:0 8px 20px rgba(0,0,0,.12);

    transition:.25s;

}

.menu-cepat-card:hover{

    transform:translateY(-5px);

}

.menu-cepat-card .icon{

    width:70px;

    height:70px;

    border-radius:50%;

    background:white;

    display:flex;

    justify-content:center;

    align

/* =====================================================
   FOOTER
===================================================== */

.footer-guru{

    margin-left:260px;

    width:calc(100% - 260px);

    box-sizing:border-box;

    background:#FFFFFF;

    border-top:1px solid var(--border);

    padding:18px 35px;

}

.footer-container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    color:var(--muted);

    font-size:14px;

}

.footer-container strong{

    color:var(--primary);

}


/* =====================================================
   RESPONSIVE
===================================================== */

@media(max-width:1100px){

    .card-ringkasan{

        grid-template-columns:repeat(2,1fr);

    }

    .dashboard-row{

        grid-template-columns:1fr;

    }

}

@media(max-width:768px){

    .sidebar-guru{

        display:none;

    }

    .content-guru{

        margin-left:0;

        width:100%;

        padding:20px;

    }

    .footer-guru{

        margin-left:0;

        padding:18px 20px;

    }

    .header-container{

        width:92%;

    }

    .guru-profile div{

        display:none;

    }

    .card-ringkasan{

        grid-template-columns:1fr;

    }

    .page-title h1{

        font-size:28px;

    }

    .footer-container{

        flex-direction:column;

        gap:8px;

        text-align:center;

    }

}
.btn-detail{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:6px;

    padding:8px 12px;

    font-size:13px;

    margin:2px;

}
.btn-detail:hover{

    background:var(--secondary);

    transform:translateY(-2px);

}
/* =====================================================
   DATA SISWA
===================================================== */

.foto-siswa{

    width:50px;
    height:50px;

    border-radius:50%;

    object-fit:cover;

    border:3px solid #EEF2FF;

}

.badge-level{

    display:inline-block;

    padding:7px 14px;

    border-radius:30px;

    background:linear-gradient(135deg,#4F46E5,#6366F1);

    color:#FFFFFF;

    font-size:13px;

    font-weight:600;

}

.badge-success{

    display:inline-block;

    padding:7px 14px;

    border-radius:30px;

    background:#DCFCE7;

    color:#166534;

    font-size:13px;

    font-weight:600;

}

.btn-detail{

    display:inline-flex;

    align-items:center;

    gap:8px;

    padding:10px 18px;

    border-radius:12px;

    background:linear-gradient(135deg,#4F46E5,#6366F1);

    color:#FFFFFF;

    font-size:14px;

    font-weight:600;

    transition:.3s;

}

.btn-detail:hover{

    transform:translateY(-3px);

    box-shadow:0 10px 25px rgba(79,70,229,.25);

}

.table-dashboard tbody tr{

    transition:.3s;

}

.table-dashboard tbody tr:hover{

    background:#F8FAFC;

}

.table-dashboard td{

    vertical-align:middle;

}

.table-dashboard th{

    white-space:nowrap;

}


/* =====================================================
   SEARCH
===================================================== */

.table-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:20px;

    margin-bottom:25px;

}

.search-box{

    position:relative;

    width:320px;

}

.search-box input{

    width:100%;

    padding:13px 18px 13px 45px;

    border:1px solid #E5E7EB;

    border-radius:14px;

    outline:none;

    transition:.3s;

    font-family:'Poppins',sans-serif;

}

.search-box input:focus{

    border-color:#4F46E5;

    box-shadow:0 0 0 4px rgba(79,70,229,.08);

}

.search-box i{

    position:absolute;

    left:16px;

    top:50%;

    transform:translateY(-50%);

    color:#9CA3AF;

}
.table-dashboard{

    width:100%;

    border-collapse:collapse;

    table-layout:auto;

}
.table-dashboard td:last-child{

    white-space:nowrap;

    width:220px;

}
.status-hijau{

    width:16px;
    height:16px;

    background:#2ecc71;

    border-radius:50%;

    display:inline-block;

    box-shadow:0 0 8px rgba(46,204,113,.5);

}

.status-merah{

    width:16px;
    height:16px;

    background:#e74c3c;

    border-radius:50%;

    display:inline-block;

    box-shadow:0 0 8px rgba(231,76,60,.5);

}