.exam-table {
    border: 1px solid #000;
    border-collapse: collapse;
}

:root {
    --school-ink: #17233c;
    --school-muted: #748099;
    --school-blue: #3459d1;
    --school-line: #e8edf5;
    --school-surface: #fff;
}

body {
    color: var(--school-ink);
    background: #f5f7fb;
    font-family: "Roboto", "Segoe UI", sans-serif;
}

.navbar.navbar-dark {
    min-height: 68px;
    padding: 0 1.5rem;
    background: #17233c;
    box-shadow: 0 4px 18px rgba(20, 33, 61, .12);
}

.school-brand {
    margin-right: 2rem;
}

.school-brand-link {
    display: inline-flex;
    align-items: center;
    color: #fff;
}

.school-brand-link:hover,
.school-brand-link:focus {
    color: #fff;
    text-decoration: none;
}

.school-brand-mark {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    margin-right: 11px;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(145deg, #718cff, #4160d7);
    box-shadow: 0 5px 14px rgba(65, 96, 215, .35);
    font-size: 19px;
}

.school-brand-name {
    max-width: 260px;
    overflow: hidden;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .15px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.navbar-dark .navbar-nav-link {
    color: rgba(255, 255, 255, .84);
}

.navbar-dark .navbar-nav-link:hover,
.navbar-dark .navbar-nav-link:focus {
    color: #fff;
    background: rgba(255, 255, 255, .08);
}

.page-content {
    background: #f5f7fb;
}

.sidebar {
    background: #17233c;
}

.sidebar .sidebar-content {
    background: #17233c;
}

.sidebar .sidebar-user {
    background: rgba(255, 255, 255, .035);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.sidebar .nav-sidebar .nav-link {
    margin: 2px 10px;
    border-radius: 8px;
    color: rgba(255, 255, 255, .72);
    transition: background-color .18s ease, color .18s ease;
}

.sidebar .nav-sidebar .nav-link:hover,
.sidebar .nav-sidebar .nav-link:focus {
    color: #fff;
    background: rgba(255, 255, 255, .08);
}

.sidebar .nav-sidebar .nav-link.active {
    color: #fff;
    background: linear-gradient(100deg, #4969e5, #3858cf);
    box-shadow: 0 5px 14px rgba(25, 50, 145, .25);
}

.content-wrapper {
    background: #f5f7fb;
}

.page-header-light {
    background: transparent;
    border: 0;
}

.page-header-content {
    min-height: 72px;
}

.page-title h4 {
    color: var(--school-ink);
    font-size: 19px;
}

.content {
    padding-top: 1.5rem;
}

.card {
    overflow: hidden;
    border: 1px solid var(--school-line);
    border-radius: 12px;
    box-shadow: 0 5px 22px rgba(28, 43, 74, .045);
}

.card-header {
    padding: 1.15rem 1.35rem;
    background: var(--school-surface);
    border-bottom: 1px solid #edf0f6;
}

.card-title {
    margin-bottom: 0;
    color: var(--school-ink);
    font-size: 16px;
    font-weight: 700;
}

.card-body {
    padding: 1.35rem;
}

.form-control,
.custom-select,
.select2-selection {
    border-color: #dfe5ef;
    border-radius: 7px;
}

.form-control:focus,
.custom-select:focus {
    border-color: #8ca2f4;
    box-shadow: 0 0 0 3px rgba(73, 105, 229, .12);
}

.btn {
    border-radius: 7px;
    font-weight: 600;
    transition: transform .16s ease, box-shadow .16s ease;
}

.btn-primary {
    background-color: var(--school-blue);
    border-color: var(--school-blue);
    box-shadow: 0 4px 10px rgba(52, 89, 209, .15);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #2949b5;
    border-color: #2949b5;
    box-shadow: 0 6px 14px rgba(52, 89, 209, .24);
    transform: translateY(-1px);
}

.table thead th {
    color: #68758e;
    background: #f8f9fc;
    border-bottom: 1px solid var(--school-line);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.table td,
.table th {
    vertical-align: middle;
}

.dashboard-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
    padding: 28px 32px;
    overflow: hidden;
    border-radius: 14px;
    color: #fff;
    background: radial-gradient(circle at 85% 20%, rgba(116, 144, 255, .42), transparent 28%), linear-gradient(115deg, #1d2d50, #344f9e 72%, #4968ca);
    box-shadow: 0 12px 28px rgba(33, 55, 112, .16);
}

.dashboard-welcome-copy h1 {
    margin: 9px 0 5px;
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -.35px;
}

.dashboard-welcome-copy p {
    margin: 0;
    color: rgba(255, 255, 255, .76);
    font-size: 14px;
}

.dashboard-eyebrow {
    color: #90a8ff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .13em;
}

.dashboard-welcome .dashboard-eyebrow {
    color: #c1cdff;
}

.dashboard-welcome-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    color: rgba(255, 255, 255, .84);
    font-size: 12px;
}

.dashboard-session {
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 20px;
    background: rgba(255, 255, 255, .1);
}

.dashboard-stat-card {
    position: relative;
    min-height: 142px;
    margin-bottom: 22px;
    padding: 22px;
    border: 1px solid var(--school-line);
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease;
}

.dashboard-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(28, 43, 74, .09);
}

.dashboard-stat-card .media {
    align-items: center;
    height: 100%;
}

.dashboard-stat-label {
    display: block;
    margin-bottom: 8px;
    color: var(--school-muted);
    font-size: 12px;
    font-weight: 600;
}

.dashboard-stat-card h3 {
    color: var(--school-ink);
    font-size: 30px;
    font-weight: 700;
    line-height: 1.1;
}

.dashboard-stat-caption {
    display: block;
    margin-top: 8px;
    color: #9aa4b6;
    font-size: 11px;
}

.dashboard-stat-icon {
    display: flex;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    margin-left: 14px;
    border-radius: 14px;
    font-size: 21px;
}

.dashboard-stat-icon i {
    line-height: 1;
}

.dashboard-stat-blue .dashboard-stat-icon {
    color: #4163dc;
    background: #edf1ff;
}

.dashboard-stat-violet .dashboard-stat-icon {
    color: #8052c7;
    background: #f3edfc;
}

.dashboard-stat-green .dashboard-stat-icon {
    color: #219b78;
    background: #e8f7f1;
}

.dashboard-stat-amber .dashboard-stat-icon {
    color: #cf8a25;
    background: #fff5e5;
}

.dashboard-calendar-card .card-header {
    align-items: center;
    min-height: 74px;
}

.dashboard-calendar-card .card-title {
    margin-top: 4px;
}

.login-cover {
    min-height: calc(100vh - 60px);
    background: radial-gradient(circle at 18% 18%, rgba(104, 132, 255, .5), transparent 28%), radial-gradient(circle at 88% 85%, rgba(44, 71, 150, .48), transparent 32%), linear-gradient(135deg, #17233c, #293e70 58%, #334f99);
}

.login-cover .content {
    padding: 48px 20px;
}

.login-form {
    width: 100%;
    max-width: 420px;
}

.login-form .card {
    border: 0;
    border-radius: 16px;
    box-shadow: 0 24px 70px rgba(8, 17, 39, .3);
}

.login-form .card-body {
    padding: 38px;
}

.login-form h5 {
    color: var(--school-ink);
    font-size: 21px;
    font-weight: 700;
}

.login-form .icon-people {
    color: #fff !important;
    background: linear-gradient(145deg, #718cff, #4160d7);
    border-color: #4160d7 !important;
    box-shadow: 0 7px 18px rgba(65, 96, 215, .28);
}

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

.login-form .form-control {
    min-height: 44px;
    padding: 10px 13px;
    background: #fbfcfe;
}

.login-form .btn-primary {
    min-height: 44px;
}

@media (max-width: 767.98px) {
    .navbar.navbar-dark {
        padding: 0 .75rem;
    }

    .school-brand {
        margin-right: .5rem;
    }

    .school-brand-name {
        max-width: 190px;
        font-size: 13px;
    }

    .dashboard-welcome {
        align-items: flex-start;
        flex-direction: column;
        padding: 23px;
    }

    .dashboard-welcome-copy h1 {
        font-size: 22px;
    }

    .dashboard-welcome-meta {
        align-items: flex-start;
    }

    .login-form .card-body {
        padding: 28px 23px;
    }
}

@media print {
    body,
    .page-content,
    .content-wrapper {
        background: #fff;
    }

    .card {
        border-radius: 0;
        box-shadow: none;
    }
}
