
/* ===========================
   GENERAL
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Segoe UI',sans-serif;
    background:linear-gradient(135deg, #0F172A 40%, #f8fafc 45%, #041c2d 100%);
    color:#333;
}

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

.sidebar{

    position:fixed;

    top:0;
    left:0;

    width:250px;
    height:100vh;

    background:#0f172a;

    color:white;

    display:flex;

    flex-direction:column;

    justify-content:space-between;

    overflow-y:auto;

}

.logo{

    padding:22px;

    font-size:24px;

    font-weight:bold;

    text-align:center;

    background:#1e293b;

}

.logo i{

    color:#38bdf8;

    margin-right:8px;

}

.sidebar-menu{

    list-style:none;

    padding:15px;

}

.sidebar-menu li a{

    display:flex;

    align-items:center;

    gap:14px;

    color:#cbd5e1;

    padding:14px 18px;

    border-radius:14px;

    text-decoration:none;

    transition:.3s;

    margin:6px 12px;

}

.sidebar-menu li a:hover{

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

    color:white;

    transform:translateX(6px);

}

.sidebar-menu li a.active{

    background:linear-gradient(135deg,#2563EB,#3B82F6);

    color:white;

    box-shadow:0 10px 25px rgba(37,99,235,.35);

}

.sidebar-menu i{

    width:25px;

}

/* Sidebar Section Titles */

.menu-title{

    color:#6B7280;

    font-size:11px;

    letter-spacing:2px;

    margin:22px 20px 10px;

    text-transform:uppercase;

    font-weight:700;

}

/* Better Hover */

.sidebar-menu a{

    display:flex;

    align-items:center;

    gap:12px;

    color:#e2e8f0;

    text-decoration:none;

    padding:12px 15px;

    border-radius:10px;

    transition:.3s;

}

.sidebar-menu a:hover{

    background:#2563eb;

    color:white;

    transform:translateX(5px);

    box-shadow:0 4px 10px rgba(37,99,235,.30);

}

.sidebar-menu i{

    font-size:18px;

    width:22px;

}
/* ===========================
   FOOTER OF SIDEBAR
=========================== */

.sidebar-footer{

    padding:20px;

    border-top:1px solid rgba(255,255,255,.15);

}

.admin-info{

    margin-bottom:15px;

    font-weight:600;

}

.logout-btn{

    display:block;

    text-align:center;

    background:#dc3545;

    color:white;

    padding:10px;

    border-radius:8px;

    text-decoration:none;

}

.logout-btn:hover{

    background:#bb2d3b;

}

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

