:root {
    --bg: #f6f8fb;
    --surface: #ffffff;
    --surface-soft: #eef6ff;
    --border: #e4e8ef;
    --text: #172033;
    --muted: #6b7280;
    --primary: #4f46e5;
    --primary-dark: #3730a3;
    --info: #0ea5e9;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --purple: #8b5cf6;
    --shadow: 0 14px 40px rgba(30, 41, 59, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.5;
    color: var(--text);
    background: var(--bg);
}

body {
    margin: 0;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    border: 0;
    cursor: pointer;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
}

.brand small,
.eyebrow {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--info));
    box-shadow: 0 10px 22px rgba(79, 70, 229, 0.24);
}

.admin-shell {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
}

.sidebar {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
    padding: 22px;
    background: #101827;
    color: #f8fafc;
}

.sidebar .brand small {
    color: #9ca3af;
}

.side-nav {
    display: grid;
    gap: 6px;
    margin-top: 34px;
}

.side-nav a {
    padding: 11px 12px;
    border-radius: 8px;
    color: #cbd5e1;
    font-weight: 700;
}

.side-nav a:hover,
.side-nav a.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.sidebar-foot {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: #d1d5db;
    font-size: 14px;
}

.sidebar-foot a {
    color: #93c5fd;
    font-weight: 800;
}

.main {
    min-width: 0;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 24px 32px;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.84);
    backdrop-filter: blur(12px);
}

.topbar h1,
.candidate-hero h1,
.panel h1,
.panel h2 {
    margin: 0;
    letter-spacing: 0;
}

.topbar h1 {
    font-size: 26px;
}

.content {
    padding: 28px 32px 50px;
}

.candidate-shell {
    background:
        linear-gradient(135deg, rgba(79, 70, 229, 0.08), rgba(14, 165, 233, 0.06) 45%, rgba(16, 185, 129, 0.07)),
        var(--bg);
}

.candidate-main {
    min-height: 100vh;
}

.candidate-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    max-width: 1120px;
    margin: 0 auto;
    padding: 22px 20px;
}

.candidate-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.candidate-mini a {
    color: var(--primary);
}

.candidate-content {
    max-width: 1120px;
    margin: 0 auto;
    padding: 28px 20px 54px;
}

.candidate-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.75fr);
    gap: 28px;
    align-items: center;
}

.hero-copy {
    padding: 22px 0;
}

.hero-copy h1 {
    max-width: 720px;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.03;
}

.hero-copy p {
    max-width: 650px;
    color: var(--muted);
    font-size: 18px;
}

.panel {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.panel-pad {
    padding: 24px;
}

.panel + .panel,
.grid + .panel,
.table-wrap + .panel {
    margin-top: 22px;
}

.setup-panel {
    max-width: 620px;
    margin: 80px auto;
    padding: 28px;
}

.grid {
    display: grid;
    gap: 18px;
}

.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat {
    padding: 20px;
}

.stat span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.stat strong {
    display: block;
    margin-top: 6px;
    font-size: 31px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.field {
    display: grid;
    gap: 7px;
}

.field.full {
    grid-column: 1 / -1;
}

.field label {
    color: #374151;
    font-size: 13px;
    font-weight: 800;
}

.field small {
    color: var(--muted);
}

.control,
.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 11px 12px;
    background: #fff;
    color: var(--text);
}

.field textarea {
    min-height: 116px;
    resize: vertical;
}

.control:focus,
.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--primary);
    outline: 3px solid rgba(79, 70, 229, 0.12);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    border-radius: 8px;
    padding: 10px 16px;
    font-weight: 800;
    text-align: center;
}

