/* =========================================================
   LUX ADMIN DASHBOARD THEME1223123
   Bootstrap 5.3.8 Compatible
   Icons: Bootstrap Icons
   Font: Inter / Poppins
========================================================= */

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

:root{

    /* Primary Colors */
    --lux-primary:#7C4DFF;
    --lux-primary-light:#A98BFF;
    --lux-primary-soft:#F3EEFF;

    /* Sidebar */
    --sidebar-bg: linear-gradient(90deg, #F7F2FF 0%, #FFF0F5 50%, #E6E6FA 100%);
    --sidebar-hover:#EFE6FF;
    --sidebar-active:#E9DCFF;
    --sidebar-text:#6E5A91;
    --sidebar-title:#A08BBF;

    /* Topbar */
    --topbar-bg:#FFFFFF;
    --topbar-border:#EEEAF5;

    /* Content */
    --content-bg:#FAFAFD;
    --card-bg:#FFFFFF;

    /* Text */
    --text-dark:#18181B;
    --text-muted:#8D8DA5;

    /* Status */
    --success:#19B36B;
    --danger:#F04438;
    --warning:#FFB020;
    --info:#4F8CFF;

    /* Borders */
    --border-color:#ECE8F3;

    /* Shadow */
    --shadow-sm:0 2px 10px rgba(124,77,255,0.06);
    --shadow-md:0 8px 30px rgba(124,77,255,0.08);
    --shadow-lg:0 15px 40px rgba(124,77,255,0.12);

    --radius-sm:10px;
    --radius-md:16px;
    --radius-lg:24px;

    --transition:all .3s ease;
}

/* =========================================================
   GLOBAL
========================================================= */

body{
    font-family:'Inter',sans-serif;
    background:var(--content-bg);
    color:var(--text-dark);
    overflow-x:hidden;
}
/* Sidebar Collapse Animation Controls */
body.sidebar-collapsed .sidebar {
    left: -280px;
}

body.sidebar-collapsed .main-content {
    width: 100%;
    margin-left: 0;
}

.extra-small {
    font-size: 0.75rem;
}

@media (max-width: 991.98px) {
    .main-content {
        width: 100% !important;
        margin-left: 0 !important;
    }
    .sidebar {
        left: -280px;
    }
    body.sidebar-collapsed .sidebar {
        left: 0 !important;
    }
}


a{
    text-decoration:none;
    transition:var(--transition);
}

h1,h2,h3,h4,h5,h6{
    font-family:'Poppins',sans-serif;
    font-weight:600;
}

.text-muted{
    color:var(--text-muted)!important;
}

.bg-primary-soft{
    background:var(--lux-primary-soft)!important;
}

.border-light-custom{
    border:1px solid var(--border-color);
}

.student-info-box{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:16px;
    padding:10px;
    box-shadow:0 2px 10px rgba(0,0,0,0.05);
}

.student-info-box p{
    margin-bottom:10px;
    font-size:14px;
    color:#374151;
}

.student-info-box strong{
    color:#6b7280;
    font-size:15px;
    font-weight:600;
}

.student-info-box span{
    color:#111827;
    font-size:15px;
    font-weight:700;
}

.student-info-card{
    background:#ffffff;
    border-radius:18px;
    padding:25px;
    border:1px solid #e5e7eb;
    box-shadow:0 4px 20px rgba(0,0,0,0.06);
    margin-top:20px;
}

.student-info-header{
    font-size:20px;
    font-weight:700;
    color:#111827;
    margin-bottom:25px;
    padding-bottom:12px;
    border-bottom:2px solid #eef2f7;
}

.info-item{
    background:#f9fafb;
    border:1px solid #edf0f5;
    border-radius:14px;
    padding:14px 16px;
    height:100%;
    transition:all 0.3s ease;
}

.info-item:hover{
    transform:translateY(-2px);
    box-shadow:0 4px 12px rgba(0,0,0,0.05);
}

.info-item label{
    display:block;
    font-size:12px;
    font-weight:600;
    color:#6b7280;
    text-transform:uppercase;
    letter-spacing:0.5px;
    margin-bottom:6px;
}

.info-item span{
    display:block;
    font-size:15px;
    font-weight:600;
    color:#111827;
    word-break:break-word;
}

.highlight-item{
    background:linear-gradient(135deg,#f8fafc,#eef4ff);
    border:1px solid #dbeafe;
}

.highlight-item span{
    font-size:20px;
    font-weight:700;
    color:#0f172a;
}

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

.admin-wrapper{
    display:flex;
    min-height:100vh;
    width:100%;
}

.main-content{
    width:calc(100% - 280px);
    margin-left:280px;
    transition:var(--transition);
    background:var(--content-bg);
}

.content-wrapper{
    padding:28px;
    min-height:calc(100vh - 78px);

    background:#F5F7FB;

    display:flex;
    flex-direction:column;
}
.page-container{
    width:100%;
    background:#fff;

    border-radius:22px;

    padding:28px;

    border:1px solid #ECE8F3;

    box-shadow:
        0 2px 10px rgba(0,0,0,0.04);

    min-height:calc(100vh - 140px);
}
@media(max-width:768px){

    .content-wrapper{
        padding:16px;
    }

    .page-container{
        padding:18px;
        border-radius:16px;
    }

}

.section-title{
    position: relative;
    margin-bottom: 18px;
}

.section-title::after{
    content:'';
    position:absolute;
    left:0;
    bottom:0;

    width:100%;
    height:2px;

    background:linear-gradient(to right,#4f46e5,#c7d2fe);
}

.section-title h5{
    display:inline-flex;
    align-items:center;
    gap:8px;

    margin:0;
    padding-bottom:10px;

    font-size:20px;
    font-weight:700;

    color:#312e81;
}

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

.sidebar{
    width:280px;
    height:100vh;
    position:fixed;
    left:0;
    top:0;
    background:linear-gradient(90deg, #F7F2FF 0%, #FFF0F5 50%, #E6E6FA 100%);
    border-right:1px solid #ECE6F5;
    z-index:1050;
    overflow-y:auto;
    padding:20px 16px;
}

.sidebar::-webkit-scrollbar{
    width:6px;
}

.sidebar::-webkit-scrollbar-thumb{
    background:#D9CCFF;
    border-radius:20px;
}

.sidebar-brand{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:28px;
    padding:0 10px;
}

.sidebar-brand .brand-logo{
    width:42px;
    height:42px;
    border-radius:14px;
    background:linear-gradient(135deg,#7C4DFF,#B388FF);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
    box-shadow:var(--shadow-sm);
}

.sidebar-brand .brand-name{
    font-size:1.2rem;
    font-weight:700;
    color:#221B35;
}

.sidebar-title{
    color:var(--sidebar-title);
    font-size:12px;
    text-transform:uppercase;
    font-weight:700;
    margin:22px 10px 12px;
    letter-spacing:.5px;
}

.sidebar-menu{
    list-style:none;
    margin:0;
    padding:0;
}

.sidebar-menu .nav-item{
    margin-bottom:6px;
}

.sidebar-menu .nav-link{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    color:var(--sidebar-text);
    border-radius:14px;
    padding:13px 14px;
    font-weight:500;
    position:relative;
}

.sidebar-menu .nav-link .left{
    display:flex;
    align-items:center;
    gap:12px;
}

.sidebar-menu .nav-link i{
    font-size:1rem;
}

.sidebar-menu .nav-link:hover{
    background:var(--sidebar-hover);
    color:var(--lux-primary);
}

.sidebar-menu .nav-link.active{
    background:var(--sidebar-active);
    color:var(--lux-primary);
    font-weight:600;
    box-shadow:var(--shadow-sm);
}

.sidebar-menu .nav-link.active::before{
    content:'';
    position:absolute;
    left:0;
    top:10px;
    bottom:10px;
    width:4px;
    border-radius:10px;
    background:var(--lux-primary);
}

.sidebar-badge{
    min-width:22px;
    height:22px;
    border-radius:50px;
    background:var(--lux-primary);
    color:#fff;
    font-size:11px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.sidebar-submenu{
    list-style:none;
    margin-top:8px;
    padding-left:18px;
}

.sidebar-submenu .nav-link{
    padding:10px 14px;
    font-size:.93rem;
    border-radius:12px;
}

/* Student Profile  */
.profile-cover{
    height:120px;
    background:linear-gradient(135deg,#4f46e5,#6366f1);
}

.student-profile-img{
    width:140px;
    height:140px;
    border-radius:50%;
    object-fit:cover;
    border:6px solid #fff;
    margin-top:-70px;
    background:#fff;
}

.student-profile-placeholder{
    width:140px;
    height:140px;
    border-radius:50%;
    background:#eef2ff;
    border:6px solid #fff;
    margin:-70px auto 0;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:60px;
    color:#4f46e5;
}

.profile-label{
    font-size:13px;
    font-weight:600;
    color:#6b7280;
    margin-bottom:6px;
    display:block;
}

.profile-value{
    font-size:15px;
    font-weight:600;
    color:#111827;
}

.profile-badge{
    background:#eef2ff;
    color:#4338ca;
    padding:8px 14px;
    border-radius:30px;
    font-size:13px;
    font-weight:600;
}

.profile-info-item{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:12px 0;
    border-bottom:1px solid #f1f5f9;
}

.profile-info-item:last-child{
    border-bottom:none;
}

.profile-info-item span{
    color:#6b7280;
    font-size:14px;
}

.profile-info-item strong{
    color:#111827;
    font-size:14px;
}

/* =========================================
PROFILE IMAGE
========================================= */

.sidebar-user-img{
    width:55px;
    height:55px;
    margin:0 auto 12px;
    border-radius:50%;
    overflow:hidden;
    border:3px solid rgba(255,255,255,0.15);
    background:#fff;
    flex-shrink:0;
}

.profile-image{
    width:55px !important;
    height:55px !important;

    min-width:55px;
    min-height:55px;

    max-width:55px;
    max-height:55px;

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

    border:3px solid rgba(255,255,255,0.15);
    background:#fff;

    display:block;
    flex-shrink:0;
}

/* IMPORTANT */

.sidebar-user-img img{
    width:55px !important;
    height:55px !important;
    min-width:55px;
    min-height:55px;
    max-width:55px;
    max-height:55px;

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

    display:block;
}

/* MOBILE */

@media(max-width:768px){

    .sidebar-user-img{
        width:50px;
        height:50px;
    }
     .profile-image{
        width:50px !important;
        height:50px !important;

        min-width:50px;
        min-height:50px;

        max-width:50px;
        max-height:50px;
    }

    .sidebar-user-img img{
        width:50px !important;
        height:50px !important;
        min-width:50px;
        min-height:50px;
        max-width:50px;
        max-height:50px;
    }
}



/* =========================================================
   TOPBAR
========================================================= */

.topbar{
    height:78px;
    background:var(--topbar-bg);
    border-bottom:1px solid var(--topbar-border);
    padding:0 28px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    position:sticky;
    top:0;
    z-index:1000;
}

.topbar-left{
    display:flex;
    align-items:center;
    gap:18px;
}

.toggle-sidebar{
    width:42px;
    height:42px;
    border-radius:12px;
    border:1px solid var(--border-color);
    background:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
}

.search-box{
    position:relative;
}

.search-box input{
    width:320px;
    height:46px;
    border-radius:14px;
    border:1px solid var(--border-color);
    padding-left:45px;
    background:#FAFAFD;
    box-shadow:none!important;
}

.search-box i{
    position:absolute;
    top:50%;
    left:16px;
    transform:translateY(-50%);
    color:#9A91AF;
}

.topbar-right{
    display:flex;
    align-items:center;
    gap:14px;
}

.topbar-icon{
    width:44px;
    height:44px;
    border-radius:14px;
    background:#fff;
    border:1px solid var(--border-color);
    display:flex;
    align-items:center;
    justify-content:center;
    position:relative;
    color:#63527F;
}

.topbar-icon .badge-dot{
    width:10px;
    height:10px;
    border-radius:50%;
    background:#FF4D6D;
    position:absolute;
    top:9px;
    right:10px;
}

.user-profile{
    display:flex;
    align-items:center;
    gap:12px;
    padding:6px 10px;
    border-radius:14px;
    background:#fff;
    border:1px solid var(--border-color);
}

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

/* =========================================================
   PAGE CONTENT
========================================================= */

.page-content{
    padding:28px;
}

.page-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:26px;
}

.page-title{
    font-size:1.7rem;
    font-weight:700;
}

.breadcrumb-custom{
    display:flex;
    align-items:center;
    gap:10px;
    color:var(--text-muted);
    font-size:.92rem;
}

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

.lux-card{
    background:var(--card-bg);
    border:1px solid #EFEAF6;
    border-radius:22px;
    padding:24px;
    box-shadow:var(--shadow-sm);
    transition:var(--transition);
}

.lux-card:hover{
    transform:translateY(-3px);
    box-shadow:var(--shadow-md);
}

.stats-card{
    position:relative;
    overflow:hidden;
}

.stats-card::after{
    content:'';
    position:absolute;
    right:-30px;
    top:-30px;
    width:120px;
    height:120px;
    background:rgba(124,77,255,.05);
    border-radius:50%;
}

.stats-title{
    color:var(--text-muted);
    font-size:.92rem;
}

.stats-value{
    font-size:2rem;
    font-weight:700;
    margin:10px 0;
}

.stats-growth{
    color:var(--success);
    font-weight:600;
    font-size:.92rem;
}

.card-action{
    width:38px;
    height:38px;
    border-radius:12px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#F6F2FF;
    color:var(--lux-primary);
}

/* =========================================================
   TABLES
========================================================= */

.table{
    --bs-table-bg:transparent;
    vertical-align:middle;
}

.table thead th{
    border-bottom:1px solid var(--border-color);
    color:#8A82A0;
    font-size:.85rem;
    font-weight:600;
    padding:16px;
}

.table tbody td{
    padding:16px;
    border-color:#F1EDF7;
}

.table tbody tr{
    transition:var(--transition);
}

.table tbody tr:hover{
    background:#FAF8FF;
}

/* =========================================================
   BUTTONS
========================================================= */

.btn{
    border-radius:14px;
    font-weight:600;
    padding:11px 18px;
}

.btn-primary{
    background:linear-gradient(135deg,#7C4DFF,#9F7BFF);
    border:none;
    box-shadow:0 8px 20px rgba(124,77,255,.18);
}

.btn-primary:hover{
    transform:translateY(-2px);
}

.btn-light{
    border:1px solid var(--border-color);
    background:#fff;
}

.btn-soft-primary{
    background:var(--lux-primary-soft);
    color:var(--lux-primary);
    border:none;
}

/* =========================================================
   FORMS
========================================================= */

.form-control,
.form-select{
    min-height:48px;
    border-radius:14px;
    border:1px solid var(--border-color);
    background:#fff;
    box-shadow:none!important;
}

.form-control:focus,
.form-select:focus{
    border-color:#B9A0FF;
    box-shadow:0 0 0 4px rgba(124,77,255,.10)!important;
}

/* =========================================================
   DROPDOWN
========================================================= */

.dropdown-menu{
    border:none;
    border-radius:18px;
    padding:12px;
    box-shadow:var(--shadow-lg);
}

.dropdown-item{
    border-radius:12px;
    padding:10px 14px;
}

.dropdown-item:hover{
    background:#F5F0FF;
    color:var(--lux-primary);
}

/* =========================================================
   CHART CONTAINER
========================================================= */

.chart-card{
    min-height:420px;
    position:relative;
    overflow:hidden;
}

.chart-wave{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    height:120px;
    background:linear-gradient(90deg,#BDA7FF,#7C4DFF);
    opacity:.18;
    border-radius:100% 100% 0 0;
}

/* =========================================================
   ALERTS
========================================================= */

.alert{
    border:none;
    border-radius:16px;
    padding:16px 18px;
}

.alert-success{
    background:#EAFBF3;
    color:#11995A;
}

.alert-danger{
    background:#FFF0F0;
    color:#D92D20;
}

/* =========================================================
   PROGRESS
========================================================= */

.progress{
    height:10px;
    border-radius:20px;
    background:#F0EAFE;
}

.progress-bar{
    border-radius:20px;
    background:linear-gradient(90deg,#A98BFF,#7C4DFF);
}

/* =========================================================
   BADGES
========================================================= */

.badge{
    border-radius:50px;
    padding:7px 12px;
    font-weight:600;
}

.badge-soft-primary{
    background:#F1EAFF;
    color:#7C4DFF;
}

/* =========================================================
   LOGIN PAGE
========================================================= */

.auth-wrapper{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg,#F7F2FF,#FFFFFF);
}

.auth-card{
    width:100%;
    max-width:480px;
    background:#fff;
    border-radius:28px;
    padding:40px;
    box-shadow:var(--shadow-lg);
}

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

@media(max-width:1199px){

    .sidebar{
        left:-280px;
    }

    .sidebar.show{
        left:0;
    }

    .main-content{
        width:100%;
        margin-left:0;
    }

}

@media(max-width:768px){

    .topbar{
        padding:0 16px;
    }

    .search-box input{
        width:200px;
    }

    .page-content{
        padding:18px;
    }

    .lux-card{
        padding:18px;
    }

}

@media(max-width:576px){

    .search-box{
        display:none;
    }

    .page-header{
        flex-direction:column;
        align-items:flex-start;
        gap:10px;
    }

    .topbar-right{
        gap:8px;
    }

    .topbar-icon{
        width:40px;
        height:40px;
    }

}

/* =========================================
SCHOOL HEADER
========================================= */
.school-header {
    background: #E6E6FA;
    background: linear-gradient(90deg, rgba(230, 230, 250, 1) 0%, rgba(230, 230, 250, 1) 53%, rgba(247, 242, 255, 1) 100%);
    padding: 14px 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    
    /* Sticky Fixes */
    position: sticky;
    top: 0;
    z-index: 1000; /* Keeps header above page content */
    width: 100%;   /* Ensures it spans full width */
    box-sizing: border-box; /* Prevents padding from breaking width */
}

.school-main-info{
    width: 100%;
}

.school-content{
    width: 100%;
}

.school-title{
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    line-height: 1.3;
}

.school-badge{
    display: inline-flex;
    align-items: center;
    gap: 6px;

    background: #f3f4f6;
    padding: 7px 14px;
    border-radius: 30px;

    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.school-badge i{
    color: #6f42c1;
}

/* MOBILE */
@media(max-width:768px){

    .school-content{
        gap: 10px !important;
    }

    .school-title{
        width: 100%;
        font-size: 20px;
    }

    .school-badge{
        font-size: 13px;
        padding: 6px 12px;
    }

}
/* Datatable */

    /* Search Box */
    div.dataTables_filter input {
        border-radius: 10px;
        padding: 8px 12px;
        border: 1px solid #dcdcdc;
        min-width: 250px;
    }

    /* Length Dropdown */
    div.dataTables_length select {
        border-radius: 10px;
        border: 1px solid #dcdcdc;
        padding: 5px 30px 5px 10px;
    }

    /* Export Buttons */
    .dt-buttons .btn {
        margin-right: 5px;
        border-radius: 8px;
    }

    /* Pagination */
    .dataTables_paginate .pagination {
        justify-content: end;
    }

    .page-link {
        border-radius: 8px !important;
        margin: 0 2px;
    }

    /* Table */
   table.dataTable thead{
    background:linear-gradient(135deg,#0f172a,#1e293b);
}

table.dataTable thead th{
    white-space:nowrap;
    vertical-align:middle;
    padding:15px 14px !important;
    font-size:13px;
    font-weight:600;
    color:#301934 !important;
    border:none !important;
    text-transform:uppercase;
    letter-spacing:.4px;
    position:relative;
}

    table.dataTable tbody td {
        vertical-align: middle;
       
    padding:14px !important;
    font-size:14px;
    color:#334155;
    }
    .dt-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.dataTables_filter {
    text-align: right !important;
}

.dataTables_length {
    text-align: left !important;
}

/* =====================================
   ROW HOVER EFFECT
===================================== */

.reorder-row {
    transition: all 0.2s ease;
}

.reorder-row:hover {
    background: #f8fbff;
}

/* =====================================
   DRAG HANDLE
===================================== */

.drag-handle {
    opacity: 0;
    transition: 0.2s ease;
    cursor: move;
    font-size: 16px;
}

.reorder-row:hover .drag-handle {
    opacity: 1;
}

/* =====================================
   ACTION BUTTONS HIDE/SHOW
===================================== */

.action-buttons {
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.2s ease;
    display: flex;
    justify-content: center;
}

.reorder-row:hover .action-buttons {
    opacity: 1;
    transform: translateX(0);
}

/* =====================================
   BUTTON STYLE
===================================== */

.action-buttons .btn {
    border-radius: 10px;
}
.drag-handle{
    cursor: move;
    font-size: 18px;
}

#sortableTable tr{
    transition: 0.2s ease;
}

#sortableTable tr:hover{
    background: #f8fbff;
}

@media(max-width:768px){

    .dataTables_filter,
    .dataTables_length,
    .dt-buttons{
        text-align:center !important;
        justify-content:center !important;
        margin-bottom:10px;
    }

}

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

.dashboard-header{
    margin-bottom:25px;
}

.dashboard-date-box{
    background:#fff;
    border-radius:14px;
    padding:12px 18px;
    font-weight:600;
    box-shadow:0 3px 15px rgba(0,0,0,0.05);
}

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

.dashboard-stat-card{
    position:relative;
    overflow:hidden;
    border-radius:22px;
    padding:24px;
    background:#fff;
    box-shadow:0 5px 20px rgba(15,23,42,0.05);
    display:flex;
    align-items:center;
    gap:18px;
    min-height:130px;
    transition:.3s ease;
}

.dashboard-stat-card:hover{
    transform:translateY(-4px);
}

.stat-icon{
    width:68px;
    height:68px;
    border-radius:18px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    color:#fff;
}

.students-card .stat-icon{
    background:#2563eb;
}

.teachers-card .stat-icon{
    background:#059669;
}

.revenue-card .stat-icon{
    background:#d97706;
}

.attendance-card .stat-icon{
    background:#7c3aed;
}

.stat-content small{
    color:#64748b;
    font-size:13px;
    display:block;
    margin-bottom:6px;
}

.stat-content h3{
    font-size:30px;
    font-weight:700;
    margin-bottom:6px;
    color:#0f172a;
}

.growth-text{
    font-size:13px;
    color:#16a34a;
    font-weight:600;
}

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

.dashboard-box{
    background:#fff;
    border-radius:22px;
    overflow:hidden;
    box-shadow:0 5px 20px rgba(15,23,42,0.05);
    height:100%;
}

.dashboard-box-header{
    padding:18px 22px;
    border-bottom:1px solid #eef2f7;
}

.dashboard-box-header h5{
    margin:0;
    font-size:16px;
    font-weight:700;
    color:#0f172a;
}

.dashboard-box-body{
    padding:22px;
}

/* =========================================
SCHOOL PROFILE
========================================= */

.school-profile-box{
    display:flex;
    align-items:center;
    gap:16px;
    margin-bottom:20px;
}

.school-logo{
    width:70px;
    height:70px;
    border-radius:18px;
    background:#f1f5f9;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    font-size:30px;
    color:#2563eb;
}

.school-logo img{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* =========================================
INFO LIST
========================================= */

.info-list{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.info-item{
    display:flex;
    justify-content:space-between;
    align-items:center;
    border-bottom:1px dashed #e2e8f0;
    padding-bottom:10px;
    font-size:14px;
}

.info-item:last-child{
    border-bottom:none;
}

/* =========================================
QUICK ACTIONS
========================================= */

.quick-action-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:14px;
}

.quick-action-btn{
    background:#f8fafc;
    border-radius:16px;
    padding:20px;
    text-align:center;
    text-decoration:none;
    transition:.3s ease;
    border:1px solid #eef2f7;
}

.quick-action-btn:hover{
    background:#2563eb;
    color:#fff;
    transform:translateY(-3px);
}

.quick-action-btn i{
    font-size:24px;
    display:block;
    margin-bottom:10px;
}

.quick-action-btn span{
    font-size:14px;
    font-weight:600;
}

/* =========================================
USER PROFILE
========================================= */

.user-profile-box{
    text-align:center;
}

.user-avatar{
    width:90px;
    height:90px;
    margin:auto;
    border-radius:50%;
    overflow:hidden;
    background:#f1f5f9;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:34px;
    color:#2563eb;
}

.user-avatar img{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* =========================================
ACTIVITY
========================================= */

.activity-item{
    display:flex;
    align-items:center;
    gap:14px;
    padding:14px 0;
    border-bottom:1px solid #eef2f7;
}

.activity-icon{
    width:42px;
    height:42px;
    border-radius:12px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
}

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

@media(max-width:768px){

    .dashboard-stat-card{
        padding:18px;
    }

    .stat-content h3{
        font-size:24px;
    }

    .quick-action-grid{
        grid-template-columns:repeat(2,1fr);
    }

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

.dashboard-table{
    width:100%;
}

.dashboard-table thead{
    background:#f8fafc;
}

.dashboard-table thead th{
    font-size:13px;
    font-weight:700;
    color:#475569;
    padding:14px 18px;
    border-bottom:1px solid #e2e8f0;
}

.dashboard-table tbody td{
    padding:14px 18px;
    border-bottom:1px solid #f1f5f9;
    font-size:14px;
    vertical-align:middle;
}

.dashboard-table tbody tr:last-child td{
    border-bottom:none;
}

.dashboard-table tbody tr:hover{
    background:#f8fafc;
}

/* =========================================
STUDENT COUNT BADGE
========================================= */

.student-count-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:42px;
    height:32px;
    border-radius:50px;
    background:#2563eb;
    color:#fff;
    font-size:13px;
    font-weight:700;
    padding:0 12px;
}
