:root {
    --primary: #1f7a4f;
    --primary-dark: #145236;
    --secondary: #49b675;
    --secondary-soft: #b9ecd0;
    --light: #f3fbf6;
    --text: #21352b;
    --muted: #5f7769;
    --white: #ffffff;
    --shadow: 0 16px 40px rgba(31, 122, 79, 0.1);
    --radius-lg: 28px;
    --radius-md: 20px;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top right, rgba(73, 182, 117, 0.18), transparent 22%),
        linear-gradient(180deg, #fdfefe 0%, #eef8f1 100%);
}

h1, h2, h3, h4, h5, h6, .navbar-brand, .section-eyebrow {
    font-family: 'Poppins', sans-serif;
}

a {
    text-decoration: none;
}

main {
    overflow: hidden;
}

.navbar {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(31, 122, 79, 0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary);
}

.brand-logo {
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 10px 24px rgba(31, 122, 79, 0.18);
}

.nav-link {
    color: var(--primary-dark);
    font-weight: 600;
    padding: 0.5rem 0.9rem !important;
    border-radius: 999px;
}

.nav-link.active,
.nav-link:hover {
    color: var(--primary);
    background: rgba(31, 122, 79, 0.09);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #2d9c66);
    border: none;
    box-shadow: 0 12px 24px rgba(31, 122, 79, 0.24);
}

.btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-accent {
    background: linear-gradient(135deg, var(--secondary), #73cf95);
    color: var(--white);
    border: none;
    box-shadow: 0 12px 24px rgba(73, 182, 117, 0.24);
}

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

.btn {
    transition: all 0.25s ease;
}

.hero-section,
.page-hero {
    padding-top: 9rem;
    padding-bottom: 5rem;
}

.hero-section {
    position: relative;
}

.hero-layout {
    row-gap: 3rem;
}

.hero-copy {
    padding-right: 1.5rem;
}

.hero-media {
    padding-left: 1.5rem;
}

.hero-badge,
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(73, 182, 117, 0.14);
    color: var(--secondary);
    padding: 0.55rem 1rem;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.hero-title {
    font-size: clamp(1.9rem, 1.2rem + 2.8vw, 3.25rem);
    line-height: 1.14;
    color: var(--primary-dark);
    margin: 1.3rem 0 1rem;
    max-width: min(100%, 16ch);
    text-wrap: balance;
    overflow-wrap: anywhere;
}

.page-hero h1 {
    font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.85rem);
    line-height: 1.2;
    color: var(--white);
    margin: 1rem auto 0.9rem;
    max-width: min(100%, 24ch);
    text-wrap: balance;
    overflow-wrap: anywhere;
}

.hero-text,
.lead-text {
    font-size: 1.08rem;
    color: var(--muted);
    max-width: 640px;
}

.hero-text {
    margin-bottom: 0;
    max-width: 34rem;
}

.hero-card,
.feature-card,
.program-card,
.stat-card,
.testimonial-card,
.article-card,
.contact-card,
.admin-card,
.dashboard-table-wrap,
.form-card,
.about-card,
.gallery-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(31, 122, 79, 0.1);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
}

.alert {
    border-radius: 18px;
    border: none;
    box-shadow: var(--shadow);
}

.hero-visual {
    position: relative;
    padding: 0;
    margin-left: auto;
    max-width: 100%;
}

.hero-visual-team {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.hero-visual img,
.rounded-media {
    width: 100%;
    border-radius: var(--radius-lg);
    object-fit: cover;
    display: block;
}

.hero-visual img {
    aspect-ratio: 4 / 3;
    min-height: 0;
    max-height: none;
}

.hero-visual-team img {
    aspect-ratio: 16 / 11;
    object-position: center 28%;
}

.hero-visual-caption {
    padding: 0.35rem 0.2rem 0;
}

.hero-visual-caption strong {
    color: var(--primary-dark);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.hero-visual-caption span {
    display: block;
    line-height: 1.6;
}

.hero-stats .hero-card {
    padding: 1.15rem 1rem !important;
}

.section-block {
    padding: 4.5rem 0;
}

.section-title {
    color: var(--primary-dark);
    font-size: clamp(1.8rem, 2.2vw, 2.7rem);
}

.feature-card,
.program-card,
.testimonial-card,
.article-card,
.about-card,
.gallery-card,
.contact-card,
.admin-card,
.stat-card {
    padding: 1.75rem;
    height: 100%;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.feature-card:hover,
.program-card:hover,
.testimonial-card:hover,
.article-card:hover,
.about-card:hover,
.gallery-card:hover,
.contact-card:hover,
.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 44px rgba(31, 122, 79, 0.16);
}

.icon-badge {
    width: 62px;
    height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(31, 122, 79, 0.16), rgba(73, 182, 117, 0.2));
    color: var(--primary);
    font-size: 1.55rem;
}

.program-meta,
.contact-list,
.footer-links {
    color: var(--muted);
}

.stat-card h3 {
    font-size: 2.1rem;
    color: var(--primary);
    margin-bottom: 0.4rem;
}

.testimonial-avatar,
.teacher-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
}