.btn-primary {
    color: #fff;
    background: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-success {
    color: #fff;
    background: var(--success);
}

.btn-danger {
    color: #fff;
    background: var(--danger);
}

.btn-light {
    color: #1f2937;
    border: 1px solid var(--border);
    background: #fff;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.alert {
    margin-bottom: 16px;
    border-radius: 8px;
    padding: 12px 14px;
    font-weight: 700;
}

.alert-success {
    color: #065f46;
    background: #d1fae5;
}

.alert-error {
    color: #991b1b;
    background: #fee2e2;
}

.alert-info {
    color: #075985;
    background: #e0f2fe;
}

.alert-warning {
    color: #92400e;
    background: #fef3c7;
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 13px 14px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

th {
    color: #475569;
    background: #f8fafc;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

tr:last-child td {
    border-bottom: 0;
}

.muted {
    color: var(--muted);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 900;
}

.status-pass {
    color: #065f46;
    background: #d1fae5;
}

.status-fail {
    color: #991b1b;
    background: #fee2e2;
}

.status-open {
    color: #3730a3;
    background: #e0e7ff;
}

.status-wait {
    color: #92400e;
    background: #fef3c7;
}

.question-card {
    padding: 18px;
    border-bottom: 1px solid var(--border);
}

.question-card:last-child {
    border-bottom: 0;
}

.question-title {
    margin: 0 0 13px;
    font-size: 16px;
    font-weight: 800;
}

.option-grid {
    display: grid;
    gap: 10px;
}

.option {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 11px 12px;
    cursor: pointer;
}

.option:hover {
    border-color: #c7d2fe;
    background: #f8fbff;
}

.doc-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.doc-card {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 15px;
    background: #fff;
}

.doc-card.required {
    border-color: #c7d2fe;
    background: #fbfdff;
}

@media (max-width: 920px) {
    .admin-shell {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        height: auto;
    }

    .side-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .topbar,
    .candidate-topbar,
    .candidate-hero {
        align-items: stretch;
        grid-template-columns: 1fr;
    }

    .topbar {
        flex-direction: column;
    }

    .grid-2,
    .grid-3,
    .form-grid,
    .doc-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .content {
        padding: 20px 14px 40px;
    }

    .candidate-content {
        padding: 18px 14px 40px;
    }

    .candidate-topbar {
        flex-direction: column;
    }

    .hero-copy h1 {
        font-size: 34px;
    }

    .panel-pad {
        padding: 18px;
    }

    .button-row .btn,
    .btn {
        width: 100%;
    }
}

/* Government recruitment visual layer */
:root {
    --bg: #eef3f8;
    --surface: #ffffff;
    --surface-soft: #f8fafc;
    --border: #d9e2ec;
    --text: #0f172a;
    --muted: #64748b;
    --primary: #163b73;
    --primary-dark: #0b2447;
    --info: #0f766e;
    --success: #13834f;
    --warning: #c27803;
    --danger: #b42318;
    --purple: #5b4b8a;
    --gold: #c99a2e;
    --shadow: 0 20px 55px rgba(12, 28, 54, 0.12);
}

body {
    color: var(--text);
}

.admin-shell,
.candidate-shell {
    background:
        linear-gradient(90deg, rgba(22, 59, 115, 0.04) 1px, transparent 1px),
        linear-gradient(180deg, rgba(22, 59, 115, 0.04) 1px, transparent 1px),
        var(--bg);
    background-size: 34px 34px;
}

.brand {
    gap: 14px;
}

.brand strong {
    font-size: 16px;
}

.brand small,
.eyebrow,
.gov-kicker {
    letter-spacing: 0.08em;
}

.brand-mark {
    width: 54px;
    height: 54px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    color: #fff;
    background:
        linear-gradient(135deg, #c99a2e 0 16%, transparent 16% 20%, #163b73 20% 100%);
    font-size: 12px;
    font-weight: 950;
    box-shadow: 0 12px 28px rgba(22, 59, 115, 0.28);
}

.sidebar {
    background:
        linear-gradient(180deg, #081b36, #0f2a50 55%, #102f46);
    box-shadow: 16px 0 42px rgba(8, 27, 54, 0.18);
}

.sidebar::after {
    content: "";
    height: 5px;
    margin: 24px -22px -22px;
    background: linear-gradient(90deg, #c99a2e, #ffffff, #13834f);
}

.side-nav a {
    border: 1px solid transparent;
}

.side-nav a:hover,
.side-nav a.active {
    border-color: rgba(255, 255, 255, 0.14);
    background: linear-gradient(90deg, rgba(201, 154, 46, 0.22), rgba(255, 255, 255, 0.08));
}

.topbar {
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 252, 0.88)),
        linear-gradient(90deg, #163b73, #c99a2e, #13834f);
}

.topbar h1 {
    color: #0b2447;
    font-size: 30px;
    font-weight: 900;
}

.content {
    max-width: 1360px;
}

.candidate-topbar {
    max-width: 1240px;
    padding-top: 18px;
}

.candidate-content {
    max-width: 1240px;
}

.gov-hero {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.58fr);
    align-items: start;
}

.hero-copy {
    min-height: 560px;
    padding: 58px 42px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(8, 27, 54, 0.95), rgba(22, 59, 115, 0.88)),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 16px);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.hero-copy::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, #c99a2e, #ffffff, #13834f) top left / 100% 6px no-repeat,
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 34%);
    pointer-events: none;
}

.hero-copy > * {
    position: relative;
}

.gov-kicker {
    display: inline-flex;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    padding: 8px 12px;
    color: #f7d98b;
    background: rgba(255, 255, 255, 0.08);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.hero-copy h1 {
    margin-top: 22px;
    max-width: 820px;
    color: #fff;
    font-size: clamp(44px, 5vw, 76px);
    font-weight: 950;
    line-height: 0.98;
}

.hero-copy p {
    max-width: 720px;
    color: #dbeafe;
    font-size: 18px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.hero-badges span {
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    padding: 9px 12px;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    font-size: 13px;
    font-weight: 900;
}

.exam-announcement {
    display: grid;
    gap: 4px;
    max-width: 560px;
    margin-top: 38px;
    border-left: 5px solid var(--gold);
    border-radius: 8px;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.1);
}

.exam-announcement strong {
    color: #fff;
    font-size: 19px;
}

.exam-announcement span {
    color: #dbeafe;
    font-weight: 700;
}

.auth-stack {
    display: grid;
    gap: 18px;
}

.auth-panel {
    border-top: 5px solid var(--gold);
}

.auth-panel.compact {
    border-top-color: var(--info);
}

.panel {
    border-color: rgba(15, 23, 42, 0.1);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.09);
}

.panel h1,
.panel h2 {
    color: #0b2447;
    font-weight: 920;
}

.panel h2 {
    font-size: 24px;
}

.field label {
    color: #172554;
}

.field input,
.field select,
.field textarea,
.control {
    border-color: #cbd5e1;
    background: #fbfdff;
}

.btn {
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.btn-primary {
    background: linear-gradient(135deg, #163b73, #0f766e);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0b2447, #115e59);
}

.btn-light:hover {
    border-color: #c99a2e;
    background: #fff8e8;
}

.admin-link {
    color: #163b73;
    font-size: 13px;
    font-weight: 900;
    text-align: center;
}

.stat {
    border-top: 4px solid var(--gold);
    background:
        linear-gradient(135deg, #fff, #f8fafc);
}

.stat strong {
    color: #0b2447;
    font-weight: 950;
}

.table-wrap {
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
}

th {
    color: #0b2447;
    background: #eef4fb;
}

.status-open {
    color: #0b2447;
    background: #dbeafe;
}

.status-pass {
    color: #064e3b;
    background: #d1fae5;
}

.status-wait {
    color: #713f12;
    background: #fef3c7;
}

.slot-card {
    display: grid;
    gap: 4px;
    margin: 16px 0;
    border: 1px solid #cbd5e1;
    border-left: 5px solid var(--gold);
    border-radius: 8px;
    padding: 14px 16px;
    background: #f8fafc;
}

.slot-card span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.slot-card strong {
    color: #0b2447;
    font-size: 20px;
}

.question-card {
    background: #fff;
}

.option {
    background: #fbfdff;
}

.option:hover {
    border-color: #c99a2e;
    background: #fffaf0;
}

@media (max-width: 920px) {
    .gov-hero {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        min-height: auto;
        padding: 34px 24px;
    }
}

@media (max-width: 560px) {
    .brand-mark {
        width: 48px;
        height: 48px;
    }

    .hero-copy h1 {
        font-size: 40px;
    }
}

/* Professional recruitment portal refinement */
:root {
    --bg: #f3f6fa;
    --surface: #ffffff;
    --surface-soft: #f7f9fc;
    --line: #d7e0ea;
    --ink: #102033;
    --ink-soft: #5b6878;
    --navy: #0d2a4d;
    --navy-2: #163f6d;
    --teal: #0b746b;
    --gold: #b88624;
    --red: #a32121;
}

html {
    font-family: "Segoe UI", Arial, sans-serif;
}

.candidate-shell,
.admin-shell {
    background:
        linear-gradient(180deg, #eef3f8 0, #f8fafc 280px, #f3f6fa 100%);
    color: var(--ink);
}

.candidate-main {
    background: transparent;
}

.candidate-topbar {
    max-width: 1180px;
    padding: 18px 20px 14px;
}

.candidate-topbar::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--navy), var(--gold), var(--teal));
}

.brand-mark {
    width: 46px;
    height: 46px;
    border: 1px solid #c8d4e0;
    border-radius: 8px;
    background: #fff;
    color: var(--navy);
    box-shadow: none;
}

.brand strong {
    color: var(--navy);
    font-size: 17px;
    font-weight: 800;
}

.brand small {
    color: var(--ink-soft);
    font-size: 11px;
}

.candidate-content {
    max-width: 1180px;
    padding-top: 18px;
}

.portal-shell {
    display: grid;
    gap: 18px;
}

.portal-masthead {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 18px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 20px 24px;
    background:
        linear-gradient(90deg, rgba(13, 42, 77, 0.04), transparent 36%),
        #fff;
    box-shadow: 0 12px 28px rgba(13, 42, 77, 0.08);
}

.official-seal {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    color: var(--navy);
    background: #fffdf7;
    font-size: 18px;
    font-weight: 900;
}

.portal-masthead h1 {
    margin: 2px 0 6px;
    color: var(--navy);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 850;
    line-height: 1.08;
}

.portal-masthead p {
    margin: 0;
    max-width: 880px;
    color: var(--ink-soft);
    font-size: 16px;
}

.portal-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.72fr);
    gap: 20px;
    align-items: start;
}

.portal-brief,
.primary-application,
.candidate-login-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(16, 32, 51, 0.08);
}

.portal-brief {
    overflow: hidden;
}

.exam-title-block {
    padding: 24px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(13, 42, 77, 0.96), rgba(22, 63, 109, 0.96));
}

.exam-title-block span,
.info-list span,
.process-panel h2,
.form-title-row small {
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.exam-title-block span {
    color: #f0d58b;
}

.exam-title-block strong {
    display: block;
    margin-top: 8px;
    font-size: 28px;
    line-height: 1.15;
}

.exam-title-block p {
    margin: 10px 0 0;
    color: #d8e6f7;
}

.info-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-bottom: 1px solid var(--line);
}

