:root {
    --primary: #0d47a1;
    --primary-dark: #09357a;
    --primary-soft: #e3f2fd;
    --accent: #fbc02d;
    --accent-dark: #d9a619;
    --surface: #ffffff;
    --surface-soft: rgba(255, 255, 255, 0.76);
    --border: rgba(13, 71, 161, 0.12);
    --text: #16324f;
    --muted: #6b7a90;
    --shadow: 0 24px 60px rgba(13, 71, 161, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Plus Jakarta Sans", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(13, 71, 161, 0.14), transparent 28%),
        radial-gradient(circle at bottom right, rgba(251, 192, 45, 0.20), transparent 26%),
        #f8fbff;
}

a {
    text-decoration: none;
}

.app-shell,
.admin-shell,
.admin-auth-shell {
    min-height: 100vh;
}

.app-shell {
    font-family: "Poppins", sans-serif;
}

.admin-shell,
.admin-auth-shell {
    font-family: "Poppins", sans-serif;
    background: #f4f7fc;
}

.hero-card,
.success-card,
.form-wrapper,
.admin-auth-card {
    position: relative;
    max-width: 1100px;
}

.form-wrapper {
    max-width: 880px;
    padding: 28px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 255, 0.94));
    border: 1px solid rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow);
}

.identity-shell {
    max-width: 1120px;
}

.identity-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 24px;
    align-items: stretch;
}

.identity-grid-single {
    grid-template-columns: minmax(0, 1fr);
    max-width: 760px;
    margin: 0 auto;
}

.identity-side,
.identity-form-card {
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.84);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.identity-side {
    padding: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(237, 244, 255, 0.92));
}

.identity-brand {
    display: grid;
    gap: 18px;
}

.identity-brand-inline {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.identity-brand-copy {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.identity-brand-copy strong {
    color: #0b376f;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    line-height: 1.45;
}

.identity-brand-copy span {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.identity-steps {
    display: grid;
    gap: 14px;
    margin-top: 26px;
}

.identity-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(13, 71, 161, 0.08);
}

.identity-step-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(13, 71, 161, 0.08);
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.identity-step strong {
    display: block;
    margin-bottom: 4px;
    color: #0b376f;
    line-height: 1.45;
}

.identity-step p {
    color: var(--muted);
    line-height: 1.6;
    font-size: 0.92rem;
}

.identity-form-card {
    padding: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.95));
}

.identity-form-head {
    margin-bottom: 8px;
}

.identity-note {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(13, 71, 161, 0.07);
    color: var(--primary);
    font-weight: 600;
    line-height: 1.6;
}

.hero-card,
.success-card,
.admin-header-card {
    overflow: hidden;
}

.hero-card,
.success-card,
.admin-header-card,
.admin-stat-card,
.info-card,
.credential-card,
.timer-pill,
.card,
.question-chip,
.option-card,
.status-note {
    backdrop-filter: blur(18px);
}

.hero-card,
.success-card,
.admin-header-card,
.admin-stat-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.82));
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow);
    border-radius: 28px;
}

.hero-card,
.success-card {
    padding: 28px;
}

.landing-hero {
    max-width: 1180px;
    padding: 24px;
}

.landing-section,
.landing-bottom-card {
    max-width: 1180px;
}

.landing-topbar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    margin-bottom: 26px;
    padding: 18px 20px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 12px 28px rgba(13, 71, 161, 0.06);
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(13, 71, 161, 0.1);
}

.landing-brand-lockup {
    margin-bottom: 0;
}

.landing-brand {
    font-size: 1rem;
    font-weight: 800;
    color: #0a3168;
}

.landing-brand-sub {
    font-size: 0.86rem;
    color: var(--muted);
}

.landing-copy,
.landing-side-panel {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.landing-copy {
    justify-content: center;
    padding: 10px 4px;
}

.landing-copy,
.landing-guide-card,
.landing-footer,
.landing-illustration-card,
.form-wrapper,
.success-card,
.test-hero {
    position: relative;
    z-index: 1;
}

.hero-subtitle-left,
.page-subtitle-left {
    margin-left: 0;
    margin-right: 0;
}

.landing-feature-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.landing-feature-pill {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(13, 71, 161, 0.08);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 700;
}

.landing-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.landing-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 8px;
}

.landing-stat-card,
.landing-side-box,
.landing-info-card,
.landing-bottom-card {
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(13, 71, 161, 0.12);
    box-shadow: 0 18px 40px rgba(13, 71, 161, 0.08);
}

.landing-stat-card,
.landing-side-box,
.landing-info-card {
    border-radius: 24px;
    padding: 20px;
}