.main-content{

    margin-left:260px;

    min-height:100vh;

    padding:30px;

    background:linear-gradient(135deg, #0b132b 0%, #1c4ed8 55%, #CCCCCC 100%);

    transition:.3s;

}


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

.card{

    box-shadow:0 5px 15px rgba(0,0,0,.08);

    background:#fff;

    border:none;

    border-radius:20px;

    box-shadow:0 10px 25px rgba(0,0,0,.15);
}

.card-header{

    border-radius:15px 15px 0 0 !important;

}

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

.table{

    vertical-align:middle;

    background:#ffffff00;

    border-radius: 25px;
    
    overflow: hidden;

    border-top: none;

    border-color: transparent;
}

.table thead{

    background:#0f172a;

    color:white;

}

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

.btn{

    border-radius:8px;

}

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

.footer{

    margin-left:250px;

    background:#ffffff;

    border-top:1px solid #ddd;

    padding:15px 30px;

}

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

@media(max-width:992px){

.sidebar{

    position:fixed;

    left:0;

    top:0;

    width:260px;

    height:100vh;

    z-index:1000;

}

.main-content{

    margin-left:220px;

}

.footer{

    margin-left:220px;

}

}

@media(max-width:768px){

.sidebar{

    position:relative;

    width:100%;

    height:auto;

}

.main-content{

    margin-left:0;

}

.footer{

    margin-left:0;

}

}
/* Active Sidebar Item */

.sidebar-menu a.active{

    background:linear-gradient(90deg,#2563eb,#3b82f6);

    color:#fff;

    font-weight:600;

    box-shadow:0 5px 15px rgba(37,99,235,.35);

}

.sidebar-menu a.active i{

    color:#fff;

}

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

.sidebar{

    transition:.3s;

}

.main-content{

    transition:.3s;

}

.footer{

    transition:.3s;

}

.sidebar.collapsed{

    width:80px;

}

.sidebar.collapsed .logo span{

    display:none;

}

.sidebar.collapsed .menu-title{

    display:none;

}

.sidebar.collapsed .sidebar-menu a{

    justify-content:center;

}

.sidebar.collapsed .sidebar-menu a span{

    display:none;

}

.sidebar.collapsed .sidebar-menu i{

    font-size:22px;

    margin:0;

}

.sidebar.collapsed .admin-info{

    display:none;

}

.sidebar.collapsed .logout-btn{

    font-size:0;

}

.sidebar.collapsed .logout-btn i{

    font-size:22px;

}

.sidebar.collapsed + .main-content{

    margin-left:80px;

}

.sidebar.collapsed ~ .footer{

    margin-left:80px;

}

.hero{

padding:150px 0 120px;

background:linear-gradient(135deg,#1e3a8a,#2563eb);

color:white;

}

.hero h1{

font-size:52px;

font-weight:700;

margin-bottom:25px;

}

.hero p{

font-size:20px;

line-height:1.8;

margin-bottom:35px;

opacity:.95;

}

.navbar{

background:#0f172a;

}

.navbar-brand{

font-size:28px;

}

.nav-link{

color:white !important;

margin-left:18px;

}

.nav-link:hover{

color:#fbbf24 !important;

}

.feature-card{

transition:.35s;

border-radius:15px;

}

.feature-card:hover{

transform:translateY(-10px);

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

}

.feature-icon{

font-size:55px;

color:#2563eb;

}

.feature-card h4{

font-weight:700;

}

.stat-card{

background:white;

padding:30px 15px;

text-align:center;

border-radius:15px;

box-shadow:0 10px 25px rgba(0,0,0,.08);

transition:.35s;

height:100%;

}

.stat-card:hover{

transform:translateY(-8px);

box-shadow:0 20px 35px rgba(0,0,0,.15);

}

.stat-card i{

font-size:45px;

color:#2563eb;

margin-bottom:15px;

display:block;

}

.stat-card h2{

font-weight:700;

color:#0f172a;

margin-bottom:10px;

}

.stat-card p{

margin:0;

font-weight:600;

color:#6b7280;

}

.module-card{

border:none;

border-radius:18px;

box-shadow:0 10px 25px rgba(0,0,0,.08);

transition:.35s;

}

.module-card:hover{

transform:translateY(-10px);

box-shadow:0 18px 35px rgba(0,0,0,.15);

}

.module-icon{

font-size:60px;

color:#2563eb;

}

.module-card ul li{

padding:10px 0;

font-size:16px;

}

.workflow-card{

background:#fff;

padding:25px 15px;

border-radius:18px;

box-shadow:0 10px 25px rgba(0,0,0,.08);

height:100%;

transition:.35s;

position:relative;

}

.workflow-card:hover{

transform:translateY(-10px);

box-shadow:0 18px 35px rgba(0,0,0,.15);

}

.step-circle{

width:38px;

height:38px;

background:#2563eb;

color:#fff;

border-radius:50%;

margin:auto;

display:flex;

align-items:center;

justify-content:center;

font-weight:bold;

margin-bottom:15px;

}

.workflow-icon{

font-size:45px;

color:#2563eb;

margin-bottom:15px;

display:block;

}

.benefit-card{

background:#fff;

padding:30px 20px;

text-align:center;

border-radius:18px;

box-shadow:0 10px 25px rgba(0,0,0,.08);

transition:.35s;

height:100%;

}

.benefit-card:hover{

transform:translateY(-10px);

box-shadow:0 20px 35px rgba(0,0,0,.15);

}

.benefit-icon{

font-size:55px;

color:#2563eb;

margin-bottom:20px;

display:block;

}

.footer-section{

background:#0f172a;

color:white;

padding:60px 0 30px;

}

.footer-section h5{

margin-bottom:20px;

font-weight:600;

}

.footer-section a{

color:#cbd5e1;

text-decoration:none;

display:block;

margin-bottom:10px;

transition:.3s;

}

.footer-section a:hover{

color:#38bdf8;

padding-left:6px;

}

.footer-section hr{

border-color:rgba(255,255,255,.15);

margin:35px 0;

}



/* ===== Dashboard Cards ===== */

.dashboard-card{

    border:none !important;

    border-radius:22px;

    overflow:hidden;

    transition:.35s;

    box-shadow:0 12px 30px rgba(0,0,0,.15);

    background:none;

}
.dashboard-card:hover{

    transform:translateY(-10px);

    box-shadow:
        0 20px 40px rgba(0,0,0,.18);

}

.dashboard-card .card-body{

    padding:28px;

}

.dashboard-card small{

    letter-spacing:1px;

    font-size:13px;

}

.dashboard-card h2{
    font-size:48px;
    font-weight:700;
    margin-top:10px;
}

.dashboard-card i{
    font-size:52px;
    opacity:.25;
    transition:.3s;
}

.dashboard-card:hover i{
    opacity:.9;
    transform:scale(1.1);
}

.dashboard-card{

    position:relative;

    overflow:hidden;

}

.dashboard-card::before{

    content:"";

    position:absolute;

    width:140px;

    height:140px;

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

    border-radius:50%;

    top:-50px;

    right:-40px;

}

.dashboard-card::after{

    content:"";

    position:absolute;

    width:70px;

    height:70px;

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

    border-radius:50%;

    bottom:-20px;

    right:20px;

}

/* Card Colors */

.students-card{
    background:linear-gradient(135deg,#2563EB,#3B82F6) !important;
    color:#fff !important;
}



.computer-card{
    background:linear-gradient(135deg,#111827,#374151) !important;
    color:#fff !important;
}

.booking-card{
    background:linear-gradient(135deg,#F59E0B,#FBBF24) !important;
    color:#111827 !important;
}

.issue-card{
    background:linear-gradient(135deg,#DC2626,#EF4444) !important;
    color:#fff !important;
}

.available-card{
    background:linear-gradient(135deg,#06B6D4,#0891B2) !important;
    color:#fff !important;
}

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

.quick-header{

    background:#111827;

    color:white;

    font-size:20px;

    font-weight:600;

    padding:16px 25px;

}

.quick-card{

    border-radius:22px;

    padding:30px;

    text-align:center;

    color:white;

    transition:.35s;

    cursor:pointer;

    box-shadow:0 10px 25px rgba(0,0,0,.15);

}

.quick-card:hover{

    transform:translateY(-8px);

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

}

.quick-icon{

    width:75px;

    height:75px;

    border-radius:50%;

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

    display:flex;

    justify-content:center;

    align-items:center;

    margin:auto;

    margin-bottom:18px;

}

.quick-icon i{

    font-size:34px;

}

.quick-card h5{

    margin:0;

    font-weight:600;

}

.quick-blue{

background:linear-gradient(135deg,#2563EB,#3B82F6);

}

.quick-green{

background:linear-gradient(135deg,#10B981,#22C55E);

}

.quick-dark{

background:linear-gradient(135deg,#111827,#374151);

}

.quick-purple{

background:linear-gradient(135deg,#7C3AED,#8B5CF6);

}

.quick-orange{

background:linear-gradient(135deg,#F59E0B,#FBBF24);

}

.quick-red{

background:linear-gradient(135deg,#DC2626,#EF4444);

}

.quick-cyan{

background:linear-gradient(135deg,#0891B2,#06B6D4);

}

.quick-pink{

background:linear-gradient(135deg,#DB2777,#EC4899);

}

.icon-blue{

    background:#DBEAFE;

    color:#2563EB;

}

.icon-green{

    background:#DCFCE7;

    color:#16A34A;

}

.icon-red{

    background:#FEE2E2;

    color:#DC2626;

}

.icon-yellow{

    background:#FEF3C7;

    color:#D97706;

}

.icon-cyan{

    background:#CFFAFE;

    color:#0891B2;

}

.icon-purple{

    background:#EDE9FE;

    color:#7C3AED;

}

.quick-card h5{

    font-weight:700;

    color:#cdd2da;

    margin-bottom:8px;

}

.quick-card p{

    color:#6B7280;

    font-size:14px;

    margin-bottom:0;

}

.quick-card:hover .quick-icon{

transform:rotate(8deg) scale(1.15);

transition:.3s;

}

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

.topbar{

    display:flex;

    justify-content:space-between;

    align-items:center;

    background:#fff;

    padding:22px 28px;

    border-radius:22px;

    box-shadow:0 12px 30px rgba(0,0,0,.08);

    margin-bottom:30px;

}

.topbar-left{

    display:flex;

    align-items:center;

    gap:20px;

}

.page-info h3{

    margin:0;

    font-size:30px;

    font-weight:700;

}

.page-info small{

    color:#6b7280;

}

.topbar-right{

    display:flex;

    align-items:center;

    gap:18px;

}

.search-box{

    width:260px;

    display:flex;

    align-items:center;

    gap:10px;

    padding:12px 18px;

    border-radius:15px;

    background:#f4f7fb;

}

.search-box input{

    border:none;

    background:transparent;

    width:100%;

    outline:none;

}

.notification-btn{

    width:50px;

    height:50px;

    border-radius:50%;

    border:none;

    background:#f4f7fb;

    position:relative;

}

.notification-btn span{

    position:absolute;

    top:-2px;

    right:-2px;

    width:20px;

    height:20px;

    border-radius:50%;

    background:#ef4444;

    color:white;

    font-size:11px;

    display:flex;

    align-items:center;

    justify-content:center;

}

.profile-avatar{

    width:52px;

    height:52px;

    border-radius:50%;

    background:linear-gradient(135deg,#2563EB,#3B82F6);

    color:white;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:22px;

    font-weight:700;

}

.menu-btn{

    width:52px;

    height:52px;

    border:none;

    border-radius:16px;

    background:#F1F5F9;

    font-size:24px;

    transition:.3s;

}

.menu-btn:hover{

    background:#2563EB;

    color:#fff;

}

.page-title{

    font-size:32px;

    font-weight:700;

    color:#1F2937;

}

.page-subtitle{

    color:#6B7280;

}



.current-date{

    color:#6B7280;

    font-weight:500;

}

.notification-btn{

    width:52px;

    height:52px;

    background:#F8FAFC;

    border-radius:16px;

    display:flex;

    justify-content:center;

    align-items:center;

    position:relative;

    cursor:pointer;

    transition:.3s;

}

.notification-btn:hover{

    background:#2563EB;

    color:#fff;

}

.notification-count{

    position:absolute;

    top:-5px;

    right:-5px;

    background:#EF4444;

    color:#fff;

    width:22px;

    height:22px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:12px;

    font-weight:700;

}

.admin-profile{

    display:flex;

    align-items:center;

    gap:12px;

}

.profile-avatar{

    width:50px;

    height:50px;

    border-radius:50%;

    background:linear-gradient(135deg,#2563EB,#3B82F6);

    display:flex;

    justify-content:center;

    align-items:center;

    color:#fff;

    font-size:24px;

    box-shadow:0 10px 20px rgba(37,99,235,.25);

}

@media(max-width:992px){

.topbar{

    flex-direction:column;

    gap:20px;

    align-items:flex-start;

}

.topbar-right{

    width:100%;

    justify-content:space-between;

}

}

.welcome-card{

    position:relative;

    overflow:hidden;

}

.welcome-card::before{

    content:"";

    position:absolute;

    width:260px;

    height:260px;

    border-radius:50%;

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

    top:-100px;

    right:-80px;

}

.welcome-card::after{

    content:"";

    position:absolute;

    width:120px;

    height:120px;

    border-radius:50%;

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

    bottom:-30px;

    right:50px;

}

.dashboard-icon{
    width:70px;
    height:70px;
    border-radius:50%;
    background:rgba(255,255,255,.15);
    display:flex;
    justify-content:center;
    align-items:center;
}

.dashboard-icon i{
    font-size:34px;
    color:white;
}

.booking-card .dashboard-icon i{
    color:#1f2937;
}

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

.dashboard-card::before{
    content:"";
    position:absolute;
    top:-40px;
    right:-40px;
    width:140px;
    height:140px;
    border-radius:50%;
    background:rgba(255,255,255,.08);
}

.dashboard-card small{
    opacity:.85;
    font-weight:600;
}

.dashboard-card h2{
    font-size:42px;
    font-weight:700;
    margin-top:8px;
}

/* ===========================
   Dashboard Charts
=========================== */

.chart-card{

    background:#fff;

    border-radius:24px;

    box-shadow:0 15px 35px rgba(0,0,0,.10);

    overflow:hidden;

    transition:.3s;

}

.chart-card:hover{

    transform:translateY(-6px);

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

}

.chart-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:25px 30px;

    border-bottom:1px solid #edf2f7;

}

.chart-header h5{

    margin:0;

    font-weight:700;

}

.chart-header small{

    color:#6b7280;

}

.chart-body{

    padding:30px;

}

.chart-icon{

    width:55px;

    height:55px;

    border-radius:15px;

    display:flex;

    justify-content:center;

    align-items:center;

    color:white;

    font-size:24px;

}

.chart-body canvas{

    height:320px !important;

}

/* Modern Tables */

.modern-table-card{

    background:#fff;

    border-radius:22px;

    overflow:hidden;

    box-shadow:0 15px 35px rgba(0,0,0,.10);

}

.modern-table-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:24px 28px;

    border-bottom:1px solid #ececec;

}

.modern-table-header h4{

    margin:0;

    font-weight:700;

}

.modern-table-header small{

    color:#6b7280;

}

.modern-table th{

    background:#f8fafc;

    border:none;

    font-size:14px;

    text-transform:uppercase;

    color:#6b7280;

}

.modern-table td{

    padding:18px;

    vertical-align:middle;

}

.modern-table tbody tr{

    transition:.25s;

}

.modern-table tbody tr:hover{

    background:#f4f8ff;

}

.status-badge{

    padding:8px 16px;

    border-radius:30px;

    font-size:13px;

    font-weight:600;

}

.pending{

    background:#FEF3C7;

    color:#92400E;

}

.resolved{

    background:#DCFCE7;

    color:#166534;

}

.modern-table tbody tr{

    transition:.25s;

}

.modern-table tbody tr:hover{

    transform:scale(1.01);

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

}

.sidebar-menu li a i{

    width:22px;

    font-size:18px;

    transition:.3s;

}

.sidebar-menu li a:hover i{

    transform:rotate(-8deg) scale(1.15);

}

.logout-btn{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    padding:12px;

    border-radius:14px;

    background:#ef4444;

    color:white;

    text-decoration:none;

    transition:.3s;

}

.logout-btn:hover{

    background:#dc2626;

    transform:translateY(-2px);

}

.sidebar::-webkit-scrollbar{

    width:6px;

}

.sidebar::-webkit-scrollbar-thumb{

    background:#3b82f6;

    border-radius:20px;

}

.sidebar::-webkit-scrollbar-track{

    background:transparent;

}

.logo{

    display:flex;

    align-items:center;

    gap:15px;

    padding:28px 22px;

}

.logo-icon{

    width:52px;

    height:52px;

    border-radius:16px;

    display:flex;

    justify-content:center;

    align-items:center;

    background:linear-gradient(135deg,#2563EB,#3B82F6);

    color:white;

    font-size:24px;

}

.dashboard-bg{

    position:relative;

    border-radius:25px;

    overflow:hidden;

    padding:20px;

}

.dashboard-bg::before{

    content:"";

    position:absolute;

    inset:0;

    background:url("../images/bg.png") center/cover no-repeat;

    opacity:.5;

    z-index:0;

}

.dashboard-bg>*{

    position:relative;

    z-index:1;

}

label{

    font-weight:600;

    color:#67a048;

}


.students-search-form{
    display:flex;
    gap:12px;
}

.students-search-input{
    position:relative;
    flex:1;
}

.students-search-input > i{
    position:absolute;
    z-index:1;
    top:50%;
    left:15px;
    color:#9293a5;
    transform:translateY(-50%);
}

.students-search-input .form-control{
    min-height:48px;
    padding:11px 14px 11px 42px;
    border:1px solid #e5e5ef;
    border-radius:12px;
    background:#fbfbfe;
    color:#27243d;
}

.students-search-input .form-control:focus{
    border-color:#8a73ec;
    background:#fff;
    box-shadow:0 0 0 .2rem rgba(111,82,220,.13);
}

.students-search-button{
    display:inline-flex;
    min-width:126px;
    align-items:center;
    justify-content:center;
    gap:9px;
    border:0;
    border-radius:12px;
    background:#6046cf;
    color:#fff;
    font-weight:700;
}

.students-search-button:hover,
.students-search-button:focus{background:#4f36bb;color:#fff}

.students-table-heading{
    justify-content:space-between;
    padding:21px 24px;
}

.students-total{
    display:inline-flex;
    align-items:center;
    gap:7px;
    padding:8px 11px;
    border-radius:999px;
    background:#f3f1ff;
    color:#5e48c4;
    font-size:.78rem;
    font-weight:700;
    white-space:nowrap;
}

.students-table-wrap{border-top:1px solid #eeeef4}

.students-table{
    min-width:650px;
    margin:0;
    color:#56576c;
    
}

.students-table thead th{
    padding:14px 20px;
    border: 0;
    background:#f8f7fc;
    color:#77778e;
    font-size:.72rem;
    font-weight:800;
    letter-spacing:.07em;
    text-transform:uppercase;
    white-space:nowrap;
}

.students-table tbody td{
    padding:15px 20px;
    border-color:#f0eff5;
    vertical-align:middle;
    font-size:.88rem;
}

.students-table tbody tr:last-child td{border-bottom:0}
.students-table tbody tr:hover{background:#fbfaff}

.student-id{
    color:#85859b;
    font-size:.82rem;
    font-weight:700;
}

.student-name{
    display:inline-flex;
    align-items:center;
    gap:10px;
    color:#29263f;
    font-weight:700;
}

.student-avatar{
    display:grid;
    width:34px;
    height:34px;
    flex:0 0 34px;
    place-items:center;
    border-radius:11px;
    background:#efedff;
    color:#624bd0;
}

.student-actions{display:flex;justify-content:flex-end;gap:8px}

.student-action-btn{
    display:inline-grid;
    width:35px;
    height:35px;
    place-items:center;
    border:1px solid transparent;
    border-radius:10px;
}

.student-edit-btn{border-color:#f1dfae;background:#fff9e8;color:#a87610}
.student-edit-btn:hover{border-color:#edcf78;background:#fff2cf;color:#805600}
.student-delete-btn{border-color:#f3d0d5;background:#fff1f2;color:#c44352}
.student-delete-btn:hover{border-color:#edaeb7;background:#ffe2e5;color:#a92d3c}

@media(max-width:767.98px){
    .students-page{padding-top:0}
    .students-search-card{padding:18px}
    .students-search-form{flex-direction:column}
    .students-search-button{min-height:46px}
    .students-table-heading{align-items:flex-start;padding:18px}
}

@media(max-width:420px){
    .students-heading-icon{width:48px;height:48px;flex-basis:48px;border-radius:15px}
    .students-total{padding:7px 9px;font-size:.72rem}
    .students-table-heading p{max-width:210px}
}

.faculty-add-button{
    display:inline-flex;
    min-height:46px;
    align-items:center;
    justify-content:center;
    gap:9px;
    padding:10px 17px;
    border:1px solid rgba(255,255,255,.22);
    border-radius:12px;
    background:#fff;
    color:#5139bf;
    font-weight:750;
    box-shadow:0 8px 20px rgba(8,7,35,.14);
}

.faculty-add-button:hover,
.faculty-add-button:focus{
    border-color:#fff;
    background:#f2efff;
    color:#3f2ba5;
}

/* ===========================
   STUDENT ISSUE MANAGEMENT
=========================== */

.main-content:has(.issues-page){background:#231b4b}

.issues-table{
    min-width:920px;
    margin:0;
    color:#56576c;
    vertical-align:middle;
}

.issues-table thead th{
    padding:14px 17px;
    border:0;
    background:#f8f7fc;
    color:#77778e;
    font-size:.72rem;
    font-weight:800;
    letter-spacing:.07em;
    text-transform:uppercase;
    white-space:nowrap;
}

.issues-table tbody td{
    padding:15px 17px;
    border-color:#f0eff5;
    font-size:.86rem;
}

.issues-table tbody tr:last-child td{border-bottom:0}
.issues-table tbody tr:hover{background:#fbfaff}

.issue-computer{
    display:inline-flex;
    align-items:center;
    gap:9px;
    color:#57566e;
    white-space:nowrap;
}

.issue-computer > i{color:#6650cb;font-size:1.05rem}

.issue-description-cell{max-width:360px}
.issue-description-cell strong{display:block;color:#29263f;font-weight:750}
.issue-description-cell small{
    display:-webkit-box;
    overflow:hidden;
    margin-top:4px;
    color:#85869a;
    line-height:1.45;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
}

.issue-status{
    padding:7px 10px;
    border:1px solid transparent;
    border-radius:999px;
    font-size:.73rem;
    font-weight:750;
}

.issue-status-warning{border-color:#f4dfaa;background:#fff6dc!important;color:#946800}
.issue-status-primary{border-color:#cddcff;background:#edf3ff!important;color:#3159ae}
.issue-status-success{border-color:#bde8d0;background:#e9fbf1!important;color:#20734a}

.issue-update-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    padding:8px 12px;
    border:1px solid #dcd5ff;
    border-radius:10px;
    background:#f4f1ff;
    color:#5b43c4;
    font-size:.8rem;
    font-weight:750;
    white-space:nowrap;
}

.issue-update-button:hover,
.issue-update-button:focus{border-color:#c9bfff;background:#eae5ff;color:#4630ad}

.faculty-issues-table{min-width:900px}
.faculty-issue-type{color:#29263f;font-weight:750}

table,
.table,
.table-responsive,
.table thead,
.table thead tr {
    border-top: 0 !important;
    box-shadow: none !important;
}

.table-responsive::before,
.table::before,
.table thead::before {
    content: none !important;
    display: none !important;
}

.sidebar-mini-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-right: 12px;
}

.brand {
    display: flex;
    align-items: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.35rem;
    font-weight: 800;
}

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    width: 265px;
    min-height: 100vh;
    overflow: hidden;
    background: linear-gradient(180deg, #101a30 0%, #17284a 52%, #0e1930 100%);
    box-shadow: 8px 0 30px rgba(9, 20, 47, 0.14);
}

.sidebar-brand {
    padding: 25px 21px 21px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #fff;
    text-decoration: none;
}

.brand-logo {
    display: grid;
    width: 39px;
    height: 39px;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(145deg, #ffffff2e, #ffffff0d);
}

.brand-logo img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.brand-name {
    font-size: 1.28rem;
    font-weight: 850;
    letter-spacing: -0.04em;
}

.sidebar-scroll {
    flex: 1;
    padding: 18px 13px;
    overflow-y: auto;
}

.sidebar-scroll::-webkit-scrollbar {
    width: 4px;
}

.sidebar-scroll::-webkit-scrollbar-thumb {
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.24);
}

.menu-title {
    margin: 19px 11px 8px;
    color: #8fa4c8;
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.menu-title:first-child {
    margin-top: 2px;
}

.sidebar-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 11px 13px;
    margin-bottom: 3px;
    overflow: hidden;
    border-radius: 11px;
    color: #c5d1e8;
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none;
    transition: 0.22s ease;
}

.sidebar-link i {
    width: 21px;
    color: #9db2d5;
    font-size: 1.08rem;
    text-align: center;
    transition: 0.22s ease;
}

.sidebar-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(3px);
}

.sidebar-link:hover i {
    color: #75b7ff;
}

.sidebar-link.active {
    color: #fff;
    background: linear-gradient(100deg, #2768e9, #4b76ec);
    box-shadow: 0 8px 17px rgba(27, 91, 229, 0.32);
}

.sidebar-link.active::before {
    position: absolute;
    top: 28%;
    left: 0;
    width: 3px;
    height: 44%;
    border-radius: 0 5px 5px 0;
    background: #ffd25c;
    content: "";
}

.sidebar-link.active i {
    color: #fff;
}

.sidebar-footer {
    padding: 16px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(4, 13, 31, 0.22);
}

.admin-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 8px 14px;
    color: #fff;
}

.admin-avatar {
    display: grid;
    width: 35px;
    height: 35px;
    place-items: center;
    border: 2px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    background: linear-gradient(135deg, #f8c44c, #f18048);
    color: #17284a;
    font-size: 0.8rem;
    font-weight: 900;
}

.admin-profile small,
.admin-profile strong {
    display: block;
}

.admin-profile small {
    color: #91a5c7;
    font-size: 0.67rem;
}

.admin-profile strong {
    max-width: 165px;
    overflow: hidden;
    color: #fff;
    font-size: 0.77rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 10px;
    border: 1px solid rgba(255, 125, 125, 0.2);
    border-radius: 10px;
    color: #ffacae;
    font-size: 0.8rem;
    font-weight: 800;
    text-decoration: none;
    transition: 0.22s ease;
}

.logout-btn:hover {
    border-color: #ff777d;
    background: rgba(245, 83, 92, 0.15);
    color: #fff;
}

@media (max-width: 991px) {
    .sidebar {
        width: 76px;
    }

    .brand-name,
    .menu-title,
    .sidebar-link span,
    .admin-profile > div,
    .logout-btn span {
        display: none;
    }

    .sidebar-brand {
        display: flex;
        justify-content: center;
        padding: 19px 10px;
    }

    .brand-logo {
        width: 40px;
    }

    .sidebar-scroll {
        padding: 14px 10px;
    }

    .sidebar-link {
        justify-content: center;
        padding: 12px;
    }

    .sidebar-link i {
        width: auto;
    }

    .sidebar-footer {
        padding: 13px 10px;
    }

    .admin-profile {
        justify-content: center;
        padding: 3px 0 12px;
    }

    .logout-btn {
        padding: 11px;
    }
}

/* Collapsed admin sidebar: an 80px icon rail with labels hidden. */
.sidebar {
    transition: width 0.25s ease, flex-basis 0.25s ease;
}

.sidebar.collapsed {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 80px !important;
    min-width: 80px;
    max-width: 80px;
    height: 100vh;
    overflow-x: hidden;
}

.sidebar.collapsed .sidebar-brand,
.sidebar.collapsed .brand {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar.collapsed .brand {
    width: 100%;
    gap: 0;
    padding-inline: 0;
}

.sidebar.collapsed .brand-name,
.sidebar.collapsed .menu-title,
.sidebar.collapsed .sidebar-link > span,
.sidebar.collapsed .admin-profile > div,
.sidebar.collapsed .logout-btn > span {
    display: none !important;
}

.sidebar.collapsed .sidebar-scroll {
    overflow-x: hidden;
}

.sidebar.collapsed .sidebar-link {
    display: flex;
    width: 48px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-inline: auto;
    overflow: hidden;
    padding: 0;
    font-size: 0;
    line-height: 1;
    white-space: nowrap;
}

.sidebar.collapsed .sidebar-link i {
    display: block;
    flex: 0 0 24px;
    width: 24px;
    margin: 0;
    font-size: 21px;
    line-height: 1;
    text-align: center;
}

.sidebar.collapsed .admin-profile {
    justify-content: center;
}

.sidebar.collapsed .admin-avatar {
    margin: 0;
}

.sidebar.collapsed .logout-btn {
    display: flex;
    width: 48px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 12px auto 0;
    overflow: hidden;
    padding: 0;
    font-size: 0;
    line-height: 1;
}

.sidebar.collapsed .logout-btn i {
    margin: 0;
    font-size: 21px;
    line-height: 1;
}

.sidebar.collapsed + .main-content {
    width: calc(100% - 80px);
    margin-left: 80px !important;
    transition: width 0.25s ease, margin-left 0.25s ease;
}

@media (max-width: 768px) {
    .sidebar.collapsed {
        position: fixed;
        height: 100vh;
    }

    .sidebar.collapsed + .main-content {
        margin-left: 80px !important;
    }
}