.info-list div {
    min-height: 112px;
    padding: 18px 20px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.info-list div:nth-child(even) {
    border-right: 0;
}

.info-list div:nth-last-child(-n+2) {
    border-bottom: 0;
}

.info-list strong {
    display: block;
    margin-top: 8px;
    color: var(--ink);
    font-size: 16px;
    line-height: 1.35;
}

.process-panel {
    padding: 22px 24px 24px;
    background: #fbfcfe;
}

.process-panel h2 {
    margin: 0 0 12px;
    color: var(--navy);
}

.process-panel ol {
    display: grid;
    gap: 9px;
    margin: 0;
    padding-left: 22px;
    color: #27384a;
}

.auth-stack {
    gap: 16px;
}

.primary-application {
    border-top: 4px solid var(--navy);
}

.candidate-login-card {
    border-top: 4px solid var(--teal);
}

.auth-panel {
    box-shadow: 0 14px 36px rgba(16, 32, 51, 0.08);
}

.auth-panel h2 {
    color: var(--navy);
    font-size: 24px;
    font-weight: 820;
}

.form-title-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: start;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.form-title-row h2 {
    margin-top: 8px;
}

.field {
    margin-bottom: 12px;
}

.field label {
    color: #26364a;
    font-size: 13px;
    font-weight: 750;
}

.field input,
.field select,
.field textarea,
.control {
    min-height: 44px;
    border: 1px solid #c7d2df;
    border-radius: 6px;
    background: #fff;
    color: var(--ink);
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.control:focus {
    border-color: var(--navy-2);
    outline: 3px solid rgba(22, 63, 109, 0.12);
}

.submission-note {
    margin: 6px 0 14px;
    border-left: 4px solid var(--gold);
    padding: 10px 12px;
    color: #4b5563;
    background: #fff9ed;
    font-size: 13px;
    font-weight: 650;
}

.status-pill {
    border-radius: 4px;
    padding: 4px 9px;
}

.btn {
    border-radius: 6px;
    box-shadow: none;
}

.btn-primary {
    background: var(--navy);
}

.btn-primary:hover {
    background: var(--navy-2);
}

.btn-light {
    color: var(--navy);
    border: 1px solid #b8c6d5;
    background: #fff;
}

.btn-light:hover {
    border-color: var(--navy);
    background: #f5f8fb;
}

.btn-link {
    border: 0;
    color: var(--navy);
    background: transparent;
}

.candidate-hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(380px, 0.6fr);
}

.candidate-hero .hero-copy {
    min-height: 420px;
    border-radius: 8px;
    padding: 42px;
    background: linear-gradient(135deg, #0d2a4d, #163f6d);
}

.candidate-hero .hero-copy h1 {
    font-size: clamp(36px, 4.5vw, 60px);
}

.hero-copy::before {
    background:
        linear-gradient(90deg, var(--navy), var(--gold), var(--teal)) top left / 100% 5px no-repeat;
}

.hero-badges span {
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
}

.admin-shell {
    grid-template-columns: 250px minmax(0, 1fr);
}

.sidebar {
    background: #0d2a4d;
    box-shadow: none;
}

.side-nav a {
    border-radius: 6px;
}

.side-nav a.active,
.side-nav a:hover {
    background: #173f70;
}

.topbar {
    background: #fff;
}

.topbar h1 {
    color: var(--navy);
    font-weight: 820;
}

.stat {
    border-top-color: var(--navy);
    box-shadow: 0 12px 28px rgba(16, 32, 51, 0.07);
}

.table-wrap {
    border-color: var(--line);
    box-shadow: 0 12px 28px rgba(16, 32, 51, 0.07);
}

th {
    color: #26364a;
    background: #f2f5f8;
}

@media (max-width: 980px) {
    .portal-grid,
    .candidate-hero {
        grid-template-columns: 1fr;
    }

    .info-list {
        grid-template-columns: 1fr;
    }

    .info-list div,
    .info-list div:nth-child(even),
    .info-list div:nth-last-child(-n+2) {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }
}

@media (max-width: 560px) {
    .portal-masthead {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .official-seal {
        width: 56px;
        height: 56px;
    }

    .form-title-row,
    .button-row {
        flex-direction: column;
    }
}

/* Official examination desk polish */
:root {
    --gov-bg: #eef3f7;
    --gov-surface: #ffffff;
    --gov-paper: #fbfcfe;
    --gov-ink: #102033;
    --gov-muted: #536172;
    --gov-border: #cfd9e5;
    --gov-navy: #082f57;
    --gov-blue: #164c7f;
    --gov-teal: #08756d;
    --gov-gold: #b9831f;
    --gov-green: #14633f;
    --gov-red: #a12a2a;
}

body {
    background: var(--gov-bg);
}

.candidate-shell,
.admin-shell {
    background:
        linear-gradient(180deg, rgba(8, 47, 87, 0.08), rgba(255, 255, 255, 0) 290px),
        repeating-linear-gradient(0deg, rgba(8, 47, 87, 0.028) 0 1px, transparent 1px 32px),
        var(--gov-bg);
    color: var(--gov-ink);
}

.candidate-topbar {
    position: relative;
    max-width: 1220px;
    padding: 18px 20px;
}

.candidate-topbar::after {
    height: 5px;
    background: linear-gradient(90deg, var(--gov-navy), var(--gov-gold), #ffffff, var(--gov-teal));
}

.brand {
    gap: 12px;
}

.brand-mark {
    width: 48px;
    height: 48px;
    border: 1px solid #b8c7d8;
    border-radius: 6px;
    color: var(--gov-navy);
    background:
        linear-gradient(180deg, #ffffff, #f4f7fa);
    font-size: 13px;
    font-weight: 900;
}

.brand strong {
    color: var(--gov-navy);
    font-size: 18px;
    font-weight: 850;
}

.brand small,
.eyebrow {
    color: var(--gov-muted);
    letter-spacing: 0.08em;
}

.candidate-content {
    max-width: 1220px;
    padding: 18px 20px 56px;
}

.official-home {
    display: grid;
    gap: 20px;
}

.department-banner {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr) 245px;
    gap: 20px;
    align-items: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(8, 47, 87, 0.16);
    border-radius: 6px;
    padding: 24px;
    background:
        linear-gradient(90deg, rgba(8, 47, 87, 0.05), rgba(8, 117, 109, 0.03)),
        var(--gov-surface);
    box-shadow: 0 16px 34px rgba(16, 32, 51, 0.09);
}

.department-banner::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 6px;
    background: linear-gradient(90deg, var(--gov-navy), var(--gov-gold), #f7f7f7, var(--gov-teal));
}

.department-seal {
    display: grid;
    place-items: center;
    width: 70px;
    height: 70px;
    border: 2px solid var(--gov-gold);
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 45%, #ffffff 0 42%, #fff8e8 43% 100%);
    color: var(--gov-navy);
    font-size: 20px;
    font-weight: 950;
    box-shadow: inset 0 0 0 5px #ffffff, 0 12px 24px rgba(8, 47, 87, 0.12);
}

.department-copy h1,
.admin-auth-brief h1 {
    margin: 4px 0 8px;
    color: var(--gov-navy);
    font-size: 38px;
    line-height: 1.08;
    font-weight: 900;
}

.department-copy p,
.admin-auth-brief p {
    margin: 0;
    max-width: 780px;
    color: var(--gov-muted);
    font-size: 16px;
}

.department-window {
    justify-self: stretch;
    border: 1px solid #d9c49c;
    border-radius: 6px;
    padding: 14px 16px;
    background: #fffaf0;
}

.department-window span,
.department-window small,
.notice-card span,
.notice-grid span,
.instruction-card h2,
.desk-heading p,
.admin-auth-stats span {
    color: var(--gov-muted);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.department-window strong {
    display: block;
    margin: 5px 0;
    color: var(--gov-navy);
    font-size: 19px;
    line-height: 1.2;
}

.department-window small {
    display: block;
    color: #71531a;
    letter-spacing: 0;
    text-transform: none;
}

.application-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(450px, 0.72fr);
    gap: 20px;
    align-items: start;
}

.exam-dossier,
.application-desk,
.admin-login-card,
.admin-auth-brief {
    border: 1px solid var(--gov-border);
    border-radius: 6px;
    background: var(--gov-surface);
    box-shadow: 0 16px 34px rgba(16, 32, 51, 0.08);
}

.exam-dossier {
    overflow: hidden;
}

.notice-card {
    padding: 24px;
}

.notice-primary {
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(8, 47, 87, 0.98), rgba(22, 76, 127, 0.96)),
        linear-gradient(90deg, var(--gov-gold), transparent);
}

.notice-primary span {
    color: #f3d589;
}

.notice-card h2 {
    margin: 8px 0 10px;
    color: #ffffff;
    font-size: 29px;
    line-height: 1.15;
    font-weight: 900;
}

.notice-card p {
    margin: 0;
    color: #dbe7f5;
}

.notice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    background: var(--gov-paper);
}

.notice-grid div {
    min-height: 118px;
    border-right: 1px solid var(--gov-border);
    border-bottom: 1px solid var(--gov-border);
    padding: 18px 20px;
}

.notice-grid div:nth-child(even) {
    border-right: 0;
}

.notice-grid div:nth-last-child(-n+2) {
    border-bottom: 0;
}

.notice-grid strong {
    display: block;
    margin-top: 8px;
    color: var(--gov-ink);
    font-size: 16px;
    line-height: 1.35;
}

.instruction-card {
    padding: 22px 24px 24px;
    background: #ffffff;
}

.instruction-card h2 {
    margin: 0 0 12px;
    color: var(--gov-navy);
}

.instruction-card ol {
    display: grid;
    gap: 9px;
    margin: 0;
    padding-left: 22px;
    color: #243648;
    font-weight: 600;
}

.application-desk {
    overflow: hidden;
}

.desk-heading {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    border-bottom: 1px solid var(--gov-border);
    padding: 22px 24px 18px;
    background:
        linear-gradient(90deg, #ffffff, #f7f9fc);
}

.desk-heading h2 {
    margin: 8px 0 0;
    color: var(--gov-navy);
    font-size: 27px;
    line-height: 1.15;
    font-weight: 900;
}

.desk-heading p {
    max-width: 235px;
    margin: 0;
    color: var(--gov-muted);
    letter-spacing: 0;
    line-height: 1.45;
    text-transform: none;
}

.official-form {
    display: grid;
    gap: 12px;
    padding: 24px;
}

.official-form .full {
    grid-column: 1 / -1;
}

.field {
    margin-bottom: 0;
}

.field label {
    color: #213348;
    font-size: 13px;
    font-weight: 800;
}

.field input,
.field select,
.field textarea,
.control {
    min-height: 46px;
    border: 1px solid #bdcadd;
    border-radius: 5px;
    background: #ffffff;
    color: var(--gov-ink);
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.control:focus {
    border-color: var(--gov-blue);
    outline: 3px solid rgba(22, 76, 127, 0.13);
}

.official-note {
    margin: 0;
    border-left-color: var(--gov-gold);
    border-radius: 5px;
    background: #fff8e8;
}

.returning-card {
    display: grid;
    gap: 16px;
    border-top: 1px solid var(--gov-border);
    padding: 20px 24px 24px;
    background: #f8fafc;
}

.returning-card h2 {
    margin: 0 0 4px;
    color: var(--gov-navy);
    font-size: 21px;
}

.returning-card p {
    margin: 0;
}

.returning-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: end;
}

.btn {
    min-height: 44px;
    border-radius: 5px;
    padding: 10px 17px;
    font-weight: 850;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gov-navy), var(--gov-teal));
}

.btn-primary:hover {
    background: linear-gradient(135deg, #06233f, #075f58);
}

.btn-light {
    color: var(--gov-navy);
    border: 1px solid #aebed0;
    background: #ffffff;
}

.btn-light:hover {
    border-color: var(--gov-blue);
    background: #f3f7fb;
}

.btn-link {
    color: var(--gov-blue);
    background: transparent;
    box-shadow: none;
}

.status-pill {
    border-radius: 4px;
    padding: 4px 9px;
    font-size: 12px;
    font-weight: 900;
}

.status-open {
    color: var(--gov-navy);
    background: #dceaf7;
}

.status-pass {
    color: #0b5135;
    background: #dff3e9;
}

.status-wait {
    color: #714d13;
    background: #fff1cf;
}

.status-fail {
    color: var(--gov-red);
    background: #fae6e6;
}

.panel {
    border-color: var(--gov-border);
    border-radius: 6px;
    box-shadow: 0 14px 30px rgba(16, 32, 51, 0.07);
}

.panel h1,
.panel h2,
.topbar h1 {
    color: var(--gov-navy);
    font-weight: 900;
}

.slot-card {
    border-color: var(--gov-border);
    border-left-color: var(--gov-gold);
    border-radius: 5px;
    background: #f8fafc;
}

.doc-card,
.option {
    border-radius: 5px;
}

.admin-auth-screen {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(380px, 0.55fr);
    gap: 20px;
    align-items: stretch;
}

.admin-auth-brief {
    position: relative;
    overflow: hidden;
    padding: 36px;
    background:
        linear-gradient(135deg, #ffffff, #f7f9fc);
}

.admin-auth-brief::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 6px;
    background: linear-gradient(90deg, var(--gov-navy), var(--gov-gold), var(--gov-teal));
}

.admin-auth-brief .department-seal {
    margin-bottom: 24px;
}

.admin-auth-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.admin-auth-stats div {
    border: 1px solid var(--gov-border);
    border-radius: 5px;
    padding: 14px;
    background: #ffffff;
}

.admin-auth-stats strong {
    display: block;
    margin-top: 4px;
    color: var(--gov-navy);
    font-size: 19px;
}

.admin-login-card {
    align-self: start;
    padding: 24px;
    border-top: 5px solid var(--gov-navy);
}

.sidebar {
    background: linear-gradient(180deg, #082f57, #0d3a68);
}

.sidebar::after {
    background: linear-gradient(90deg, var(--gov-gold), #ffffff, var(--gov-teal));
}

.side-nav a {
    border-radius: 5px;
}

.side-nav a.active,
.side-nav a:hover {
    background: rgba(255, 255, 255, 0.12);
}

.topbar {
    background: #ffffff;
}

@media (max-width: 980px) {
    .department-banner,
    .application-layout,
    .admin-auth-screen {
        grid-template-columns: 1fr;
    }

    .department-window {
        max-width: 360px;
    }

    .notice-grid {
        grid-template-columns: 1fr;
    }

    .notice-grid div,
    .notice-grid div:nth-child(even),
    .notice-grid div:nth-last-child(-n+2) {
        border-right: 0;
        border-bottom: 1px solid var(--gov-border);
    }

    .returning-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .candidate-content {
        padding: 14px 14px 42px;
    }

    .department-banner,
    .desk-heading {
        padding: 18px;
    }

    .department-copy h1,
    .admin-auth-brief h1 {
        font-size: 29px;
    }

    .desk-heading {
        display: grid;
    }

    .desk-heading p {
        max-width: none;
    }

    .official-form,
    .returning-card,
    .admin-login-card,
    .admin-auth-brief {
        padding: 18px;
    }

    .form-grid,
    .doc-grid,
    .admin-auth-stats {
        grid-template-columns: 1fr;
    }
}

/* Premium recruitment interface layer */
:root {
    --premium-ink: #0a2038;
    --premium-line: #c8d5e3;
    --premium-blue: #083a68;
    --premium-blue-2: #0e5a8d;
    --premium-cyan: #0b7773;
    --premium-gold: #b9801d;
    --premium-paper: #fcfdff;
}

.candidate-shell {
    background:
        radial-gradient(circle at 15% 0%, rgba(11, 119, 115, 0.12), transparent 28%),
        radial-gradient(circle at 85% 8%, rgba(185, 128, 29, 0.15), transparent 28%),
        linear-gradient(180deg, #eaf1f7 0, #f7fafc 45%, #edf3f8 100%);
}

.candidate-topbar {
    padding-top: 20px;
}

.candidate-topbar .brand {
    border: 1px solid rgba(8, 58, 104, 0.13);
    border-radius: 8px;
    padding: 10px 14px 10px 10px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 12px 28px rgba(10, 32, 56, 0.08);
    backdrop-filter: blur(10px);
}

.candidate-topbar .brand-mark {
    background:
        linear-gradient(135deg, #ffffff 0 58%, #f1e3c2 58% 100%);
}

.official-home {
    gap: 18px;
}

.department-banner {
    grid-template-columns: 88px minmax(0, 1fr) 270px;
    min-height: 238px;
    border: 1px solid rgba(8, 58, 104, 0.2);
    border-radius: 10px;
    padding: 28px;
    background:
        linear-gradient(105deg, rgba(255, 255, 255, 0.96) 0 58%, rgba(238, 247, 250, 0.92) 58% 100%),
        repeating-linear-gradient(135deg, rgba(8, 58, 104, 0.06) 0 1px, transparent 1px 13px);
    box-shadow:
        0 22px 46px rgba(10, 32, 56, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.department-banner::after {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -110px;
    width: 290px;
    height: 290px;
    border: 1px solid rgba(185, 128, 29, 0.25);
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(255, 255, 255, 0.75) 0 36%, rgba(185, 128, 29, 0.12) 37% 38%, transparent 39%);
    pointer-events: none;
}

.department-seal {
    width: 76px;
    height: 76px;
    border-width: 3px;
    box-shadow:
        inset 0 0 0 6px #ffffff,
        0 15px 32px rgba(8, 58, 104, 0.14);
}

.department-copy h1 {
    max-width: 780px;
    font-size: clamp(34px, 4vw, 52px);
    letter-spacing: 0;
}

.department-copy p {
    max-width: 760px;
    color: #46576a;
    font-size: 17px;
    line-height: 1.65;
}

.department-window {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(185, 128, 29, 0.35);
    border-radius: 8px;
    padding: 18px;
    background:
        linear-gradient(180deg, #fffaf0, #ffffff);
    box-shadow: inset 0 1px 0 #ffffff;
}

.department-window::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(180deg, var(--premium-gold), var(--premium-cyan));
}

.department-window strong {
    font-size: 22px;
}

.portal-status-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.portal-status-strip div {
    position: relative;
    overflow: hidden;
    min-height: 92px;
    border: 1px solid rgba(8, 58, 104, 0.14);
    border-radius: 8px;
    padding: 17px 18px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 14px 30px rgba(10, 32, 56, 0.08);
}

.portal-status-strip div::after {
    content: "";
    position: absolute;
    right: -34px;
    top: -44px;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: rgba(8, 58, 104, 0.06);
}

.portal-status-strip span,
.exam-meta-row small,
.form-section-title span {
    display: block;
    color: #617084;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.portal-status-strip strong {
    display: block;
    margin-top: 7px;
    color: var(--premium-ink);
    font-size: 15px;
    line-height: 1.35;
}

.application-layout {
    grid-template-columns: minmax(0, 0.86fr) minmax(470px, 0.74fr);
    gap: 22px;
}

.exam-dossier,
.application-desk {
    border-radius: 10px;
    box-shadow: 0 22px 46px rgba(10, 32, 56, 0.11);
}

.notice-primary {
    position: relative;
    overflow: hidden;
    padding: 28px;
    background:
        linear-gradient(135deg, rgba(6, 35, 63, 0.98), rgba(8, 58, 104, 0.97) 58%, rgba(10, 101, 111, 0.94)),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 15px);
}

.notice-primary::after {
    content: "";
    position: absolute;
    right: -40px;
    top: -58px;
    width: 170px;
    height: 170px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}

.notice-card h2 {
    max-width: 640px;
    font-size: 32px;
}

.exam-meta-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
}

.exam-meta-row div {
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 7px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.08);
}

.exam-meta-row small {
    color: #b9d2e9;
}

.exam-meta-row strong {
    display: block;
    margin-top: 4px;
    color: #ffffff;
    font-size: 16px;
}

.notice-grid div {
    position: relative;
    min-height: 128px;
    padding: 20px 20px 20px 62px;
    background: #ffffff;
}

.notice-grid b {
    position: absolute;
    left: 18px;
    top: 19px;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(8, 58, 104, 0.16);
    border-radius: 50%;
    color: var(--premium-blue);
    background: #eef5fb;
    font-size: 12px;
    font-weight: 900;
}

.timeline-card {
    background:
        linear-gradient(180deg, #ffffff, #f8fbfd);
}

.process-timeline {
    display: grid;
    gap: 12px;
}

.process-timeline div {
    display: grid;
    grid-template-columns: 34px 1fr;
    column-gap: 12px;
    align-items: start;
    position: relative;
}

.process-timeline div:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 16px;
    top: 38px;
    bottom: -10px;
    width: 2px;
    background: #dbe5ee;
}

.process-timeline span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, var(--premium-blue), var(--premium-cyan));
    font-size: 13px;
    font-weight: 900;
    z-index: 1;
}

.process-timeline strong {
    color: var(--premium-ink);
    font-size: 16px;
}

.process-timeline p {
    grid-column: 2;
    margin: 1px 0 0;
    color: #5d6b7c;
    font-size: 14px;
}

.application-desk {
    position: sticky;
    top: 18px;
}

.desk-heading {
    position: relative;
    padding: 25px 26px 21px;
    background:
        linear-gradient(135deg, #ffffff 0 64%, #eef8f7 64% 100%);
}

.desk-heading::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, var(--premium-blue), var(--premium-gold), var(--premium-cyan));
}

.desk-heading h2 {
    font-size: 30px;
}

.official-form {
    gap: 14px;
    padding: 26px;
}

.form-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 2px;
}