.landing-stat-card small,
.landing-side-label {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.landing-stat-card strong {
    display: block;
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 6px;
}

.landing-stat-card span,
.landing-info-text {
    color: var(--muted);
    line-height: 1.7;
    font-size: 0.93rem;
}

.landing-side-box-soft {
    background: linear-gradient(180deg, rgba(13, 71, 161, 0.06), rgba(251, 192, 45, 0.12));
}

.landing-info-card {
    height: 100%;
}

.landing-info-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), #2971e3);
    color: #fff;
    font-weight: 800;
}

.landing-bottom-card {
    border-radius: 28px;
    padding: 28px;
}

.landing-premium {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(242, 247, 255, 0.95));
    overflow: hidden;
}

.landing-hero-underline {
    width: 132px;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), #ffd659);
}

.landing-hero-caption {
    color: var(--muted);
    line-height: 1.8;
    max-width: 560px;
}

.landing-illustration-card {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: center;
    border-radius: 30px;
    background: linear-gradient(180deg, #eef5ff, #f9fbff);
    overflow: hidden;
    border: 1px solid rgba(13, 71, 161, 0.08);
}

.landing-illustration-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(13, 71, 161, 0.12), transparent 35%),
        radial-gradient(circle at bottom right, rgba(251, 192, 45, 0.15), transparent 25%);
}

.landing-illustration-card::before,
.landing-illustration-card::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: rgba(13, 71, 161, 0.08);
}

.landing-illustration-card::before {
    width: 320px;
    height: 320px;
    top: -120px;
    left: -90px;
}

.landing-illustration-card::after {
    width: 220px;
    height: 220px;
    bottom: -90px;
    right: -60px;
}

.clipboard-illustration {
    position: relative;
    z-index: 1;
    width: min(280px, 100%);
    margin: 54px auto 40px;
    padding-top: 18px;
}

.clipboard-sheet {
    width: 100%;
    padding: 28px 22px;
    border-radius: 28px;
    background: #fff;
    border: 8px solid #1556be;
    box-shadow: 0 22px 40px rgba(13, 71, 161, 0.16);
    transform: rotate(-6deg);
}

.clipboard-clip {
    position: absolute;
    top: 0;
    left: 50%;
    width: 72px;
    height: 28px;
    transform: translateX(-50%);
    border-radius: 18px;
    background: #2f74df;
    box-shadow: 0 10px 18px rgba(13, 71, 161, 0.14);
}

.clipboard-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.clipboard-row:last-child {
    margin-bottom: 0;
}

.clipboard-check {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(13, 71, 161, 0.1);
    color: var(--primary);
    font-size: 1rem;
    flex-shrink: 0;
}

.clipboard-line {
    display: block;
    flex: 1;
    min-width: 120px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(13, 71, 161, 0.22), rgba(13, 71, 161, 0.08));
}

.clipboard-line-sm {
    max-width: 78%;
}

.clipboard-bulb {
    position: absolute;
    right: -8px;
    bottom: -12px;
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #ffd54f);
    color: #705300;
    font-size: 2rem;
    box-shadow: 0 14px 30px rgba(251, 192, 45, 0.3);
}

.landing-wave-wrap {
    position: relative;
    height: 88px;
    margin: 24px -24px 0;
}

.landing-wave {
    position: absolute;
    left: -2%;
    right: -2%;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.wave-yellow {
    bottom: 24px;
    height: 54px;
    background: linear-gradient(90deg, #ffd54f, var(--accent));
}

.wave-blue {
    bottom: 0;
    height: 66px;
    background: linear-gradient(90deg, #195fcf, var(--primary));
}

.landing-guide-card {
    position: relative;
    z-index: 1;
    margin-top: -6px;
    padding: 28px 24px 24px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(13, 71, 161, 0.08);
    box-shadow: 0 18px 40px rgba(13, 71, 161, 0.08);
}

.landing-guide-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.landing-guide-list {
    display: grid;
    gap: 10px;
}

.landing-guide-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 16px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(235, 243, 255, 0.72));
    border: 1px solid rgba(13, 71, 161, 0.08);
    box-shadow: 0 10px 24px rgba(13, 71, 161, 0.05);
}

.landing-guide-item > div {
    flex: 1;
    min-width: 0;
}

.landing-guide-item:last-child {
    border-bottom: 1px solid rgba(13, 71, 161, 0.08);
}

.landing-guide-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(13, 71, 161, 0.08), rgba(227, 242, 253, 0.9));
    color: var(--primary);
    font-size: 1.45rem;
    flex-shrink: 0;
}

.landing-guide-item strong {
    display: block;
    margin-bottom: 4px;
    font-size: 1rem;
    color: #0b376f;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.landing-guide-item p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.landing-action-wrap {
    margin-top: 18px;
}

.landing-main-button {
    width: 100%;
    font-size: 1.1rem;
    box-shadow: 0 18px 32px rgba(251, 192, 45, 0.3);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.landing-main-button:hover,
.landing-main-button:focus {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), #2a6fe0);
    box-shadow: 0 18px 36px rgba(13, 71, 161, 0.28);
    transform: translateY(-2px);
}