.article-thumb,
.gallery-img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 18px;
}

.gallery-card {
    padding: 0.9rem;
    overflow: hidden;
}

.gallery-trigger {
    position: relative;
    display: block;
    width: 100%;
    border: none;
    background: transparent;
    padding: 0;
    text-align: left;
    border-radius: 18px;
    overflow: hidden;
}

.gallery-trigger::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(20, 82, 54, 0.55) 100%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.gallery-card:hover .gallery-trigger::after,
.gallery-card:hover .gallery-view-chip {
    opacity: 1;
}

.gallery-view-chip {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.92);
    color: var(--primary-dark);
    border-radius: 999px;
    padding: 0.45rem 0.85rem;
    font-size: 0.85rem;
    font-weight: 700;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.public-summary-card,
.featured-article-card,
.featured-testimonial-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(31, 122, 79, 0.12);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
}

.public-summary-card {
    padding: 1.5rem;
    height: 100%;
}

.public-summary-card strong {
    display: block;
    color: var(--primary-dark);
    font-family: 'Poppins', sans-serif;
    font-size: 1.55rem;
    margin: 0.4rem 0 0.6rem;
}

.public-summary-card p,
.public-summary-label {
    color: var(--muted);
}

.public-summary-label {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.featured-article-card,
.featured-testimonial-card {
    padding: 1.4rem;
}

.article-thumb-featured {
    height: 100%;
    min-height: 320px;
}

.testimonial-avatar-xl {
    width: 120px;
    height: 120px;
}

.gallery-copy {
    padding: 1rem 0.35rem 0.35rem;
}

.gallery-copy h5 {
    color: var(--primary-dark);
}

.gallery-modal-content {
    border: none;
    border-radius: 26px;
    overflow: hidden;
}

.gallery-modal-image {
    width: 100%;
    max-height: 72vh;
    object-fit: contain;
    border-radius: 20px;
    background: #f7fbf8;
}

.gallery-modal-caption strong {
    display: block;
    color: var(--primary-dark);
    font-family: 'Poppins', sans-serif;
    margin-bottom: 0.25rem;
}

.page-hero {
    background: linear-gradient(135deg, rgba(20, 82, 54, 0.97), rgba(31, 122, 79, 0.92));
    color: var(--white);
    position: relative;
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(115, 207, 149, 0.22), transparent 28%);
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero .lead-text {
    max-width: 760px;
    font-size: 1.03rem;
}

.table thead th {
    background: var(--primary);
    color: var(--white);
}

.site-footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.86);
    padding: 4rem 0 1.5rem;
}

.site-footer h5,
.site-footer a {
    color: var(--white);
}

.footer-links li,
.contact-list li {
    margin-bottom: 0.85rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 2rem;
    padding-top: 1.5rem;
}

.floating-whatsapp {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: var(--white);
    font-size: 1.6rem;
    box-shadow: 0 16px 28px rgba(37, 211, 102, 0.35);
    z-index: 1040;
}

.admin-layout {
    min-height: 100vh;
    background: #f4f7fb;
}

.admin-sidebar {
    min-height: 100vh;
    background: linear-gradient(180deg, var(--primary-dark), var(--primary));
    color: var(--white);
    padding: 2rem 1rem;
}

.admin-sidebar a {
    color: rgba(255, 255, 255, 0.88);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    margin-bottom: 0.5rem;
}

.admin-sidebar a:hover,
.admin-sidebar a.active {
    background: rgba(255, 255, 255, 0.14);
    color: var(--white);
}

.admin-main {
    padding: 2rem;
}

.admin-main > .admin-card,
.admin-main > .dashboard-table-wrap,
.admin-main > .admin-core-list {
    margin-bottom: 1.5rem !important;
}

.table-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.table-actions form {
    margin: 0;
}

.admin-exam-nav-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.admin-exam-nav-card {
    display: grid;
    gap: 0.45rem;
    min-height: 160px;
    padding: 1.15rem;
    background: #fff;
    border: 1px solid rgba(31, 122, 79, 0.1);
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(19, 65, 42, 0.07);
    color: #244b38;
}

.admin-exam-nav-card:hover {
    transform: translateY(-2px);
    border-color: rgba(31, 122, 79, 0.28);
    color: #1f7a4f;
}

.admin-exam-nav-card i {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #eef8f1;
    color: #1f7a4f;
    font-size: 1.25rem;
}

.admin-exam-nav-card span {
    font-weight: 800;
}

.admin-exam-nav-card strong {
    font-family: "Poppins", sans-serif;
    font-size: 1.6rem;
    line-height: 1;
}

.admin-exam-nav-card small {
    color: #668174;
    line-height: 1.45;
}