.form-section-title span {
    border-radius: 999px;
    padding: 5px 9px;
    color: var(--premium-blue);
    background: #e7f0f8;
}

.form-section-title strong {
    color: var(--premium-ink);
    font-size: 15px;
}

.field label {
    margin-bottom: 1px;
}

.field input,
.field select,
.field textarea,
.control {
    border-radius: 7px;
    padding: 12px 13px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.field input:hover,
.field select:hover,
.field textarea:hover,
.control:hover {
    border-color: #8fa5bd;
    background: #fbfdff;
}

.btn {
    min-height: 46px;
    border-radius: 7px;
    transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease, border-color 150ms ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    box-shadow: 0 12px 22px rgba(8, 58, 104, 0.22);
}

.returning-card {
    border-top: 1px solid #dce6ef;
    background:
        linear-gradient(180deg, #f8fbfd, #ffffff);
}

.returning-card h2 {
    font-size: 23px;
}

.dashboard-command {
    display: flex;
    justify-content: space-between;
    gap: 22px;
    align-items: center;
    margin-bottom: 22px;
    border: 1px solid var(--premium-line);
    border-radius: 9px;
    padding: 26px;
    color: #ffffff;
    background:
        linear-gradient(135deg, #06233f, #083a68 58%, #0b7773),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 14px);
    box-shadow: 0 20px 44px rgba(10, 32, 56, 0.14);
}

.dashboard-command .eyebrow {
    color: #f1d494;
}

.dashboard-command h2 {
    margin: 4px 0 7px;
    color: #ffffff;
    font-size: 30px;
    line-height: 1.15;
}

.dashboard-command p {
    max-width: 610px;
    margin: 0;
    color: #d9e7f4;
}

.command-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.dashboard-command .btn-light {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.1);
}

.dashboard-command .btn-primary {
    color: var(--premium-ink);
    background: linear-gradient(135deg, #ffffff, #f3dca7);
    box-shadow: none;
}

.stat-grid {
    margin-bottom: 24px;
}

.stat {
    position: relative;
    overflow: hidden;
    border-top: 0;
    border-radius: 8px;
    padding: 22px;
    background:
        linear-gradient(180deg, #ffffff, #f8fbfd);
}

.stat::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, var(--premium-blue), var(--premium-gold));
}

.stat::after {
    content: "";
    position: absolute;
    right: -26px;
    bottom: -36px;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    background: rgba(8, 58, 104, 0.055);
}

.section-title-row {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 16px;
    margin: 10px 0 12px;
}

.section-title-row h2 {
    margin: 2px 0 0;
    color: var(--premium-ink);
    font-size: 24px;
}

.table-wrap {
    border-radius: 8px;
    box-shadow: 0 18px 38px rgba(10, 32, 56, 0.09);
}

th {
    color: #1b334d;
    background: #edf4fa;
}

td {
    background: #ffffff;
}

tr:hover td {
    background: #fbfdff;
}

@media (max-width: 1100px) {
    .department-banner,
    .application-layout {
        grid-template-columns: 1fr;
    }

    .application-desk {
        position: static;
    }

    .portal-status-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .department-banner {
        min-height: auto;
        padding: 22px;
    }

    .department-copy h1 {
        font-size: 32px;
    }

    .department-window {
        max-width: none;
    }

    .portal-status-strip,
    .exam-meta-row,
    .returning-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-command {
        display: grid;
        padding: 20px;
    }

    .command-actions {
        justify-content: stretch;
    }

    .command-actions .btn {
        width: 100%;
    }
}

/* Production exam interface and admin refinement */
.exam-interface {
    display: grid;
    gap: 16px;
}

.exam-command-bar,
.exam-palette-panel,
.exam-stage,
.exam-footer-bar {
    border: 1px solid var(--premium-line);
    border-radius: 9px;
    background: #ffffff;
    box-shadow: 0 16px 34px rgba(10, 32, 56, 0.08);
}

.exam-command-bar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    padding: 18px 22px;
    background:
        linear-gradient(135deg, #ffffff 0 66%, #eef8f7 66% 100%);
}

.exam-command-bar h1 {
    margin: 2px 0 0;
    color: var(--premium-ink);
    font-size: 26px;
    line-height: 1.15;
}

.exam-timer {
    min-width: 150px;
    border: 1px solid rgba(8, 58, 104, 0.18);
    border-radius: 8px;
    padding: 12px 16px;
    text-align: center;
    background: #f8fbfd;
}

.exam-timer span {
    display: block;
    color: #617084;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.exam-timer strong {
    display: block;
    margin-top: 3px;
    color: var(--premium-blue);
    font-size: 28px;
    line-height: 1;
}

.exam-timer.is-ending {
    border-color: #d7962b;
    background: #fff4dc;
}

.exam-timer.is-ending strong {
    color: #9b2c2c;
}

.exam-palette-panel {
    padding: 16px;
}

.palette-head {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
    color: #526174;
    font-size: 13px;
    font-weight: 750;
}

.palette-head strong {
    margin-right: auto;
    color: var(--premium-ink);
    font-size: 15px;
}

.legend-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 5px;
    border: 1px solid #a8b8c9;
    border-radius: 50%;
    background: #ffffff;
}

.legend-dot.is-viewed {
    background: #dceaf7;
}

.legend-dot.is-attempted {
    background: #0b7773;
    border-color: #0b7773;
}

.question-palette {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.question-nav {
    display: grid;
    place-items: center;
    width: 42px;
    height: 38px;
    border: 1px solid #b8c8d8;
    border-radius: 7px;
    color: #31465d;
    background: #ffffff;
    font-weight: 900;
}

.question-nav.is-viewed {
    border-color: #9bb6d0;
    background: #e8f2fb;
}

.question-nav.is-attempted {
    border-color: var(--premium-cyan);
    color: #ffffff;
    background: var(--premium-cyan);
}

.question-nav.is-current {
    outline: 3px solid rgba(185, 128, 29, 0.24);
    border-color: var(--premium-gold);
}

.exam-stage {
    min-height: 380px;
    overflow: hidden;
}

.exam-question {
    display: none;
    border: 0;
    padding: 28px;
}

.exam-question.is-active {
    display: block;
}

.question-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
}

.question-head span {
    color: #617084;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.question-head strong {
    border-radius: 999px;
    padding: 5px 10px;
    color: var(--premium-blue);
    background: #e8f2fb;
    font-size: 12px;
}

.exam-question .question-title {
    margin-bottom: 22px;
    color: var(--premium-ink);
    font-size: 22px;
    line-height: 1.45;
}

.exam-question .option {
    min-height: 58px;
    border-radius: 8px;
    padding: 15px 16px;
    background: #ffffff;
}

.exam-question .option:has(input:checked) {
    border-color: var(--premium-cyan);
    background: #eefaf8;
    box-shadow: inset 4px 0 0 var(--premium-cyan);
}

.exam-footer-bar {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    padding: 16px;
}

.exam-footer-bar > span {
    color: #526174;
    font-weight: 850;
}

.exam-footer-bar .button-row {
    margin-top: 0;
}

.readonly-control {
    display: flex;
    align-items: center;
    min-height: 46px;
    border: 1px solid #bdcadd;
    border-radius: 7px;
    padding: 12px 13px;
    color: #31465d;
    background: #f8fbfd;
    font-weight: 800;
}

.admin-shell {
    background:
        linear-gradient(180deg, #eef4f9 0, #f8fafc 320px, #edf3f8 100%);
}

.sidebar {
    width: 100%;
    padding: 24px 20px;
    background:
        linear-gradient(180deg, #061f39, #083a68 58%, #082f57);
}

.sidebar .brand {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 18px;
}

.sidebar .brand-mark {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
}

.sidebar .brand strong {
    color: #ffffff;
}

.side-nav {
    gap: 8px;
}

.side-nav a {
    display: flex;
    align-items: center;
    min-height: 42px;
    border: 1px solid transparent;
    padding: 10px 12px;
    color: #dbe7f4;
}

.side-nav a.active,
.side-nav a:hover {
    border-color: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    background:
        linear-gradient(90deg, rgba(185, 128, 29, 0.28), rgba(255, 255, 255, 0.08));
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid rgba(8, 58, 104, 0.13);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
}

.topbar h1 {
    font-size: 28px;
}

.content {
    max-width: 1400px;
}

.admin-shell .panel,
.admin-shell .table-wrap {
    border-radius: 9px;
}

.admin-shell .panel-pad > h2:first-child {
    margin-top: 0;
    color: var(--premium-ink);
    font-size: 24px;
}

@media (max-width: 760px) {
    .exam-command-bar,
    .exam-footer-bar {
        display: grid;
    }

    .exam-timer {
        width: 100%;
    }

    .exam-question {
        padding: 20px;
    }

    .question-nav {
        width: 38px;
    }
}

/* Appzon product visual alignment layer */
:root {
    --ae-primary: #4f46e5;
    --ae-primary-dark: #4338ca;
    --ae-sky: #0ea5e9;
    --ae-emerald: #10b981;
    --ae-pink: #ec4899;
    --ae-orange: #f97316;
    --ae-slate: #1e293b;
    --ae-muted: #64748b;
    --ae-line: #e2e8f0;
    --ae-soft: #f8fafc;
    --ae-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

html {
    font-family: Outfit, Inter, "Segoe UI", system-ui, sans-serif;
}

body {
    color: #334155;
    letter-spacing: 0;
}

h1,
h2,
h3,
.panel h1,
.panel h2,
.topbar h1 {
    color: var(--ae-slate);
    font-weight: 800;
}

.candidate-shell {
    background:
        linear-gradient(135deg, rgba(79, 70, 229, 0.08), rgba(14, 165, 233, 0.08) 42%, rgba(16, 185, 129, 0.08)),
        url("appzon-bg.png") top right / 780px auto no-repeat,
        #f8fafc;
}

.candidate-topbar {
    max-width: 1280px;
    padding: 22px 24px;
}

.candidate-topbar::after {
    display: none;
}

.candidate-topbar .brand,
.candidate-mini {
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(22px) saturate(170%);
}

.candidate-topbar .brand {
    padding: 10px 18px 10px 10px;
}

.candidate-mini {
    padding: 12px 16px;
}

.brand-mark.brand-logo {
    width: 54px;
    height: 54px;
    border: 1px solid #eef2ff;
    border-radius: 16px;
    padding: 7px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(79, 70, 229, 0.14);
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand strong {
    color: #111827;
    font-size: 18px;
    font-weight: 850;
}

.brand small,
.eyebrow {
    color: var(--ae-muted);
    font-weight: 800;
    letter-spacing: 0.12em;
}

.candidate-content {
    max-width: 1280px;
}

.department-banner,
.portal-status-strip div,
.exam-dossier,
.application-desk,
.panel,
.table-wrap,
.exam-command-bar,
.exam-palette-panel,
.exam-stage,
.exam-footer-bar,
.admin-auth-brief,
.admin-login-card,
.dashboard-command,
.stat {
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 18px;
    box-shadow: var(--ae-shadow);
}

.department-banner {
    min-height: 270px;
    padding: 34px;
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0.95) 0 56%, rgba(239, 246, 255, 0.88) 56% 100%),
        url("appzon-bg.png") center right / cover no-repeat;
    backdrop-filter: blur(20px);
}

.department-banner::before {
    height: 8px;
    background: linear-gradient(90deg, var(--ae-primary), var(--ae-sky), var(--ae-emerald), var(--ae-pink));
}

.department-banner::after {
    display: none;
}

.department-seal {
    border: 0;
    border-radius: 22px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--ae-primary), var(--ae-sky));
    box-shadow: 0 18px 36px rgba(79, 70, 229, 0.28);
}

.department-copy h1 {
    color: #111827;
    font-size: clamp(36px, 4.6vw, 58px);
    font-weight: 900;
    letter-spacing: -0.02em;
}

.department-copy p {
    color: #475569;
}

.department-window {
    border-color: rgba(79, 70, 229, 0.16);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(79, 70, 229, 0.08), rgba(255, 255, 255, 0.92));
}