.landing-footer {
    margin-top: 18px;
    padding-top: 10px;
}

.landing-footer-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 20px;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--primary), #195fcf);
    color: #fff;
    text-align: center;
    font-size: 0.92rem;
    line-height: 1.6;
}

.landing-footer-note i {
    font-size: 1rem;
    color: #ffd54f;
}

.hero-glow {
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 999px;
    filter: blur(40px);
    opacity: 0.55;
}

.hero-glow-blue {
    top: -90px;
    left: -70px;
    background: rgba(13, 71, 161, 0.24);
}

.hero-glow-gold {
    right: -80px;
    bottom: -110px;
    background: rgba(251, 192, 45, 0.28);
}

.company-logo {
    width: 88px;
    height: 88px;
    object-fit: contain;
    border-radius: 24px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 16px 36px rgba(13, 71, 161, 0.12);
}

.company-logo-sm {
    width: 74px;
    height: 74px;
}

.company-logo-nav {
    width: 62px;
    height: 62px;
    padding: 10px;
}

.hero-badge,
.question-label,
.question-type {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.hero-badge,
.question-label {
    color: var(--primary);
    background: rgba(13, 71, 161, 0.08);
}

.question-type {
    color: #6c5200;
    background: rgba(251, 192, 45, 0.24);
}

.hero-title,
.page-title,
.test-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    color: #092c61;
}

.page-title {
    font-size: clamp(1.6rem, 4vw, 2.35rem);
}

.test-title {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
}

.hero-subtitle,
.page-subtitle,
.test-subtitle {
    max-width: 760px;
    margin: 0 auto;
    font-size: 0.98rem;
    line-height: 1.75;
    color: var(--muted);
}

.test-subtitle {
    margin: 0;
}

.section-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0b376f;
}

.info-card,
.credential-card,
.admin-stat-card,
.status-note {
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 20px;
}

.highlight-card {
    background: linear-gradient(180deg, rgba(13, 71, 161, 0.08), rgba(251, 192, 45, 0.12));
}

.info-list {
    padding-left: 18px;
    line-height: 1.8;
    color: var(--muted);
}

.mini-stat {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
}

.mini-stat p {
    margin: 4px 0 0;
    color: var(--muted);
    line-height: 1.6;
    font-size: 0.92rem;
}

.mini-stat-number {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--primary);
    color: #fff;
    font-weight: 800;
    flex-shrink: 0;
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.trust-row span {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(9, 53, 122, 0.08);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 700;
}

.btn {
    font-weight: 700;
    border-width: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #195fcf);
    border-color: transparent;
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, var(--primary-dark), #124b9f);
}

.btn-accent {
    color: #3f2d00;
    background: linear-gradient(135deg, var(--accent), #ffd659);
    border: 0;
    box-shadow: 0 16px 30px rgba(251, 192, 45, 0.28);
}

.btn-accent:hover,
.btn-accent:focus {
    color: #2d2200;
    background: linear-gradient(135deg, var(--accent-dark), #fbc02d);
}

.btn-accent.landing-main-button:hover,
.btn-accent.landing-main-button:focus {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), #2a6fe0);
    box-shadow: 0 18px 36px rgba(13, 71, 161, 0.28);
    transform: translateY(-2px);
}

.shadow-soft {
    box-shadow: var(--shadow) !important;
}

.form-control,
.form-select {
    border-radius: 18px;
    border: 1px solid rgba(13, 71, 161, 0.16);
    padding: 0.95rem 1rem;
    color: var(--text);
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(13, 71, 161, 0.35);
    box-shadow: 0 0 0 0.2rem rgba(13, 71, 161, 0.12);
}

.mobile-note {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(13, 71, 161, 0.07);
    color: var(--primary);
    font-weight: 600;
}

.test-topbar,
.admin-header-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 22px 24px;
}

.admin-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.admin-sidebar {
    position: sticky;
    top: 20px;
}

.admin-sidebar-card,
.admin-page-hero {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.86));
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow);
    border-radius: 28px;
    backdrop-filter: blur(18px);
}

.admin-sidebar-card {
    padding: 22px;
}

.admin-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.admin-sidebar-title {
    font-size: 1rem;
    font-weight: 800;
    color: #0a3168;
}

.admin-sidebar-subtitle {
    color: var(--muted);
    font-size: 0.85rem;
}

.admin-sidebar-user {
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(13, 71, 161, 0.07);
    margin-bottom: 18px;
}

.admin-sidebar-user small {
    display: block;
    color: var(--muted);
    margin-bottom: 4px;
}

.admin-sidebar-user strong {
    color: var(--primary);
}

.admin-sidebar-menu {
    display: grid;
    gap: 10px;
}

.admin-sidebar-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    color: var(--text);
    font-weight: 700;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(13, 71, 161, 0.08);
    transition: all 0.2s ease;
}