.admin-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.admin-badges {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.admin-badges .badge {
    font-size: 0.85rem;
    padding: 0.65rem 0.9rem;
    border-radius: 999px;
}

.admin-result-highlight {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
    padding: 0.85rem;
    background: #f7fbf8;
    border: 1px solid rgba(31, 122, 79, 0.1);
    border-radius: 18px;
}

.admin-result-highlight div {
    min-width: 0;
    padding: 0.75rem 0.85rem;
    background: #fff;
    border-radius: 14px;
}

.admin-result-highlight span {
    display: block;
    color: #668174;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.admin-result-highlight strong {
    display: block;
    margin-top: 0.25rem;
    color: #214b38;
    overflow-wrap: anywhere;
}

.empty-state {
    padding: 2rem;
    text-align: center;
    color: var(--muted);
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.admin-card textarea {
    resize: vertical;
}

.search-toolbar {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.search-toolbar .form-control {
    min-width: 220px;
}

.admin-core-list {
    margin-bottom: 1.5rem;
}

.admin-core-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.admin-core-item {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(31, 122, 79, 0.12);
    border-radius: 18px;
    padding: 1rem 1.1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.admin-core-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(31, 122, 79, 0.08);
}

.admin-core-item.is-editing {
    border-color: rgba(31, 122, 79, 0.45);
    box-shadow: 0 0 0 3px rgba(31, 122, 79, 0.08);
}

.admin-core-title {
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 0.45rem;
}

.admin-core-meta {
    display: grid;
    gap: 0.3rem;
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 0.85rem;
    line-height: 1.55;
}

.admin-category-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    background: rgba(31, 122, 79, 0.1);
    border: 1px solid rgba(31, 122, 79, 0.14);
    color: #1b5b3f;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    vertical-align: middle;
}

.admin-category-filter-card {
    text-decoration: none;
    color: inherit;
}

.admin-category-filter-card:hover {
    text-decoration: none;
    color: inherit;
}

.admin-category-tabs {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
}

.admin-category-tab {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.72rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(31, 122, 79, 0.12);
    color: #426453;
    text-decoration: none;
    transition: all 0.18s ease;
}

.admin-category-tab:hover {
    color: #1b5b3f;
    border-color: rgba(31, 122, 79, 0.22);
    text-decoration: none;
}

.admin-category-tab span {
    font-size: 0.85rem;
    font-weight: 600;
}

.admin-category-tab strong {
    font-size: 0.8rem;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    background: rgba(31, 122, 79, 0.08);
    color: #1b5b3f;
}

.admin-category-tab.is-active {
    background: linear-gradient(180deg, rgba(241, 250, 245, 0.98), rgba(255, 255, 255, 0.98));
    border-color: rgba(31, 122, 79, 0.28);
    box-shadow: 0 14px 30px rgba(31, 122, 79, 0.08);
    color: #184a35;
}

.admin-category-stat-row {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
    align-items: center;
}

.admin-status-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.admin-status-chip.is-active {
    background: rgba(31, 122, 79, 0.12);
    color: #1b5b3f;
}

.admin-status-chip.is-inactive {
    background: rgba(143, 157, 148, 0.14);
    color: #5e7367;
}

.admin-exam-groups {
    display: grid;
    gap: 1rem;
}

.admin-exam-group {
    padding: 1rem 1.05rem 1.1rem;
    border-radius: 22px;
    background: rgba(248, 252, 249, 0.94);
    border: 1px solid rgba(31, 122, 79, 0.1);
}

.admin-exam-group-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.9rem;
}

.admin-exam-group-head h3 {
    margin: 0 0 0.2rem;
    font-size: 1.02rem;
    font-family: "Poppins", sans-serif;
    color: #184a35;
}

.admin-exam-group-head p {
    margin: 0;
    color: #688275;
    font-size: 0.88rem;
}

.admin-core-empty {
    margin-top: 1.25rem;
    padding: 1rem 1.1rem;
    border: 1px dashed rgba(31, 122, 79, 0.22);
    border-radius: 18px;
    color: var(--muted);
    background: rgba(31, 122, 79, 0.03);
}

.thumb-preview {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid rgba(31, 122, 79, 0.12);
}

.admin-gallery-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.admin-gallery-thumb {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid rgba(31, 122, 79, 0.12);
    display: block;
}

.admin-gallery-body {
    flex: 1 1 320px;
}

.form-control,
.form-select {
    border-radius: 14px;
    padding: 0.85rem 1rem;
    border-color: rgba(31, 122, 79, 0.16);
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(31, 122, 79, 0.4);
    box-shadow: 0 0 0 0.25rem rgba(31, 122, 79, 0.12);
}

.dashboard-table-wrap .table {
    margin-bottom: 0;
}

.dashboard-table-wrap thead th {
    font-size: 0.85rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
}

.dashboard-table-wrap tbody td {
    vertical-align: middle;
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
}

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(20, 82, 54, 0.95), rgba(73, 182, 117, 0.9));
}