.department-window::before {
    background: linear-gradient(180deg, var(--ae-primary), var(--ae-sky));
}

.department-window strong {
    color: #312e81;
}

.portal-status-strip {
    gap: 14px;
}

.portal-status-strip div {
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 252, 0.9));
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.portal-status-strip div:hover,
.stat:hover,
.panel:hover {
    transform: translateY(-3px);
    box-shadow: 0 26px 52px rgba(15, 23, 42, 0.11);
}

.notice-primary,
.dashboard-command {
    background:
        linear-gradient(135deg, #4f46e5 0%, #0ea5e9 55%, #10b981 100%);
}

.notice-primary span,
.dashboard-command .eyebrow {
    color: #e0e7ff;
}

.exam-meta-row div,
.admin-auth-stats div {
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.16);
}

.notice-grid {
    background: #ffffff;
}

.notice-grid div {
    background:
        linear-gradient(135deg, rgba(79, 70, 229, 0.035), #ffffff);
}

.notice-grid b,
.form-section-title span,
.question-head strong {
    border: 0;
    color: var(--ae-primary);
    background: #eef2ff;
}

.process-timeline span {
    background: linear-gradient(135deg, var(--ae-primary), var(--ae-sky));
    box-shadow: 0 10px 18px rgba(79, 70, 229, 0.22);
}

.desk-heading {
    background:
        linear-gradient(135deg, #ffffff 0 60%, #eef2ff 60% 100%);
}

.desk-heading::before {
    height: 6px;
    background: linear-gradient(90deg, var(--ae-primary), var(--ae-sky), var(--ae-emerald), var(--ae-pink));
}

.official-form,
.returning-card {
    background: #ffffff;
}

.field input,
.field select,
.field textarea,
.control,
.readonly-control {
    border-color: #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.control:focus {
    border-color: var(--ae-primary);
    outline: 4px solid rgba(79, 70, 229, 0.14);
    background: #ffffff;
}

.btn {
    border-radius: 12px;
    font-weight: 800;
}

.btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--ae-primary), var(--ae-sky));
    box-shadow: 0 12px 26px rgba(79, 70, 229, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--ae-primary-dark), #0284c7);
}