.admin-sidebar-link:hover {
    color: var(--primary);
    transform: translateY(-1px);
    border-color: rgba(13, 71, 161, 0.18);
}

.admin-sidebar-link.active {
    background: linear-gradient(135deg, var(--primary), #2a6fe0);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 16px 32px rgba(13, 71, 161, 0.24);
}

.admin-sidebar-footer {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.admin-main-content {
    min-width: 0;
}

.admin-page-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 22px 24px;
}

.admin-app {
    position: relative;
    min-height: 100vh;
}

.admin-sidebar-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: 0.25s ease;
    z-index: 1040;
}

.admin-sidenav {
    position: fixed;
    top: 0;
    left: 0;
    width: 302px;
    height: 100vh;
    padding: 18px 18px 20px;
    z-index: 1050;
}

.admin-sidenav-inner {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 22px 18px 18px;
    border-radius: 32px;
    background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 52%, #eef5ff 100%);
    box-shadow: 0 24px 50px rgba(13, 71, 161, 0.14);
    border: 1px solid rgba(13, 71, 161, 0.06);
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(13, 71, 161, 0.28) transparent;
}

.admin-sidenav-inner::-webkit-scrollbar {
    width: 8px;
}

.admin-sidenav-inner::-webkit-scrollbar-thumb {
    background: rgba(13, 71, 161, 0.22);
    border-radius: 999px;
}

.admin-sidenav-inner::-webkit-scrollbar-track {
    background: transparent;
}

.admin-sidenav-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(22px);
    opacity: 0.6;
    pointer-events: none;
}

.admin-sidenav-glow-top {
    width: 180px;
    height: 180px;
    top: -68px;
    right: -62px;
    background: rgba(13, 71, 161, 0.18);
}

.admin-sidenav-glow-bottom {
    width: 150px;
    height: 150px;
    bottom: -58px;
    left: -44px;
    background: rgba(251, 192, 45, 0.18);
}

.admin-sidenav-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    z-index: 1;
    padding: 14px;
    margin-bottom: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(13, 71, 161, 0.08);
    box-shadow: 0 14px 28px rgba(13, 71, 161, 0.08);
}

.admin-sidenav-brand-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.admin-sidenav-brand-icon {
    flex-shrink: 0;
}

.admin-sidenav-brand-copy {
    min-width: 0;
    display: grid;
    gap: 6px;
    text-align: center;
}

.admin-sidenav-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    margin-bottom: 8px;
    border-radius: 999px;
    background: rgba(13, 71, 161, 0.08);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.admin-sidenav-company {
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.4;
    color: #102f61;
    word-break: normal;
    overflow-wrap: normal;
}

.admin-sidenav-panel {
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: 4px;
}

.admin-sidenav-user {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    position: relative;
    z-index: 1;
    padding: 16px 14px;
    margin-bottom: 18px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(13, 71, 161, 0.08), rgba(13, 71, 161, 0.03));
    border: 1px solid rgba(13, 71, 161, 0.08);
}

.admin-user-avatar,
.admin-profile-avatar {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), #2a6fe0);
    color: #fff;
    font-weight: 700;
    flex-shrink: 0;
}

.admin-sidenav-user-copy {
    min-width: 0;
}

.admin-sidenav-user small,
.admin-profile-meta small {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
}

.admin-sidenav-user strong,
.admin-profile-meta strong {
    display: block;
    color: #112f5b;
}

.admin-sidenav-user-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    color: #198754;
    font-size: 0.75rem;
    font-weight: 600;
}

.admin-sidenav-section-title {
    position: relative;
    z-index: 1;
    margin: 2px 4px 10px;
    color: #7a8698;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.admin-sidenav-menu,
.admin-sidenav-footer {
    display: grid;
    gap: 8px;
}

.admin-sidenav-footer {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid rgba(13, 71, 161, 0.08);
}

.admin-sidenav-link,
.admin-profile-button {
    position: relative;
    overflow: hidden;
}

.admin-sidenav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
    padding: 13px 14px;
    border-radius: 20px;
    color: #334155;
    font-weight: 600;
    transition: 0.22s ease;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(13, 71, 161, 0.06);
}

.admin-sidenav-link:hover {
    color: var(--primary);
    background: rgba(13, 71, 161, 0.06);
    transform: translateX(3px);
    box-shadow: 0 12px 24px rgba(13, 71, 161, 0.08);
}