.login-card {
    max-width: 460px;
    margin: 0 auto;
    padding: 2rem;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 26px 50px rgba(20, 82, 54, 0.24);
}

.exam-category-card {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 1rem;
    align-items: start;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid rgba(31, 122, 79, 0.1);
    border-radius: 24px;
    box-shadow: 0 20px 45px rgba(19, 65, 42, 0.08);
    padding: 1.25rem;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.exam-category-card:hover,
.exam-category-card.is-active {
    transform: translateY(-4px);
    box-shadow: 0 28px 60px rgba(19, 65, 42, 0.12);
    border-color: rgba(31, 122, 79, 0.32);
}

.exam-category-icon {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #1f7a4f, #57b16d);
    font-size: 1.7rem;
}

.exam-category-card h3,
.exam-question-card h3 {
    font-family: "Poppins", sans-serif;
}

.exam-question-text {
    margin-bottom: 1rem;
    color: #1d4f38;
}

.exam-question-media {
    margin-bottom: 1rem;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(31, 122, 79, 0.12);
    background: #f7fbf8;
}

.exam-question-media img {
    display: block;
    width: 100%;
    max-height: 380px;
    object-fit: contain;
    background: #fff;
}

.exam-category-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.45rem;
}

.exam-category-card p {
    color: #60776a;
    margin-bottom: 0.8rem;
}

.exam-category-meta,
.exam-summary-list {
    display: grid;
    gap: 0.65rem;
}

.exam-category-meta {
    font-size: 0.92rem;
}

.exam-category-meta span {
    color: #60776a;
}

.exam-summary-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.exam-summary-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: #335443;
    border-bottom: 1px solid rgba(31, 122, 79, 0.1);
    padding-bottom: 0.65rem;
}

.exam-anbk-shell {
    display: grid;
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.exam-anbk-shell.is-result-mode {
    display: block;
}

.exam-intro-card {
    background: #fff;
    border: 1px solid rgba(31, 122, 79, 0.1);
    border-radius: 28px;
    box-shadow: 0 20px 45px rgba(19, 65, 42, 0.08);
    padding: 1.75rem;
}

.exam-session-hero {
    padding: 8.5rem 0 3.5rem;
    background:
        linear-gradient(135deg, rgba(18, 70, 54, 0.98), rgba(30, 118, 80, 0.94)),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent);
    overflow: hidden;
}

.exam-session-hero::after {
    background:
        linear-gradient(110deg, rgba(255, 255, 255, 0.12), transparent 42%),
        radial-gradient(circle at top right, rgba(239, 211, 94, 0.22), transparent 30%);
}

.exam-session-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: 2rem;
    align-items: end;
}

.exam-session-hero-copy {
    max-width: 680px;
}

.exam-session-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0.8rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
}

.exam-session-brand img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 14px;
    background: #fff;
    padding: 0.18rem;
}

.exam-session-brand span,
.exam-session-brand strong {
    display: block;
    color: #fff;
    line-height: 1.2;
}

.exam-session-brand span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 700;
}

.exam-session-brand strong {
    font-family: "Poppins", sans-serif;
    font-size: 1.05rem;
}

.exam-session-hero h1 {
    max-width: 22ch;
    margin-left: 0;
    margin-right: 0;
}

.exam-session-hero .lead-text {
    max-width: 560px;
    color: rgba(255, 255, 255, 0.82);
}

.exam-session-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.35rem;
}

.exam-session-hero-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(12px);
}

.exam-session-hero-summary .exam-session-brand {
    grid-column: 1 / -1;
    width: 100%;
    background: rgba(255, 255, 255, 0.16);
}

.exam-session-hero-summary div {
    min-width: 0;
    padding: 0.85rem;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 14px;
}