.btn-light {
    color: #334155;
    border-color: #e2e8f0;
    background: #ffffff;
}

.status-pill {
    border-radius: 999px;
    font-weight: 900;
}

.status-open {
    color: #4338ca;
    background: #eef2ff;
}

.status-pass {
    color: #047857;
    background: #d1fae5;
}

.status-wait {
    color: #b45309;
    background: #fef3c7;
}

.status-fail {
    color: #be123c;
    background: #ffe4e6;
}

.admin-shell {
    grid-template-columns: 286px minmax(0, 1fr);
    background: #f8fafc;
}

.sidebar {
    border-right: 1px solid rgba(226, 232, 240, 0.9);
    background: #ffffff;
    box-shadow: 10px 0 32px rgba(15, 23, 42, 0.04);
}

.sidebar::after {
    display: none;
}

.sidebar .brand {
    border-bottom: 1px solid #e2e8f0;
    padding: 0 0 18px;
}

.sidebar .brand-mark {
    color: var(--ae-primary);
    border-color: #eef2ff;
    background: #ffffff;
}

.sidebar .brand strong {
    color: #111827;
}

.sidebar .brand small,
.sidebar-foot {
    color: #64748b;
}

.side-nav {
    margin-top: 20px;
    gap: 8px;
}

.side-nav a {
    position: relative;
    min-height: 48px;
    border-radius: 16px;
    padding: 10px 14px 10px 60px;
    color: #334155;
    font-weight: 750;
    overflow: hidden;
}

.side-nav a::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 8px;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 11px;
    background: #eef2ff;
}