.admin-sidenav-link.active {
    background: linear-gradient(135deg, var(--primary), #2a6fe0);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 18px 34px rgba(13, 71, 161, 0.24);
}

.admin-sidenav-link.active .admin-sidenav-icon {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.admin-sidenav-link.active .admin-sidenav-link-arrow {
    color: rgba(255, 255, 255, 0.9);
    transform: translateX(0);
}

.admin-sidenav-link-logout {
    color: #dc3545;
}

.admin-sidenav-link-logout:hover {
    background: rgba(220, 53, 69, 0.08);
    color: #b91c1c;
}

.admin-sidenav-link-text {
    flex: 1;
}

.admin-sidenav-link-arrow {
    color: #a0aec0;
    font-size: 0.82rem;
    transition: 0.2s ease;
}

.admin-sidenav-link:hover .admin-sidenav-link-arrow {
    color: var(--primary);
    transform: translateX(2px);
}

.admin-sidenav-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(13, 71, 161, 0.08);
    color: var(--primary);
    font-size: 1rem;
    flex-shrink: 0;
    transition: 0.2s ease;
}

.admin-sidenav-footer-card {
    position: relative;
    z-index: 1;
    padding: 14px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.92), rgba(37, 105, 222, 0.9));
    color: #fff;
    box-shadow: 0 18px 32px rgba(13, 71, 161, 0.18);
}

.admin-sidenav-footer-card small {
    display: block;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.admin-sidenav-footer-card strong {
    display: block;
    font-size: 0.92rem;
    line-height: 1.6;
    font-weight: 600;
}

.admin-content-shell {
    margin-left: 302px;
    min-height: 100vh;
    padding: 24px;
}

.admin-content-inner {
    max-width: 100%;
    animation: pageFadeIn 0.35s ease;
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    padding: 18px 22px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(13, 71, 161, 0.06);
}

.admin-topbar-start {
    display: flex;
    align-items: center;
    gap: 14px;
}

.admin-drawer-toggle {
    width: 44px;
    height: 44px;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    border: 1px solid rgba(13, 71, 161, 0.08);
    background: #fff;
    color: var(--primary);
    font-size: 1.35rem;
}

.admin-topbar-title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
    color: #112f5b;
}

.admin-topbar-subtitle {
    color: var(--muted);
    font-size: 0.88rem;
}

.admin-profile-button {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(13, 71, 161, 0.08);
    background: #fff;
    border-radius: 999px;
    padding: 8px 14px 8px 8px;
}

.admin-profile-meta {
    text-align: left;
}

.admin-profile-menu {
    border: 0;
    border-radius: 18px;
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.1);
    padding: 10px;
}

.admin-profile-menu .dropdown-item {
    border-radius: 12px;
    padding: 10px 12px;
}

.admin-page-section {
    display: grid;
    gap: 24px;
}

.admin-surface-card,
.admin-table-card,
.admin-stat-modern,
.admin-hero-strip {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(13, 71, 161, 0.06);
}

.admin-hero-strip {
    padding: 24px;
}

.admin-page-title {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
    color: #112f5b;
}

.admin-page-copy {
    color: var(--muted);
    margin-top: 8px;
    margin-bottom: 0;
}

.admin-stat-modern {
    position: relative;
    overflow: hidden;
    padding: 22px;
}

.admin-stat-modern::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #2a6fe0);
}

.admin-stat-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.admin-stat-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(13, 71, 161, 0.08);
    color: var(--primary);
    font-size: 1.2rem;
}

.admin-stat-label {
    color: var(--muted);
    font-size: 0.9rem;
}

.admin-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #112f5b;
}

.admin-surface-card,
.admin-table-card {
    padding: 24px;
}

.admin-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.admin-section-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #112f5b;
}

.admin-section-subtitle {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.admin-table-card {
    padding: 0;
    overflow: hidden;
}

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

.admin-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(13, 71, 161, 0.08);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
}

.admin-quick-grid {
    display: grid;
    gap: 12px;
}

.admin-footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
    padding: 18px 22px;
    border-radius: 20px;
    background: #fff;
    color: var(--muted);
    font-size: 0.88rem;
    border: 1px solid rgba(13, 71, 161, 0.06);
}

.admin-modal .modal-content {
    border: 0;
    border-radius: 24px;
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.12);
    overflow: hidden;
}

.admin-modal .modal-header {
    padding: 20px 24px 14px;
    border-bottom: 1px solid rgba(13, 71, 161, 0.08);
}

.admin-modal .modal-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #112f5b;
}

.admin-modal .modal-body {
    padding: 20px 24px;
}

.admin-modal .modal-footer {
    padding: 14px 24px 24px;
    border-top: 0;
}

.admin-empty-note {
    text-align: center;
    color: var(--muted);
    padding: 20px 0;
}

.success-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 255, 0.94));
}

.success-card-finished {
    max-width: 760px;
    padding: 34px 30px;
    overflow: hidden;
}

.success-brand {
    position: relative;
    z-index: 1;
    margin-bottom: 18px;
}