.exam-session-hero-summary span {
    display: block;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.exam-session-hero-summary strong {
    display: block;
    margin-top: 0.28rem;
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 1rem;
    overflow-wrap: anywhere;
}

.exam-session-page {
    background:
        radial-gradient(circle at top right, rgba(115, 207, 149, 0.09), transparent 24%),
        linear-gradient(180deg, #f8fcf9 0%, #f1f8f2 100%);
}

.exam-intro-card h2,
.exam-intro-rules h3 {
    font-family: "Poppins", sans-serif;
}

.exam-start-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.exam-start-panel h2 {
    font-family: "Poppins", sans-serif;
    margin-bottom: 0.5rem;
}

.exam-start-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.75rem;
}

.exam-intro-rules {
    padding: 1rem 1.15rem;
    background: rgba(31, 122, 79, 0.05);
    border-radius: 20px;
}

.exam-intro-rules ul {
    margin: 0.75rem 0 0;
    padding-left: 1.1rem;
    color: #456858;
}

.exam-intro-rules li + li {
    margin-top: 0.45rem;
}

.exam-anbk-sidebar,
.exam-anbk-main {
    display: grid;
    gap: 1rem;
}

.exam-anbk-sidebar {
    position: sticky;
    top: 110px;
}

.exam-anbk-panel,
.exam-participant-bar {
    display: grid;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: #fff;
    border: 1px solid rgba(31, 122, 79, 0.1);
    border-radius: 24px;
    box-shadow: 0 20px 45px rgba(19, 65, 42, 0.08);
}

.exam-participant-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.exam-participant-copy {
    min-width: 220px;
}

.exam-participant-chip {
    display: grid;
    gap: 0.2rem;
    padding: 0.85rem 1rem;
    min-width: 180px;
    border-radius: 18px;
    background: rgba(31, 122, 79, 0.06);
    border: 1px solid rgba(31, 122, 79, 0.1);
}

.exam-participant-chip span {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #5b7868;
}

.exam-participant-chip strong {
    color: #1d4f38;
    font-family: "Poppins", sans-serif;
}

.exam-category-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 76px;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    background: rgba(20, 82, 54, 0.1);
    border: 1px solid rgba(20, 82, 54, 0.14);
    color: #1d4f38;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.exam-timer-box {
    display: grid;
    gap: 0.15rem;
    min-width: 116px;
    padding: 0.75rem 1rem;
    border-radius: 18px;
    background: rgba(31, 122, 79, 0.08);
    color: #1f7a4f;
    text-align: center;
}

.exam-timer-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #5a7867;
}

.exam-timer-box strong {
    font-size: 1.25rem;
    line-height: 1;
}

.exam-result-box,
.exam-question-card {
    background: #fff;
    border: 1px solid rgba(31, 122, 79, 0.1);
    border-radius: 24px;
    box-shadow: 0 20px 45px rgba(19, 65, 42, 0.08);
}

.exam-anbk-topbar,
.exam-anbk-footer {
    background: #fff;
    border: 1px solid rgba(31, 122, 79, 0.1);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 20px 45px rgba(19, 65, 42, 0.08);
}

.exam-result-box {
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    background: linear-gradient(180deg, rgba(214, 244, 224, 0.9), rgba(255, 255, 255, 0.96));
}

body.exam-result-open {
    overflow: hidden;
}

body.exam-confirm-open {
    overflow: hidden;
}

.exam-result-box.is-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    margin: 0;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 250, 246, 0.98);
    overflow-y: auto;
}

.exam-result-box.is-overlay .exam-result-summary {
    width: min(960px, 100%);
    background: #fff;
    border: 1px solid rgba(31, 122, 79, 0.12);
    border-radius: 30px;
    padding: 2rem;
    box-shadow: 0 28px 70px rgba(16, 60, 39, 0.14);
}

.exam-result-summary {
    display: grid;
    gap: 1.2rem;
}

.exam-result-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.exam-result-head h3 {
    margin: 0.35rem 0 0.45rem;
    color: #184a35;
    font-family: "Poppins", sans-serif;
    font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem);
}

.exam-result-head p {
    color: #557264;
    max-width: 56ch;
}

.exam-result-badge {
    min-width: 220px;
    padding: 0.95rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(31, 122, 79, 0.12);
    background: rgba(255, 255, 255, 0.72);
}

.exam-result-badge span {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6b8376;
    margin-bottom: 0.35rem;
}

.exam-result-badge strong {
    display: block;
    color: #184a35;
    font-family: "Poppins", sans-serif;
}

.exam-result-badge.is-timeout {
    border-color: rgba(240, 173, 78, 0.35);
    background: rgba(255, 246, 228, 0.9);
}

.exam-result-badge.is-manual {
    border-color: rgba(31, 122, 79, 0.18);
    background: rgba(240, 250, 244, 0.92);
}

.exam-result-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.exam-result-stats div {
    border-radius: 18px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(31, 122, 79, 0.1);
}

.exam-result-stats span {
    display: block;
    color: #688275;
    font-size: 0.82rem;
    margin-bottom: 0.3rem;
}

.exam-result-stats strong {
    display: block;
    color: #1a4c37;
    font-family: "Poppins", sans-serif;
    font-size: 1.1rem;
}

.exam-result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.exam-result-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(280px, 0.95fr);
    gap: 1.25rem;
    align-items: start;
}

.exam-score-hero {
    display: flex;
    justify-content: flex-start;
}

.exam-score-hero-card {
    min-width: min(100%, 320px);
    padding: 1.35rem 1.5rem;
    border-radius: 24px;
    background: linear-gradient(160deg, rgba(20, 82, 54, 0.98), rgba(31, 122, 79, 0.94));
    color: #fff;
    box-shadow: 0 20px 40px rgba(16, 60, 39, 0.16);
}

.exam-score-hero-card span {
    display: block;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.76);
}

