     :root{
            --theme-dark:#1f1d17;
            --theme-gold:#d4b341;
            --theme-soft:#f8f9fb;
            --theme-border:#e5e7eb;
        }
        body{
            font-family:'Inter',sans-serif;
            background:var(--theme-soft);
        }
        .sidebar{
            width:270px;
            min-height:100vh;
            position:fixed;
            left:0;
            top:0;
            background:linear-gradient(180deg,#242016 0%,#191711 100%);
            z-index:1040;
        }
	 .main-wrap{
            margin-left:unset; 
        }
        .brand-header{
            background:linear-gradient(90deg,#f1dc89 0%, #d4b341 100%);
        }
        .sidebar .nav-link{
            color:#f3f4f6;
            border-radius:14px;
            padding:12px 14px;
            display:flex;
            align-items:center;
            gap:12px;
            font-weight:500;
        }
        .sidebar .nav-link:hover,
        .sidebar .nav-link.active{
            background:#d4b341;
            color:#1f1d17;
        }
        .sidebar .nav-link i{
            width:20px;
            text-align:center;
        }
        .page-card{
            border:none;
            border-radius:22px;
            box-shadow:0 10px 25px rgba(0,0,0,.05);
        }
        .stat-card{
    border-radius: 22px;
    box-shadow: 0px 0px 15px rgb(0 0 0 / 48%);
    background: #dee2e6 !important;
    border: 2px solid #198754 !important;
        }
        .btn-theme{
            background:#1f1d17;
            color:#fff;
            border:1px solid #d4b341;
        }
        .btn-theme:hover{
            background:#d4b341;
            color:#1f1d17;
        }
        .section-title{
            border-left:6px solid #d4b341;
            padding-left:14px;
            font-weight:800;
        }
        .table thead th{
            background:#1f1d17;
            color:#fff;
            border:none;
            white-space:nowrap;
        }
        .badge-pass{background:#d1fae5;color:#065f46;}
        .badge-fail{background:#fee2e2;color:#991b1b;}
        .badge-apply{background:#fef3c7;color:#92400e;}
        @media (max-width: 991.98px){
            .sidebar{display:none;}
            .main-wrap{margin-left:0;}
        }  
        
.confirmed-wrap {
    padding: 24px;
}

.confirmed-card {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid #eef1f4;
    overflow: hidden;
}

.confirmed-title {
    font-size: 1.9rem;
    font-weight: 800;
    color: #162334;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 14px;
}

.confirmed-title::before {
    content: "";
    width: 6px;
    height: 34px;
    border-radius: 20px;
    background: #d4b63f;
    display: inline-block;
}

.table-clean-wrap {
    overflow-x: auto;
    border-radius: 10px 10px 0px 0px;
}

.table-clean {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.table-clean thead th {
    background: #1f1b14;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 15px 12px;
    text-align: left;
    white-space: nowrap;
    border: 0;
}

.table-clean thead th:first-child {
    border-top-left-radius: 14px;
}

.table-clean thead th:last-child {
    border-top-right-radius: 14px;
}

.table-clean tbody td {
    background: #dee2e6;
    color: #1f2c3a;
    padding: 6px 10px;
    border-bottom: 1px solid #ffc107;
    vertical-align: middle;
    font-size: 0.95rem;
}

.table-clean tbody tr:hover td {
    background: #fcfbf5;
}

.student-id-badge {
    display: inline-block;
    font-weight: 800;
    color: #13263a;
    background: #f3f6fa;
    border: 1px solid #dbe4ec;
    padding: 8px 12px;
    border-radius: 12px;
    min-width: 110px;
}

.class-badge {
    display: inline-block;
    padding: 7px 12px;
    border-radius: 10px;
    background: #198754;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.88rem;
}

.student-thumb {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    object-fit: cover;
    border: 2px solid #e9edf2;
    background: #f8fafc;
}

.no-photo {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f6fa;
    color: #8a97a6;
    font-weight: 700;
    border: 2px solid #e9edf2;
    font-size: 12px;
}

.view-btn {
    width: 58px;
    height: 58px;
    border: none;
    border-radius: 12px;
    background: #eef4ff;
    color: #174ea6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.2s ease;
}

.view-btn:hover {
    background: #dce8ff;
    color: #0f3f93;
}

.mobile-cards {
    display: none;
}

.student-mobile-card {
    border: 1px solid #edf1f5;
    border-radius: 18px;
    padding: 16px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}

.student-mobile-card + .student-mobile-card {
    margin-top: 14px;
}

.student-mobile-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}

.student-mobile-left {
    display: flex;
    gap: 12px;
    align-items: center;
}

.student-mobile-name {
    font-size: 1.08rem;
    font-weight: 800;
    color: #17283b;
    margin-bottom: 4px;
}

.student-mobile-meta {
    font-size: 0.86rem;
    color: #6d7885;
}

.form-sheet-modal .modal-content {
    border: none;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.18);
}

.form-sheet-header {
    background: linear-gradient(90deg, #c8a63b 0%, #1f1b14 100%);
    color: #fff;
    border-bottom: none;
    padding: 18px 22px;
}

.form-sheet-header .modal-title {
    font-weight: 900;
    letter-spacing: 0.5px;
    font-size: 1.4rem;
}

.sheet-subtitle {
    font-size: 0.9rem;
    opacity: 0.92;
}

.custom-close {
    filter: invert(1);
    opacity: 1;
}

.form-sheet-body {
    background: #fffdf7;
    padding: 22px;
}

.sheet-topbar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.sheet-reg-box {
    background: #fff;
    border: 2px solid #d5b24a;
    border-radius: 14px;
    padding: 12px 14px;
    color: #162334;
}

.sheet-label-mini {
    display: block;
    font-size: 0.76rem;
    color: #6b7280;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 4px;
}

.sheet-main-grid {
    display: grid;
    grid-template-columns: 1.8fr 0.7fr;
    gap: 20px;
    align-items: start;
}

.sheet-section {
    background: #fff;
    border: 1px solid #e9dfbf;
    border-radius: 18px;
    padding: 16px;
    margin-bottom: 18px;
}

.sheet-section-title {
    font-size: 1rem;
    font-weight: 900;
    color: #1f1b14;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid #d5b24a;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.sheet-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.sheet-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sheet-grid-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.sheet-field {
    background: #fffefb;
    border: 2px solid #0d6efd;
    border-radius: 12px;
    padding: 10px 12px;
    min-height: 74px;
}

.sheet-field label {
    display: block;
    font-size: 0.74rem;
    font-weight: 800;
    color: #7a6d45;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.sheet-field div {
    font-size: 0.95rem;
    font-weight: 700;
    color: #162334;
    word-break: break-word;
}

.sheet-photo-card {
    background: #fff;
    border: 2px dashed #d5b24a;
    border-radius: 18px;
    padding: 18px;
    text-align: center;
    position: sticky;
    top: 0;
}

.photo-card-title {
    font-size: 0.95rem;
    font-weight: 900;
    color: #1f1b14;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.sheet-student-photo {
    width: 100%;
    max-width: 220px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 14px;
    border: 3px solid #efe4bf;
    background: #fff;
}

.sheet-photo-placeholder {
    width: 100%;
    max-width: 220px;
    aspect-ratio: 3 / 4;
    margin: 0 auto;
    border-radius: 14px;
    background: #f8f4e6;
    border: 2px dashed #d8c37d;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8d825a;
    font-weight: 800;
}

.file-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #174ea6;
    font-weight: 700;
    background: #eef4ff;
    border: 1px solid #d8e6ff;
    padding: 8px 12px;
    border-radius: 10px;
}

.file-link:hover {
    background: #dce8ff;
    color: #103b86;
}

@media (max-width: 1399px) {
    .sheet-grid-5 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1199px) {
    .confirmed-wrap {
        padding: 16px;
    }

    .desktop-table {
        display: none;
    }

    .mobile-cards {
        display: block;
    }

    .sheet-main-grid {
        grid-template-columns: 1fr;
    }

    .sheet-photo-card {
        position: static;
    }

    .sheet-grid-5 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .sheet-topbar {
        grid-template-columns: 1fr;
    }

    .sheet-grid,
    .sheet-grid-3,
    .sheet-grid-5 {
        grid-template-columns: 1fr;
    }
}
.edit-btn {
    background: #ecfdf3;
    color: #15803d;
    border: 1px solid #ccebd6;
    text-decoration: none;
}

.edit-btn:hover {
    background: #dff7e8;
    color: #11632d;
}

.delete-btn {
    background: #fff1f2;
    color: #dc2626;
    border: 1px solid #ffd5da;
}

.delete-btn:hover {
    background: #ffe4e8;
    color: #b91c1c;
}
.pagination .page-link {
    border-radius: 10px;
    margin: 0 3px;
    color: #1f1b14;
    border: 1px solid #d9dee5;
}

.pagination .page-item.active .page-link {
    background-color: #d4b63f;
    border-color: #d4b63f;
    color: #1f1b14;
    font-weight: 700;
}

.pagination .page-link:hover {
    background-color: #f7f2d8;
    border-color: #d4b63f;
    color: #1f1b14;
}