.side-nav a:nth-child(1)::before { background: #eef2ff; }
.side-nav a:nth-child(2)::before { background: #e0f2fe; }
.side-nav a:nth-child(3)::before { background: #fce7f3; }
.side-nav a:nth-child(4)::before { background: #d1fae5; }
.side-nav a:nth-child(5)::before { background: #ffedd5; }
.side-nav a:nth-child(6)::before { background: #f3e8ff; }

.side-nav a:hover {
    color: var(--ae-primary);
    background: rgba(79, 70, 229, 0.055);
    transform: translateX(6px);
}

.side-nav a.active {
    color: var(--ae-primary);
    border-color: transparent;
    background: rgba(79, 70, 229, 0.09);
    box-shadow: none;
}

.sidebar-foot {
    border-top-color: #e2e8f0;
}

.sidebar-foot a {
    color: var(--ae-primary);
}

.topbar {
    border-bottom: 1px solid #e2e8f0;
    background: rgba(255, 255, 255, 0.86);
}

.dashboard-command {
    border: 0;
    border-radius: 22px;
}

.stat::before {
    background: linear-gradient(90deg, var(--ae-primary), var(--ae-sky), var(--ae-emerald));
}

.table-wrap {
    overflow: hidden;
    background: #ffffff;
}

th {
    color: #334155 !important;
    background: #f8fafc;
}

td {
    border-bottom-color: #eef2f7;
}

.admin-auth-screen {
    min-height: calc(100vh - 140px);
}

.admin-auth-brief {
    border: 0;
    color: #ffffff;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.15), rgba(15, 23, 42, 0.75)),
        url("appzon-bg.png") center / cover no-repeat;
}

.admin-auth-brief h1,
.admin-auth-brief p {
    color: #ffffff;
}

.admin-auth-brief .eyebrow {
    color: #e0e7ff;
}

.admin-auth-brief .department-seal {
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(18px);
}

.admin-auth-stats div {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.14);
}

.admin-auth-stats span,
.admin-auth-stats strong {
    color: #ffffff;
}

.admin-login-card {
    border-top: 0;
    border-radius: 22px;
    padding: 30px;
}

.exam-command-bar {
    border-radius: 20px;
    background: #ffffff;
}

.exam-timer {
    border: 0;
    border-radius: 16px;
    background: #eef2ff;
}

.exam-timer strong {
    color: var(--ae-primary);
}

.question-nav,
.exam-question .option {
    border-radius: 14px;
}

.question-nav.is-attempted,
.exam-question .option:has(input:checked) {
    border-color: var(--ae-primary);
    background: #eef2ff;
    color: var(--ae-primary);
}

.question-nav.is-attempted {
    color: #ffffff;
    background: linear-gradient(135deg, var(--ae-primary), var(--ae-sky));
}

@media (max-width: 920px) {
    .admin-shell {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        height: auto;
    }
}

/* Restrained government recruitment finish */
:root {
    --gov-pro-ink: #172033;
    --gov-pro-muted: #667085;
    --gov-pro-line: #d9e1ea;
    --gov-pro-bg: #f3f6f9;
    --gov-pro-card: #ffffff;
    --gov-pro-navy: #173b63;
    --gov-pro-navy-2: #24547f;
    --gov-pro-gold: #b78b2f;
    --gov-pro-shadow: 0 18px 38px rgba(23, 32, 51, 0.08);
}

.candidate-shell {
    background:
        linear-gradient(180deg, rgba(23, 59, 99, 0.08), transparent 260px),
        var(--gov-pro-bg);
}

.candidate-content {
    max-width: 1120px;
}

.candidate-topbar {
    max-width: 1120px;
    padding: 18px 20px;
}

.candidate-topbar .brand,
.candidate-mini {
    border-radius: 10px;
    border-color: var(--gov-pro-line);
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(23, 32, 51, 0.06);
    backdrop-filter: none;
}

.brand-mark.brand-logo {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    box-shadow: none;
}

.brand strong {
    color: var(--gov-pro-ink);
}

.candidate-auth-screen,
.admin-auth-screen {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(390px, 0.58fr);
    gap: 22px;
    align-items: start;
}

.candidate-auth-brief,
.candidate-access-stack,
.candidate-dashboard-head,
.exam-access-card {
    border: 1px solid var(--gov-pro-line);
    border-radius: 12px;
    background: var(--gov-pro-card);
    box-shadow: var(--gov-pro-shadow);
}

.candidate-auth-brief {
    position: relative;
    overflow: hidden;
    padding: 30px;
}

.candidate-auth-brief::before,
.access-card::before,
.candidate-dashboard-head::before,
.exam-access-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, var(--gov-pro-navy), var(--gov-pro-gold));
}

.auth-seal-row {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
}

.auth-seal-row .department-seal {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--gov-pro-navy);
    border: 2px solid var(--gov-pro-gold);
    box-shadow: inset 0 0 0 5px #fff8e8;
}

.auth-seal-row h1 {
    margin: 4px 0 0;
    color: var(--gov-pro-ink);
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.1;
    font-weight: 850;
    letter-spacing: 0;
}

.auth-exam-summary {
    margin-top: 30px;
    border: 1px solid #cfd9e5;
    border-left: 5px solid var(--gov-pro-navy);
    border-radius: 10px;
    padding: 18px;
    background: #f8fafc;
}

.auth-exam-summary span,
.auth-facts span,
.exam-access-meta span {
    display: block;
    color: var(--gov-pro-muted);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.auth-exam-summary strong {
    display: block;
    margin-top: 6px;
    color: var(--gov-pro-ink);
    font-size: 23px;
    line-height: 1.2;
}

.auth-exam-summary p {
    margin: 8px 0 0;
    color: var(--gov-pro-muted);
}

.auth-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.auth-facts div {
    border: 1px solid var(--gov-pro-line);
    border-radius: 10px;
    padding: 14px;
    background: #ffffff;
}

.auth-facts strong {
    display: block;
    margin-top: 5px;
    color: var(--gov-pro-ink);
    font-size: 16px;
}

.instruction-toggle {
    margin-top: 18px;
    border: 1px solid var(--gov-pro-line);
    border-radius: 10px;
    background: #ffffff;
}

.instruction-toggle summary,
.registration-access-card summary {
    cursor: pointer;
    list-style: none;
}

.instruction-toggle summary {
    padding: 15px 17px;
    color: var(--gov-pro-navy);
    font-weight: 850;
}

.instruction-toggle summary::-webkit-details-marker,
.registration-access-card summary::-webkit-details-marker {
    display: none;
}

.instruction-toggle ol {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0 18px 18px 38px;
    color: #334155;
}

.candidate-access-stack {
    display: grid;
    gap: 14px;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.access-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gov-pro-line);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: var(--gov-pro-shadow);
}

.login-access-card {
    padding: 28px;
}

.access-card-head {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
}

.access-card-head h2 {
    margin: 8px 0 0;
    color: var(--gov-pro-ink);
    font-size: 28px;
    line-height: 1.15;
}

.registration-access-card summary {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 20px 24px;
    color: var(--gov-pro-ink);
    font-weight: 850;
}

.registration-access-card summary small {
    color: var(--gov-pro-navy);
    font-weight: 850;
}

.compact-registration-form {
    border-top: 1px solid var(--gov-pro-line);
}

.field input,
.field select,
.field textarea,
.control,
.readonly-control {
    border-radius: 8px;
    border-color: #cbd5e1;
    background: #ffffff;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.control:focus {
    border-color: var(--gov-pro-navy-2);
    outline: 3px solid rgba(36, 84, 127, 0.14);
}

.btn {
    border-radius: 8px;
}

.btn-primary {
    background: var(--gov-pro-navy);
    box-shadow: 0 10px 20px rgba(23, 59, 99, 0.18);
}

.btn-primary:hover {
    background: var(--gov-pro-navy-2);
}

.btn-light {
    color: var(--gov-pro-navy);
}

.status-open {
    color: var(--gov-pro-navy);
    background: #e8f0f8;
}

.candidate-dashboard-head {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    margin-bottom: 20px;
    padding: 26px;
}

.candidate-dashboard-head h1 {
    margin: 3px 0 4px;
    color: var(--gov-pro-ink);
    font-size: 32px;
}

.exam-card-list {
    display: grid;
    gap: 18px;
}

.exam-access-card {
    position: relative;
    overflow: hidden;
    padding: 26px;
}

.exam-access-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
    gap: 20px;
    align-items: start;
}

.exam-access-main h2 {
    margin: 4px 0 8px;
    color: var(--gov-pro-ink);
    font-size: 28px;
}

.exam-access-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 20px 0;
}

.exam-access-meta div {
    border: 1px solid var(--gov-pro-line);
    border-radius: 10px;
    padding: 14px;
    background: #f8fafc;
}

.exam-access-meta strong {
    display: block;
    margin-top: 5px;
    color: var(--gov-pro-ink);
    font-size: 18px;
}

.exam-access-action {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--gov-pro-line);
    padding-top: 18px;
}

.slot-card {
    margin: 0;
    border-radius: 10px;
    background: #fffdf7;
}