.exam-score-hero-card strong {
    display: block;
    margin: 0.4rem 0 0.2rem;
    font-family: "Poppins", sans-serif;
    font-size: clamp(2.3rem, 1.6rem + 2vw, 3.6rem);
    line-height: 1;
    color: #fff;
}

.exam-score-hero-card small {
    display: block;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.82);
}

.exam-result-sidecard {
    padding: 1.35rem 1.35rem 1.5rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(31, 122, 79, 0.1);
    box-shadow: 0 18px 40px rgba(16, 60, 39, 0.08);
}

.exam-result-sidecard h2 {
    margin: 0.45rem 0 1rem;
    font-family: "Poppins", sans-serif;
    font-size: 1.25rem;
    color: #184a35;
}

.exam-result-sidegrid {
    display: grid;
    gap: 0.8rem;
}

.exam-result-sidegrid div {
    padding: 0.95rem 1rem;
    border-radius: 18px;
    background: rgba(243, 249, 245, 0.96);
    border: 1px solid rgba(31, 122, 79, 0.08);
}

.exam-result-sidegrid span {
    display: block;
    color: #688275;
    font-size: 0.78rem;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.exam-result-sidegrid strong {
    display: block;
    color: #184a35;
    font-family: "Poppins", sans-serif;
}

.exam-result-note {
    margin-top: 1rem;
    padding: 1rem 1rem 1.05rem;
    border-radius: 18px;
    background: rgba(224, 243, 231, 0.85);
    border: 1px solid rgba(31, 122, 79, 0.1);
}

.exam-result-note h3 {
    margin: 0 0 0.45rem;
    font-size: 0.98rem;
    font-family: "Poppins", sans-serif;
    color: #184a35;
}

.exam-result-note p {
    color: #557264;
}

.exam-finish-confirm {
    position: fixed;
    inset: 0;
    z-index: 1900;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 250, 246, 0.98);
    overflow-y: auto;
}

.exam-finish-card {
    background: #fff;
    border: 1px solid rgba(31, 122, 79, 0.14);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 20px 45px rgba(19, 65, 42, 0.08);
    width: min(860px, 100%);
}

.exam-finish-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
    margin: 1rem 0 1.25rem;
}

.exam-finish-grid div {
    background: rgba(31, 122, 79, 0.05);
    border-radius: 18px;
    padding: 0.9rem 1rem;
    text-align: center;
}

.exam-finish-grid span {
    display: block;
    color: #60776a;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.exam-finish-grid strong {
    font-size: 1.1rem;
    color: #234a38;
}

.exam-question-card {
    padding: 1.35rem;
    display: none;
}

.exam-anbk-topbar h3 {
    font-family: "Poppins", sans-serif;
}

.exam-question-card.is-current {
    display: block;
}

.exam-question-card.is-doubt {
    border-color: rgba(240, 173, 78, 0.35);
}

.exam-question-card.is-answered:not(.is-current) {
    border-color: rgba(31, 122, 79, 0.18);
}

.exam-number-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.6rem;
}

.exam-number-btn {
    border: 1px solid rgba(31, 122, 79, 0.14);
    background: #fbfdfb;
    color: #234a38;
    border-radius: 14px;
    min-height: 46px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.exam-number-btn:hover {
    border-color: rgba(31, 122, 79, 0.28);
    background: rgba(31, 122, 79, 0.06);
}

.exam-number-btn.is-current {
    background: #1f7a4f;
    border-color: #1f7a4f;
    color: #fff;
}

.exam-number-btn.is-answered {
    background: rgba(31, 122, 79, 0.1);
    border-color: rgba(31, 122, 79, 0.28);
}

.exam-number-btn.is-doubt {
    background: rgba(240, 173, 78, 0.18);
    border-color: rgba(240, 173, 78, 0.42);
}

.exam-legend {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    font-size: 0.88rem;
    color: #60776a;
    margin-bottom: 1rem;
}

.exam-status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    margin-right: 0.35rem;
    background: #d2dbd5;
}

.exam-status-dot.is-current {
    background: #1f7a4f;
}

.exam-status-dot.is-answered {
    background: #6bbb83;
}

.exam-status-dot.is-doubt {
    background: #f0ad4e;
}

.exam-anbk-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.exam-anbk-progress {
    font-weight: 600;
    color: #335443;
}

.exam-question-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.exam-question-number,
.exam-question-subject {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.35rem 0.8rem;
    font-size: 0.85rem;
}

.exam-question-number {
    background: rgba(31, 122, 79, 0.1);
    color: #1f7a4f;
}

.exam-anbk-questions {
    display: grid;
    gap: 1rem;
}

.exam-question-subject {
    background: rgba(255, 166, 0, 0.12);
    color: #9b6000;
}

.exam-options {
    display: grid;
    gap: 0.8rem;
}