.success-copy {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.success-meta {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.success-mini-card {
    display: grid;
    gap: 8px;
    padding: 18px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(235, 243, 255, 0.82));
    border: 1px solid rgba(13, 71, 161, 0.08);
    box-shadow: 0 16px 30px rgba(13, 71, 161, 0.06);
}

.success-mini-card i {
    font-size: 1.2rem;
    color: var(--primary);
}

.success-mini-card strong {
    color: #0b376f;
}

.success-mini-card span {
    color: var(--muted);
    line-height: 1.6;
    font-size: 0.92rem;
}

.success-actions {
    position: relative;
    z-index: 1;
}

.success-glow {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    filter: blur(44px);
    opacity: 0.4;
    pointer-events: none;
}

.success-glow-blue {
    top: -90px;
    left: -80px;
    background: rgba(13, 71, 161, 0.2);
}

.success-glow-gold {
    right: -80px;
    bottom: -90px;
    background: rgba(251, 192, 45, 0.24);
}

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

.admin-col-4 {
    grid-column: span 4;
}

.admin-col-6 {
    grid-column: span 6;
}

.admin-col-12 {
    grid-column: span 12;
}

.admin-form-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.page-is-leaving .admin-content-inner,
.page-is-leaving .landing-premium,
.page-is-leaving .test-hero,
.page-is-leaving .success-card {
    opacity: 0.5;
    transform: translateY(6px);
    transition: 0.2s ease;
}

.ripple-dot {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    transform: translate(-50%, -50%) scale(0);
    animation: rippleGrow 0.5s ease-out forwards;
    pointer-events: none;
}

@keyframes rippleGrow {
    to {
        opacity: 0;
        transform: translate(-50%, -50%) scale(16);
    }
}

@keyframes pageFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.test-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    padding: 24px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.86));
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.test-hero-copy {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.test-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.test-timer-large {
    min-width: 160px;
}

.test-side-card,
.test-question-card {
    overflow: hidden;
}

.test-side-card {
    position: sticky;
    top: 24px;
}

.test-participant-card {
    display: grid;
    gap: 6px;
    padding: 18px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(13, 71, 161, 0.08), rgba(227, 242, 253, 0.62));
    border: 1px solid rgba(13, 71, 161, 0.1);
}

.test-participant-card small {
    color: var(--muted);
    font-weight: 700;
}

.test-participant-card strong {
    color: #0b376f;
    font-size: 1rem;
    line-height: 1.5;
}

.test-participant-card span {
    color: var(--muted);
    line-height: 1.6;
}

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

.test-stat-box,
.test-instruction-card {
    padding: 18px;
    border-radius: 20px;
    background: rgba(13, 71, 161, 0.05);
    border: 1px solid rgba(13, 71, 161, 0.1);
}

.test-stat-box small {
    display: block;
    color: var(--muted);
    margin-bottom: 6px;
}

.test-stat-box strong {
    font-size: 1.2rem;
    color: var(--primary);
}

.test-instruction-card strong {
    color: #0b376f;
}

.test-chip-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.5;
}

.test-chip-legend span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.legend-dot {
    font-size: 0.72rem;
}

.legend-dot-active {
    color: var(--primary);
}

.legend-dot-answered {
    color: #2a6fe0;
}

.legend-dot-default {
    color: #a7b4c7;
}

.question-head-copy {
    max-width: 680px;
}

.question-caption {
    color: var(--muted);
    line-height: 1.7;
}

.test-answer-input {
    min-height: 64px;
    font-size: 1.1rem;
    font-weight: 700;
}

.test-answer-panel {
    padding: 20px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(235, 243, 255, 0.74));
    border: 1px solid rgba(13, 71, 161, 0.1);
}

.option-list-lg {
    gap: 16px;
}

.option-card-lg {
    padding: 20px;
    border-radius: 22px;
}

.test-action-bar {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (min-width: 768px) {
    .test-action-bar {
        flex-direction: row;
        align-items: center;
    }
}

.timer-pill {
    min-width: 132px;
    text-align: center;
    padding: 14px 18px;
    border-radius: 22px;
    border: 1px solid rgba(251, 192, 45, 0.4);
    background: rgba(255, 244, 213, 0.9);
}

.timer-pill small {
    display: block;
    color: #7c6308;
    margin-bottom: 4px;
}

.timer-pill strong {
    font-size: 1.35rem;
    color: #664f00;
}

.timer-pill.timer-warning {
    background: rgba(255, 232, 232, 0.95);
    border-color: rgba(220, 53, 69, 0.28);
}

.timer-pill.timer-warning small,
.timer-pill.timer-warning strong {
    color: #b42318;
}

.custom-progress {
    height: 12px;
    background: rgba(13, 71, 161, 0.08);
    border-radius: 999px;
}

.custom-progress .progress-bar {
    background: linear-gradient(90deg, var(--primary), #2b77f1);
    border-radius: 999px;
}

.question-map {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.question-chip {
    width: 100%;
    min-height: 48px;
    border: 1px solid rgba(13, 71, 161, 0.12);
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    font-weight: 800;
    color: var(--primary);
    transition: all 0.2s ease;
}

.question-chip.answered {
    background: rgba(13, 71, 161, 0.08);
}

.question-chip.active {
    background: linear-gradient(135deg, var(--primary), #2a6fe0);
    color: #fff;
    border-color: transparent;
}

.question-chip:hover {
    transform: translateY(-1px);
}

.question-title {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 800;
    line-height: 1.5;
}

.option-list {
    display: grid;
    gap: 14px;
}

.option-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border-radius: 20px;
    border: 1px solid rgba(13, 71, 161, 0.12);
    background: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.option-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 32px rgba(13, 71, 161, 0.1);
    border-color: rgba(13, 71, 161, 0.24);
}

.option-card:has(input:checked) {
    background: linear-gradient(180deg, rgba(13, 71, 161, 0.09), rgba(227, 242, 253, 0.88));
    border-color: rgba(13, 71, 161, 0.28);
    box-shadow: 0 18px 32px rgba(13, 71, 161, 0.1);
}

.option-card input {
    margin: 0;
}

.option-badge {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 71, 161, 0.08);
    color: var(--primary);
    font-weight: 800;
}

.option-text {
    color: var(--text);
    line-height: 1.6;
}

.test-bottom-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(13, 71, 161, 0.06);
    color: var(--primary);
    line-height: 1.6;
    font-weight: 600;
}

.test-bottom-note i {
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.test-confirm-open {
    overflow: hidden;
}

.test-confirm-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: 0.22s ease;
    z-index: 1200;
}

.test-confirm-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.test-confirm-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11, 24, 48, 0.48);
    backdrop-filter: blur(5px);
}