.admin-auth-screen {
    min-height: auto;
}

.admin-auth-brief {
    color: var(--gov-pro-ink);
    background: #ffffff;
    border: 1px solid var(--gov-pro-line);
}

.admin-auth-brief::before {
    background: linear-gradient(90deg, var(--gov-pro-navy), var(--gov-pro-gold));
}

.admin-auth-brief h1,
.admin-auth-brief p,
.admin-auth-stats span,
.admin-auth-stats strong {
    color: var(--gov-pro-ink);
}

.admin-auth-brief .eyebrow {
    color: var(--gov-pro-muted);
}

.admin-auth-brief .department-seal,
.admin-auth-stats div {
    background: #f8fafc;
    border-color: var(--gov-pro-line);
    backdrop-filter: none;
}

.dashboard-command,
.notice-primary {
    background: var(--gov-pro-navy);
}

.dashboard-command .btn-primary {
    color: #ffffff;
    background: var(--gov-pro-navy-2);
}

.stat::before,
.desk-heading::before,
.department-banner::before {
    background: linear-gradient(90deg, var(--gov-pro-navy), var(--gov-pro-gold));
}

@media (max-width: 960px) {
    .candidate-auth-screen,
    .admin-auth-screen,
    .exam-access-main {
        grid-template-columns: 1fr;
    }

    .auth-facts,
    .exam-access-meta {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .candidate-dashboard-head,
    .exam-access-action,
    .registration-access-card summary {
        display: grid;
    }

    .login-access-card,
    .candidate-auth-brief,
    .exam-access-card {
        padding: 20px;
    }
}

/* Full-width production layout */
body,
.candidate-shell,
.candidate-main,
.admin-shell,
.main {
    width: 100%;
}

.candidate-topbar,
.candidate-content,
.content,
.topbar {
    width: 100% !important;
    max-width: none !important;
}

.candidate-topbar {
    padding: 18px 28px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.candidate-topbar .brand {
    flex: 1 1 auto;
    width: 100%;
}

.candidate-content,
.content {
    padding-left: 28px;
    padding-right: 28px;
}

.candidate-auth-screen,
.candidate-dashboard-head,
.exam-card-list,
.exam-interface,
.official-home,
.application-layout,
.admin-auth-screen,
.dashboard-command,
.stat-grid,
.section-title-row,
.table-wrap,
.panel,
.full-page-card {
    width: 100%;
    max-width: none;
}

.candidate-auth-screen {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.52fr);
    min-height: calc(100vh - 126px);
}

.candidate-access-stack,
.candidate-auth-brief {
    align-self: stretch;
}

.candidate-auth-brief,
.access-card,
.candidate-dashboard-head,
.exam-access-card,
.admin-auth-brief,
.admin-login-card {
    border-radius: 10px;
}

.full-page-card {
    margin: 0;
}

.centered-flow-card {
    text-align: center;
}

.brand-mark.brand-logo {
    min-width: 58px;
    width: 58px;
    height: 48px;
}

.brand-logo img {
    object-fit: contain;
}

.brand small {
    white-space: normal;
}

.admin-shell {
    min-height: 100vh;
}

.admin-shell .content {
    padding: 28px;
}

.exam-access-main {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.34fr);
}

.exam-access-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 960px) {
    .candidate-auth-screen,
    .admin-auth-screen,
    .exam-access-main,
    .exam-access-meta {
        grid-template-columns: 1fr;
    }

    .candidate-topbar,
    .candidate-content,
    .content {
        padding-left: 16px;
        padding-right: 16px;
    }
}

.pagination-bar {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    margin-top: 16px;
    border: 1px solid var(--gov-pro-line);
    border-radius: 10px;
    padding: 14px 16px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(23, 32, 51, 0.05);
}

.pagination-bar > span {
    color: var(--gov-pro-muted);
    font-weight: 750;
}

.pagination-bar div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pagination-bar .btn {
    min-height: 36px;
    padding: 7px 12px;
}

.narrow-flow-card {
    width: min(100%, 540px) !important;
    max-width: 540px !important;
    margin: 42px auto !important;
}

.centered-flow-card {
    width: min(100%, 760px) !important;
    max-width: 760px !important;
    margin: 42px auto !important;
}

.narrow-flow-card .form-grid {
    grid-template-columns: 1fr;
}

@media (max-width: 640px) {
    .pagination-bar {
        align-items: stretch;
        flex-direction: column;
    }

    .pagination-bar div {
        justify-content: flex-start;
    }
}

/* Header/footer and admin document review refinements */
.candidate-topbar,
.topbar {
    min-height: auto !important;
}

.candidate-topbar {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.topbar {
    padding-top: 14px !important;
    padding-bottom: 14px !important;
}

.sidebar .brand {
    padding-top: 18px !important;
    padding-bottom: 12px !important;
}

.brand-mark.brand-logo {
    min-width: 48px;
    width: 48px;
    height: 40px;
}

.brand strong {
    font-size: 0.98rem;
}

.app-footer {
    margin-top: auto;
    padding: 14px 28px 18px;
    color: var(--gov-pro-muted);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-align: center;
    border-top: 1px solid rgba(148, 163, 184, 0.24);
}

.admin-shell .app-footer {
    background: rgba(255, 255, 255, 0.72);
}

.candidate-main,
.main {
    display: flex;
    flex-direction: column;
}

.btn-compact {
    min-height: 32px;
    padding: 6px 10px;
    font-size: 0.82rem;
}

.stacked-action {
    display: grid;
    gap: 8px;
    justify-items: start;
}

.compact-filter-panel {
    margin-top: 18px;
}

.filter-actions .button-row {
    align-items: center;
}

.document-review-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.document-review-score {
    display: grid;
    gap: 4px;
    min-width: 210px;
    border: 1px solid var(--gov-pro-line);
    border-radius: 10px;
    padding: 14px 16px;
    background: #ffffff;
}

.document-review-score span,
.document-review-score small {
    color: var(--gov-pro-muted);
    font-weight: 750;
}

.document-review-score strong {
    color: var(--gov-pro-ink);
    font-size: 1.7rem;
}

.document-review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.document-review-card {
    display: grid;
    gap: 14px;
    border: 1px solid var(--gov-pro-line);
    border-radius: 10px;
    padding: 14px;
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(23, 32, 51, 0.07);
}

.document-preview {
    display: grid;
    place-items: center;
    min-height: 180px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.32);
    border-radius: 8px;
    background: #f8fafc;
    color: var(--gov-pro-ink);
    font-weight: 900;
    text-decoration: none;
}

.document-preview img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background: #ffffff;
}

.document-review-actions {
    margin-top: 16px;
}

@media (max-width: 720px) {
    .document-review-head {
        align-items: stretch;
        flex-direction: column;
    }
}

/* Highdmin-inspired candidate login polish */
.candidate-auth-screen {
    font-family: "Nunito Sans", "Segoe UI", sans-serif;
    gap: 22px;
    background:
        radial-gradient(circle at top left, rgba(2, 192, 206, 0.13), transparent 30%),
        #f3f6f8;
}

.candidate-auth-brief,
.access-card,
.registration-access-card {
    border: 0 !important;
    border-radius: 0.4rem !important;
    background: #ffffff !important;
    box-shadow: 0 0 35px 0 rgba(154, 161, 171, 0.15) !important;
}

.candidate-auth-brief h1,
.access-card h2 {
    color: #313a46;
    font-weight: 800;
    letter-spacing: 0;
}

.candidate-auth-brief .eyebrow,
.candidate-auth-brief .muted,
.access-card .muted {
    color: #9ba6b7 !important;
}

.department-seal,
.form-section-title span {
    background: rgba(2, 192, 206, 0.13) !important;
    color: #02c0ce !important;
    box-shadow: none !important;
}

.auth-exam-summary,
.auth-facts > div,
.instruction-toggle {
    border: 1px solid #e7e9eb !important;
    border-radius: 0.4rem !important;
    background: #f6f7fb !important;
}

.candidate-auth-screen input,
.candidate-auth-screen select {
    border: 1px solid #ced4da !important;
    border-radius: 0.3rem !important;
    background: #ffffff !important;
    box-shadow: none !important;
}

.candidate-auth-screen input:focus,
.candidate-auth-screen select:focus {
    border-color: rgba(2, 192, 206, 0.55) !important;
    box-shadow: 0 0 0 0.14rem rgba(2, 192, 206, 0.12) !important;
}

.candidate-auth-screen .btn-primary {
    background: #02c0ce !important;
    border-color: #02c0ce !important;
    box-shadow: none !important;
}

.candidate-auth-screen .btn-primary:hover {
    background: #01a3af !important;
    border-color: #01a3af !important;
}

.candidate-auth-screen .btn-light {
    color: #313a46 !important;
    background: #eef2f7 !important;
    border-color: #eef2f7 !important;
}