.exam-option {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(31, 122, 79, 0.12);
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.exam-option:hover {
    background: rgba(31, 122, 79, 0.04);
    border-color: rgba(31, 122, 79, 0.24);
}

.exam-option input {
    margin-top: 0.25rem;
}

.exam-option span {
    white-space: pre-line;
}

.exam-option-image-wrap {
    display: block;
    margin-top: 0.7rem;
}

.exam-option-image {
    display: block;
    width: 100%;
    max-width: 260px;
    border-radius: 14px;
    border: 1px solid rgba(31, 122, 79, 0.12);
    background: #fff;
}

.exam-explanation {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(31, 122, 79, 0.18);
    color: #456858;
    white-space: pre-line;
}

.admin-question-preview-image,
.admin-answer-image {
    display: block;
    width: 100%;
    max-width: 320px;
    border-radius: 16px;
    border: 1px solid rgba(31, 122, 79, 0.12);
    background: #fff;
}

.admin-preline-text {
    white-space: pre-line;
}

.admin-option-preview-list {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.admin-option-editor {
    height: 100%;
    padding: 0.9rem;
    border: 1px solid rgba(31, 122, 79, 0.1);
    border-radius: 18px;
    background: #fafdfb;
}

.admin-option-editor-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.admin-option-label {
    font-weight: 700;
    color: #214b38;
}

.admin-option-editor-image {
    display: block;
    width: 100%;
    max-width: 220px;
    border-radius: 14px;
    border: 1px solid rgba(31, 122, 79, 0.12);
    background: #fff;
}

.admin-option-preview-item {
    padding: 0.8rem 0.9rem;
    border: 1px solid rgba(31, 122, 79, 0.1);
    border-radius: 16px;
    background: #fafdfb;
}

.admin-option-preview-item strong {
    display: inline-block;
    margin-right: 0.35rem;
}

.admin-option-preview-image {
    display: block;
    width: 100%;
    max-width: 220px;
    border-radius: 14px;
    border: 1px solid rgba(31, 122, 79, 0.12);
    background: #fff;
}

.exam-login-page {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at top left, rgba(115, 207, 149, 0.16), transparent 26%),
        linear-gradient(180deg, #f6fbf7 0%, #eef8f0 100%);
}

.exam-login-shell {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(31, 122, 79, 0.14);
    border-radius: 32px;
    box-shadow: 0 24px 60px rgba(16, 60, 39, 0.12);
    overflow: hidden;
}

.exam-login-aside {
    height: 100%;
    padding: 2.75rem;
    background: linear-gradient(155deg, rgba(20, 82, 54, 0.98), rgba(31, 122, 79, 0.92));
    color: var(--white);
}

.exam-login-aside h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 1.35rem + 1.8vw, 2.8rem);
    line-height: 1.16;
    margin: 0.85rem 0 1rem;
    max-width: 14ch;
}

.exam-login-aside p {
    color: rgba(255, 255, 255, 0.82);
    max-width: 54ch;
    margin-bottom: 1.5rem;
}

.exam-login-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin: 1.8rem 0;
}

.exam-login-stat {
    padding: 1rem 1.1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.exam-login-stat span {
    display: block;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.68);
    margin-bottom: 0.35rem;
}

.exam-login-stat strong {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: var(--white);
}

.exam-login-note {
    margin-top: 1.8rem;
    padding: 1.2rem 1.25rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.exam-login-note h2 {
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 0.8rem;
    color: var(--white);
}

.exam-login-note ul {
    margin: 0;
    padding-left: 1rem;
    color: rgba(255, 255, 255, 0.82);
}

.exam-login-note li + li {
    margin-top: 0.45rem;
}

.exam-login-note.compact-note {
    margin-top: 0;
    border-radius: 14px;
    background: rgba(26, 117, 78, 0.08);
    border-color: rgba(26, 117, 78, 0.16);
}

.exam-login-note.compact-note h2 {
    margin-bottom: 0.35rem;
    color: var(--dark);
}

.exam-login-note.compact-note p {
    color: var(--text-muted);
}

.exam-login-form-wrap {
    height: 100%;
    padding: 2.75rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 248, 0.98));
}

.exam-login-brand-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
    min-height: 360px;
    padding: 2.75rem;
    background: linear-gradient(145deg, rgba(22, 82, 57, 0.98), rgba(32, 126, 83, 0.92));
    color: #fff;
}

.exam-login-brand-panel img {
    width: 92px;
    height: 92px;
    object-fit: cover;
    border-radius: 22px;
    background: #fff;
    padding: 0.35rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.exam-login-brand-panel span,
.exam-login-brand-panel strong {
    display: block;
    line-height: 1.15;
}

.exam-login-brand-panel span {
    color: rgba(255, 255, 255, 0.72);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.82rem;
}

.exam-login-brand-panel strong {
    margin-top: 0.35rem;
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.5rem);
}