.test-confirm-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 460px);
    padding: 28px 24px 24px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.86);
    box-shadow: 0 28px 60px rgba(13, 71, 161, 0.22);
    text-align: center;
    transform: translateY(14px) scale(0.96);
    transition: 0.22s ease;
}

.test-confirm-modal.is-open .test-confirm-dialog {
    transform: translateY(0) scale(1);
}

.test-confirm-icon {
    width: 76px;
    height: 76px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(251, 192, 45, 0.24), rgba(255, 243, 205, 0.88));
    color: #8a6500;
    font-size: 2rem;
    box-shadow: 0 16px 30px rgba(251, 192, 45, 0.18);
}

.test-confirm-title {
    margin: 0 0 10px;
    color: #0b376f;
    font-size: 1.4rem;
    font-weight: 800;
}

.test-confirm-text {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.test-confirm-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
}

.status-note {
    color: var(--muted);
    font-size: 0.9rem;
}

.status-note.saved {
    color: #0f7a32;
    background: rgba(25, 135, 84, 0.08);
    border-color: rgba(25, 135, 84, 0.18);
}

.status-note.error {
    color: #b42318;
    background: rgba(220, 53, 69, 0.08);
    border-color: rgba(220, 53, 69, 0.18);
}

.admin-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.admin-stat-card {
    padding: 20px;
    min-height: 132px;
}

.admin-stat-card small,
.detail-grid small,
.score-panel small {
    display: block;
    color: var(--muted);
    margin-bottom: 6px;
}

.admin-stat-card strong {
    font-size: 2rem;
    color: var(--primary);
}

.table thead th {
    border-bottom-color: rgba(13, 71, 161, 0.12);
    color: #5c6b81;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.table td,
.table th {
    padding: 16px 18px;
}

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

.detail-grid strong,
.score-panel strong {
    display: block;
    font-size: 1rem;
}

.score-panel {
    padding: 20px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(13, 71, 161, 0.08), rgba(251, 192, 45, 0.14));
}

.success-icon {
    position: relative;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: rgba(25, 135, 84, 0.12);
}

.success-icon-animated {
    box-shadow: 0 0 0 12px rgba(25, 135, 84, 0.08);
    animation: successPulse 2.4s ease-in-out infinite;
}

.success-icon::before,
.success-icon::after {
    content: "";
    position: absolute;
    background: #198754;
    border-radius: 6px;
}

.success-icon::before {
    width: 14px;
    height: 42px;
    transform: rotate(45deg);
    top: 25px;
    left: 42px;
}

.success-icon::after {
    width: 14px;
    height: 24px;
    transform: rotate(-45deg);
    top: 42px;
    left: 28px;
}

.success-confetti-dot {
    position: absolute;
    top: -12px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    opacity: 0.8;
    pointer-events: none;
    background: linear-gradient(135deg, var(--accent), #2a6fe0);
    animation: confettiFloat linear infinite;
}

@keyframes successPulse {
    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 12px rgba(25, 135, 84, 0.08);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 18px rgba(25, 135, 84, 0.05);
    }
}

@keyframes confettiFloat {
    0% {
        transform: translate3d(0, 0, 0) rotate(0deg);
        opacity: 0;
    }
    15% {
        opacity: 0.85;
    }
    100% {
        transform: translate3d(18px, 520px, 0) rotate(300deg);
        opacity: 0;
    }
}