.exam-category-picker {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.exam-category-choice {
    position: relative;
}

.exam-category-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.exam-category-card-selectable {
    height: 100%;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.exam-category-radio:checked + .exam-category-card-selectable {
    transform: translateY(-4px);
    box-shadow: 0 28px 60px rgba(19, 65, 42, 0.12);
    border-color: rgba(31, 122, 79, 0.32);
    background: linear-gradient(180deg, rgba(242, 251, 245, 0.98), rgba(255, 255, 255, 0.98));
}

.exam-category-radio:focus-visible + .exam-category-card-selectable {
    outline: 3px solid rgba(31, 122, 79, 0.18);
    outline-offset: 3px;
}

.exam-login-action-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    padding-top: 0.35rem;
}

.exam-question-card.is-correct {
    border-color: rgba(31, 122, 79, 0.3);
    background: linear-gradient(180deg, rgba(220, 246, 228, 0.75), #fff);
}

.exam-question-card.is-wrong {
    border-color: rgba(204, 94, 63, 0.25);
    background: linear-gradient(180deg, rgba(255, 238, 232, 0.85), #fff);
}

@media (max-width: 991.98px) {
    .hero-section,
    .page-hero {
        padding-top: 8rem;
    }

    .exam-login-page {
        min-height: auto;
        padding-top: 8rem !important;
    }

    .exam-login-aside,
    .exam-login-brand-panel,
    .exam-login-form-wrap {
        padding: 2rem;
    }

    .exam-login-brand-panel {
        min-height: 240px;
    }

    .exam-category-picker {
        grid-template-columns: 1fr;
    }

    .exam-login-aside h1 {
        max-width: 100%;
    }

    .exam-session-hero {
        padding: 7.5rem 0 2.5rem;
    }

    .exam-session-hero-layout {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .exam-session-hero-summary {
        max-width: 520px;
    }

    .exam-start-panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .exam-start-actions {
        justify-content: flex-start;
    }

    .hero-copy,
    .hero-media {
        padding-left: calc(var(--bs-gutter-x) * 0.5);
        padding-right: calc(var(--bs-gutter-x) * 0.5);
    }

    .hero-title {
        font-size: clamp(1.85rem, 1.1rem + 2.7vw, 2.75rem);
        max-width: min(100%, 20ch);
    }

    .page-hero h1 {
        font-size: clamp(1.8rem, 1.15rem + 1.9vw, 2.35rem);
        max-width: min(100%, 26ch);
    }

    .hero-visual-team img {
        aspect-ratio: 4 / 3;
        object-position: center 24%;
    }

    .exam-anbk-shell {
        grid-template-columns: 1fr;
    }

    .exam-anbk-sidebar {
        position: static;
    }

    .exam-result-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .exam-result-page-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .section-block {
        padding: 3.5rem 0;
    }

    .exam-login-stat-grid {
        grid-template-columns: 1fr;
    }

    .exam-participant-chip {
        min-width: 100%;
    }

    .exam-login-action-bar {
        flex-direction: column;
    }

    .exam-login-action-bar .btn {
        width: 100%;
    }

    .exam-result-stats {
        grid-template-columns: 1fr;
    }

    .admin-result-highlight {
        grid-template-columns: 1fr;
    }

    .admin-exam-nav-cards {
        grid-template-columns: 1fr;
    }

    .exam-result-badge {
        min-width: 100%;
    }

    .exam-score-hero-card {
        min-width: 100%;
    }

    .hero-layout {
        row-gap: 2rem;
    }

    .hero-copy,
    .hero-media {
        padding-left: calc(var(--bs-gutter-x) * 0.5);
        padding-right: calc(var(--bs-gutter-x) * 0.5);
    }

    .hero-title {
        font-size: clamp(1.6rem, 1.15rem + 2.6vw, 2.05rem);
        max-width: 100%;
        text-wrap: pretty;
    }

    .page-hero h1 {
        font-size: clamp(1.55rem, 1.1rem + 2vw, 1.95rem);
        max-width: 100%;
        text-wrap: pretty;
    }

    .exam-session-hero-summary {
        grid-template-columns: 1fr;
    }

    .exam-session-brand {
        width: 100%;
    }

    .exam-start-actions,
    .exam-start-actions .btn {
        width: 100%;
    }

    .hero-visual-team img {
        aspect-ratio: 5 / 4;
        object-position: center 24%;
    }

    .page-hero .lead-text {
        font-size: 0.98rem;
        max-width: 100%;
    }

    .navbar-collapse {
        background: var(--white);
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 18px;
        box-shadow: var(--shadow);
    }

    .admin-main {
        padding: 1.25rem;
    }

    .exam-category-card {
        grid-template-columns: 1fr;
    }

    .exam-category-icon {
        width: 60px;
        height: 60px;
        border-radius: 18px;
    }

    .exam-anbk-topbar,
    .exam-anbk-footer,
    .exam-question-card {
        padding: 1rem;
    }

    .exam-number-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

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