@media (max-width: 991.98px) {
    .hero-card,
    .success-card {
        padding: 22px;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

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

    .success-meta {
        grid-template-columns: 1fr;
    }

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

    .admin-sidebar {
        position: static;
    }

    .test-hero {
        padding: 22px;
    }

    .landing-illustration-card {
        min-height: 320px;
    }

    .admin-content-shell {
        margin-left: 0;
        padding: 18px;
    }

    .identity-grid {
        grid-template-columns: 1fr;
    }

    .test-side-card {
        position: static;
        top: auto;
    }

    .admin-drawer-toggle {
        display: inline-flex;
    }

    .admin-sidenav {
        transform: translateX(-100%);
        transition: 0.25s ease;
    }

    .admin-sidebar-open .admin-sidebar-backdrop {
        opacity: 1;
        visibility: visible;
    }

    .admin-sidebar-open .admin-sidenav {
        transform: translateX(0);
    }
}

@media (max-width: 767.98px) {
    .company-logo {
        width: 78px;
        height: 78px;
    }

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

    .table td,
    .table th {
        padding: 14px;
    }

    .landing-topbar {
        align-items: center;
    }

    .landing-cta-group {
        flex-direction: column;
        align-items: stretch;
    }

    .landing-brand,
    .landing-brand-sub {
        text-align: left;
    }

    .landing-copy {
        text-align: left;
    }

    .landing-hero-underline {
        margin-top: 4px;
    }

    .landing-guide-item {
        padding: 16px 14px;
    }

    .admin-page-hero {
        padding: 20px;
    }

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

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

    .admin-col-4,
    .admin-col-6,
    .admin-col-12 {
        grid-column: span 1;
    }
}

@media (max-width: 575.98px) {
    .hero-card,
    .success-card,
    .admin-header-card {
        border-radius: 24px;
    }

    .test-topbar,
    .admin-header-card {
        padding: 18px;
    }

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

    .option-card {
        align-items: flex-start;
    }

    .landing-hero,
    .landing-bottom-card {
        padding: 20px;
    }

    .landing-topbar {
        margin-bottom: 20px;
        padding: 16px;
        padding-bottom: 18px;
    }

    .landing-guide-card {
        padding: 22px 18px 20px;
        border-radius: 24px;
    }

    .landing-wave-wrap {
        margin-left: -20px;
        margin-right: -20px;
        height: 76px;
    }

    .landing-guide-icon {
        width: 46px;
        height: 46px;
        border-radius: 16px;
    }

    .landing-illustration-card {
        min-height: 260px;
        border-radius: 24px;
    }

    .clipboard-illustration {
        width: min(220px, 100%);
        margin: 38px auto 28px;
    }

    .clipboard-sheet {
        padding: 20px 16px;
    }

    .clipboard-line {
        min-width: 90px;
    }

    .landing-footer-note {
        align-items: flex-start;
        text-align: left;
        justify-content: flex-start;
        font-size: 0.82rem;
        line-height: 1.5;
        padding: 14px 16px;
        gap: 8px;
    }

    .landing-guide-item {
        gap: 12px;
    }

    .landing-guide-item strong {
        font-size: 0.92rem;
        line-height: 1.45;
    }

    .landing-guide-item p {
        font-size: 0.82rem;
        line-height: 1.55;
    }

    .landing-main-button {
        font-size: 1rem;
    }

    .landing-side-label {
        font-size: 0.72rem;
    }

    .admin-sidebar-card,
    .admin-page-hero {
        border-radius: 24px;
    }

    .admin-sidebar-card {
        padding: 18px;
    }

    .test-hero {
        padding: 18px;
        border-radius: 24px;
    }

    .test-action-bar {
        gap: 10px;
    }

    .test-confirm-dialog {
        border-radius: 24px;
        padding: 24px 18px 20px;
    }

    .test-confirm-actions {
        grid-template-columns: 1fr;
    }

    .identity-side,
    .identity-form-card {
        border-radius: 24px;
        padding: 20px 18px;
    }

    .identity-brand {
        gap: 14px;
        text-align: left;
    }

    .identity-brand-inline {
        gap: 12px;
        margin-bottom: 16px;
    }

    .identity-brand-copy strong {
        font-size: 1rem;
    }

    .identity-brand-copy span {
        font-size: 0.84rem;
    }

    .identity-steps {
        margin-top: 20px;
        gap: 12px;
    }

    .identity-step {
        gap: 12px;
        padding: 14px;
        border-radius: 18px;
    }

    .identity-step strong {
        font-size: 0.92rem;
    }

    .identity-step p {
        font-size: 0.82rem;
        line-height: 1.55;
    }

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

    .admin-sidenav {
        width: 88%;
        max-width: 340px;
    }

    .admin-topbar,
    .admin-hero-strip,
    .admin-surface-card {
        padding: 18px;
    }

    .admin-profile-meta {
        display: none;
    }

    .admin-footer {
        padding: 16px 18px;
    }
}
