:root {
    --brand-1: #0f766e;
    --brand-2: #f97316;
    --ink: #0f172a;
    --muted: #64748b;
    --canvas: #f4f2ec;
    --admin-accent: #4a6fa5;
    --admin-accent-soft: rgba(74, 111, 165, 0.16);
    --admin-sidebar: #1f2430;
    --admin-sidebar-2: #161a24;
}

body {
    font-family: "Plus Jakarta Sans", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(249, 115, 22, 0.12), transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(15, 118, 110, 0.15), transparent 45%),
        linear-gradient(180deg, #fbfaf7 0%, #f2f1eb 100%);
    color: var(--ink);
    min-height: 100vh;
}

html.modal-open,
body.modal-open {
    overflow: hidden !important;
    height: 100%;
    padding-right: 0 !important;
}

.admin-body.modal-open {
    overflow: hidden !important;
}

.admin-body.modal-open .admin-shell,
.admin-body.modal-open .admin-content {
    overflow: hidden !important;
    height: 100vh;
}

.admin-body {
    background: #eef2f7;
}

.navbar {
    background: linear-gradient(135deg, #0f766e 0%, #0e7490 60%, #0f172a 100%);
}

.min-vh-75 {
    min-height: 75vh;
}

.hero-panel {
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: linear-gradient(145deg, #ffffff, #e6f4f1);
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    animation: fade-up 0.6s ease both;
}

.candidate-hero {
    border-radius: 20px;
    border: none;
    color: #fff;
    background: linear-gradient(135deg, #0f766e 0%, #0ea5a4 55%, #0f172a 100%);
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.18);
    position: relative;
    overflow: hidden;
}

.candidate-hero::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    top: -80px;
    right: -80px;
}

.candidate-hero-body {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 26px 28px 16px;
    flex-wrap: wrap;
}

.candidate-hero-title {
    font-weight: 700;
    margin-bottom: 8px;
}

.candidate-hero-text {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.82);
}

.candidate-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    letter-spacing: 0.4px;
    margin-bottom: 10px;
}

.candidate-hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.candidate-hero-actions .btn {
    border-radius: 999px;
    font-weight: 600;
}

.candidate-progress {
    position: relative;
    padding: 0 28px 24px;
}

.candidate-progress .progress {
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
}

.candidate-progress .progress-bar {
    background: linear-gradient(90deg, #facc15 0%, #f97316 70%, #ffffff 100%);
}

.candidate-progress .progress-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.9);
}

.candidate-steps .step-card {
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.candidate-steps .step-card.is-done {
    border-color: rgba(16, 185, 129, 0.35);
    background: linear-gradient(145deg, #ffffff 0%, #ecfdf5 100%);
}

.candidate-steps .step-card.is-active {
    background: linear-gradient(145deg, #ffffff 0%, #f4faff 100%);
}

.step-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.stage-log {
    border-radius: 20px;
    background: linear-gradient(145deg, #ffffff 0%, #f6fbff 100%);
}

.stage-log-list {
    display: grid;
    gap: 12px;
}

.stage-log-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.stage-dot {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    margin-top: 4px;
    background: rgba(148, 163, 184, 0.45);
}

.stage-title {
    font-weight: 700;
    color: rgba(15, 23, 42, 0.9);
}

.stage-meta {
    font-size: 0.78rem;
    color: rgba(100, 116, 139, 0.8);
}

.stage-log-item.stage-done {
    border-color: rgba(16, 185, 129, 0.25);
    background: linear-gradient(135deg, #ffffff 0%, #ecfdf5 100%);
}

.stage-log-item.stage-done .stage-dot {
    background: rgba(16, 185, 129, 0.8);
}

.stage-log-item.stage-active {
    border-color: rgba(249, 115, 22, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, #fff7ed 100%);
}

.stage-log-item.stage-active .stage-dot {
    background: rgba(249, 115, 22, 0.85);
}

.recruit-stepper {
    position: relative;
    padding: 14px 8px 6px;
}

.recruit-stepper-track {
    position: absolute;
    top: 34px;
    left: 28px;
    right: 28px;
    height: 4px;
    background: rgba(226, 232, 240, 0.8);
    border-radius: 999px;
    z-index: -1;
}

.recruit-stepper-progress {
    display: block;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #0f766e, #0ea5a4, #2563eb);
    border-radius: 999px;
    transition: width 0.2s ease;
}

.recruit-stepper-list {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    z-index: 1;
    padding: 0 12px;
}

.recruit-stepper-item {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 140px;
    font-weight: 600;
    color: rgba(100, 116, 139, 0.9);
    background: #fff;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
    position: relative;
    z-index: 2;
}

.recruit-stepper-dot {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: rgba(226, 232, 240, 0.9);
    display: grid;
    place-items: center;
    font-size: 0.8rem;
    color: rgba(15, 23, 42, 0.7);
    font-weight: 700;
}

.recruit-stepper-item.recruit-done {
    color: rgba(15, 118, 110, 0.9);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(14, 165, 164, 0.08));
    border-color: rgba(16, 185, 129, 0.25);
}

.recruit-stepper-item.recruit-done .recruit-stepper-dot {
    background: linear-gradient(135deg, #0f766e, #14b8a6);
    color: #fff;
}

.recruit-stepper-item.recruit-active {
    color: #0f766e;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.12), rgba(253, 186, 116, 0.16));
    border-color: rgba(249, 115, 22, 0.3);
}

.recruit-stepper-item.recruit-pending {
    color: rgba(100, 116, 139, 0.9);
    background: #fff;
    border-color: rgba(226, 232, 240, 0.9);
}

.recruit-stepper-item.recruit-active .recruit-stepper-dot {
    background: rgba(15, 118, 110, 0.15);
    color: #0f766e;
}

.recruit-stepper-item.recruit-failed {
    color: #b91c1c;
    background: linear-gradient(135deg, rgba(248, 113, 113, 0.12), rgba(244, 63, 94, 0.18));
    border-color: rgba(248, 113, 113, 0.4);
}

.recruit-stepper-item.recruit-failed .recruit-stepper-dot {
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    color: #fff;
}

@media (max-width: 991.98px) {
    .recruit-stepper {
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .recruit-stepper-list {
        flex-wrap: nowrap;
        min-width: 780px;
        justify-content: flex-start;
    }
}

.step-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(15, 118, 110, 0.12);
    color: #0f766e;
    display: grid;
    place-items: center;
}

.status-pill {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
    color: rgba(15, 23, 42, 0.7);
}

.status-pill.is-done {
    background: rgba(16, 185, 129, 0.2);
    color: #047857;
}

.status-pill.is-warning {
    background: rgba(249, 115, 22, 0.2);
    color: #b45309;
}

.candidate-quick {
    border-radius: 18px;
    background: linear-gradient(145deg, #ffffff 0%, #eef7ff 100%);
    border: 1px solid rgba(59, 130, 246, 0.16);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.candidate-feature-card {
    background: #fff;
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
}

.candidate-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
    border: 1px solid rgba(16, 185, 129, 0.25);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.candidate-notice-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #0f766e;
    background: rgba(16, 185, 129, 0.2);
    flex-shrink: 0;
}

.candidate-notice-title {
    font-weight: 700;
    color: rgba(15, 23, 42, 0.9);
    margin-bottom: 2px;
}

.candidate-notice-text {
    color: rgba(71, 85, 105, 0.9);
    font-size: 0.92rem;
}

.candidate-notice--failed {
    background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%);
    border-color: rgba(244, 63, 94, 0.25);
}

.candidate-notice--failed .candidate-notice-icon {
    color: #be123c;
    background: rgba(244, 63, 94, 0.18);
}

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

.feature-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 14px 10px;
    border-radius: 18px;
    text-decoration: none;
    color: var(--ink);
    font-weight: 600;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-tile:hover,
.feature-tile:focus {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.feature-tile.is-disabled {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
}

.feature-tile.is-failed {
    border: 1px solid rgba(244, 63, 94, 0.45);
    color: #be123c;
}

.feature-tile.is-failed .feature-icon {
    background: linear-gradient(135deg, #ef4444, #b91c1c);
}

.feature-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    color: #fff;
}

.feature-label {
    font-size: 0.85rem;
}

.feature-tile--dashboard .feature-icon {
    background: linear-gradient(135deg, #0ea5a4, #14b8a6);
}

.feature-tile--biodata .feature-icon {
    background: linear-gradient(135deg, #f97316, #fb923c);
}

.feature-tile--tes .feature-icon {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
}

.feature-tile--status .feature-icon {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
}

.candidate-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.btn-back-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    border: none;
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    background: linear-gradient(135deg, #0f766e 0%, #0ea5a4 55%, #2563eb 100%);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-back-hero:hover,
.btn-back-hero:focus {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.22);
}

.btn-back-icon {
    width: 22px;
    height: 22px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    display: grid;
    place-items: center;
}

.btn-back-icon svg {
    width: 14px;
    height: 14px;
}

.candidate-form-card {
    padding: 24px;
    border-radius: 18px;
    background: linear-gradient(145deg, #ffffff 0%, #f6fbff 100%);
}

.cv-shell {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cv-card {
    border-radius: 20px;
    padding: 22px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.cv-card--soft {
    background: linear-gradient(145deg, #ffffff 0%, #f1f7ff 100%);
}

.cv-header {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.cv-avatar {
    width: 84px;
    height: 84px;
    border-radius: 22px;
    background: linear-gradient(135deg, #6366f1, #0ea5e9);
    color: #fff;
    font-weight: 700;
    font-size: 1.4rem;
    display: grid;
    place-items: center;
    letter-spacing: 1px;
    overflow: hidden;
}

.cv-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cv-avatar-preview {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    object-fit: cover;
    border: 2px solid rgba(15, 23, 42, 0.08);
}

.cv-header-info {
    flex: 1 1 280px;
}

.cv-subtitle {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    color: rgba(15, 23, 42, 0.65);
    font-weight: 600;
    margin-bottom: 6px;
}

.cv-dot {
    font-weight: 700;
}

.cv-meta {
    font-size: 0.85rem;
    color: rgba(15, 23, 42, 0.55);
}

.cv-actions {
    margin-left: auto;
}

.cv-details {
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    padding-top: 16px;
}

.cv-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.03);
}

.cv-label {
    font-size: 0.75rem;
    color: rgba(100, 116, 139, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.cv-value {
    font-weight: 600;
    color: rgba(15, 23, 42, 0.9);
}

.cv-section {
    margin-top: 18px;
}

.cv-section-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.cv-section-body {
    color: rgba(30, 41, 59, 0.85);
    line-height: 1.6;
}

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

.cv-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cv-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.12);
    color: rgba(15, 23, 42, 0.85);
    font-size: 0.75rem;
    font-weight: 600;
}

.cv-chip--soft {
    background: rgba(59, 130, 246, 0.12);
}

.cv-docs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.cv-doc {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.cv-doc-title {
    font-weight: 700;
    margin-bottom: 2px;
}

.cv-doc-meta {
    font-size: 0.78rem;
    color: rgba(100, 116, 139, 0.85);
}

.cv-stepper {
    background: #fff;
    border-radius: 16px;
    padding: 14px 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.cv-stepper-header {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.cv-stepper-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(100, 116, 139, 0.85);
    font-weight: 600;
    font-size: 0.85rem;
}

.cv-stepper-dot {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.2);
    display: grid;
    place-items: center;
    font-weight: 700;
    color: rgba(15, 23, 42, 0.7);
}

.cv-stepper-line {
    flex: 1 1 40px;
    height: 2px;
    background: rgba(148, 163, 184, 0.35);
    border-radius: 999px;
}

.cv-stepper-item.is-active {
    color: rgba(15, 118, 110, 0.9);
}

.cv-stepper-item.is-active .cv-stepper-dot {
    background: linear-gradient(135deg, #0f766e, #0ea5a4);
    color: #fff;
}

.cv-stepper-item.is-done {
    color: rgba(15, 118, 110, 0.9);
}

.cv-stepper-item.is-done .cv-stepper-dot {
    background: rgba(15, 118, 110, 0.15);
    color: #0f766e;
}

.cv-stepper-bar {
    position: relative;
    width: 100%;
    height: 6px;
    background: rgba(148, 163, 184, 0.2);
    border-radius: 999px;
    margin-top: 12px;
    overflow: hidden;
}

.cv-stepper-progress {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0%;
    background: linear-gradient(90deg, #0f766e, #0ea5a4, #2563eb);
    border-radius: 999px;
    transition: width 0.2s ease;
}

.step-hidden {
    display: none !important;
}

.hero-card {
    padding: 28px;
    border-radius: 18px;
    background: linear-gradient(145deg, #ffffff, #fff4e8);
    border: 1px solid rgba(249, 115, 22, 0.2);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    animation: fade-up 0.6s ease both;
}

.feature-card {
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    animation: fade-up 0.6s ease both;
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: "";
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    top: -60px;
    right: -60px;
    opacity: 0.55;
    pointer-events: none;
}

.feature-card--kandidat {
    background: linear-gradient(145deg, #ffffff 0%, #e8f4ff 100%);
    border-color: rgba(59, 130, 246, 0.2);
}

.feature-card--kandidat::after {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.35), transparent 70%);
}

.feature-card--karyawan {
    background: linear-gradient(145deg, #ffffff 0%, #e6f7f3 100%);
    border-color: rgba(13, 148, 136, 0.2);
}

.feature-card--karyawan::after {
    background: radial-gradient(circle, rgba(13, 148, 136, 0.35), transparent 70%);
}

.feature-card--laporan {
    background: linear-gradient(145deg, #ffffff 0%, #fff4e6 100%);
    border-color: rgba(249, 115, 22, 0.2);
}

.feature-card--laporan::after {
    background: radial-gradient(circle, rgba(249, 115, 22, 0.35), transparent 70%);
}

.feature-card--pertanyaan {
    background: linear-gradient(145deg, #ffffff 0%, #f1edff 100%);
    border-color: rgba(124, 58, 237, 0.2);
}

.feature-card--pertanyaan::after {
    background: radial-gradient(circle, rgba(124, 58, 237, 0.35), transparent 70%);
}

.feature-icon-pill {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    margin-bottom: 14px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.12);
}

.feature-icon--kandidat {
    color: #2563eb;
}

.feature-icon--karyawan {
    color: #0f766e;
}

.feature-icon--laporan {
    color: #f97316;
}

.feature-icon--pertanyaan {
    color: #7c3aed;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.12);
    color: var(--ink);
    font-size: 0.85rem;
    font-weight: 600;
}

.timer-pill {
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.12);
    font-weight: 600;
}

.card {
    border-radius: 16px;
}

.admin-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.admin-topbar {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 12000;
    overflow: visible;
    --admin-topbar-height: 76px;
}

.topbar-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    gap: 16px;
}

.brand-block {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(74, 111, 165, 0.85), rgba(15, 118, 110, 0.8));
    display: grid;
    place-items: center;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
}

.brand-text {
    line-height: 1.2;
}

.brand-logo {
    height: 40px;
    width: auto;
}

.brand-compact {
    display: none;
    align-items: center;
    gap: 6px;
}

.brand-icon {
    width: 28px;
    height: 28px;
    border-radius: 10px;
}

.brand-name {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--ink);
    letter-spacing: 0.2px;
}

.brand-logo-light {
    height: 34px;
    width: auto;
}

.auth-logo {
    height: 48px;
    width: auto;
}

.btn-google {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 12px;
    font-weight: 600;
    background: #fff;
}

.btn-google .google-icon {
    display: inline-flex;
    align-items: center;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar-nav {
    background: transparent;
    border-top: none;
    padding: 12px 24px 16px;
    position: relative;
    z-index: 2000;
    overflow: visible;
    box-shadow: none;
}

.topbar-hover {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
}

.admin-topbar:hover .topbar-hover,
.admin-topbar:focus-within .topbar-hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.admin-topbar.dropdown-open .topbar-hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.admin-nav-groups {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    position: relative;
    z-index: 5002;
}

.admin-nav-groups .dropdown {
    --nav-accent: #2f9e9b;
    --nav-accent-deep: #238a86;
    --nav-accent-soft: rgba(47, 158, 155, 0.12);
    --nav-accent-border: rgba(47, 158, 155, 0.25);
}

.admin-nav-groups .dropdown:nth-child(2) {
    --nav-accent: #4b7bd6;
    --nav-accent-deep: #3b6abf;
    --nav-accent-soft: rgba(75, 123, 214, 0.12);
    --nav-accent-border: rgba(75, 123, 214, 0.25);
}

.admin-nav-groups .dropdown:nth-child(3) {
    --nav-accent: #f59e0b;
    --nav-accent-deep: #d97706;
    --nav-accent-soft: rgba(245, 158, 11, 0.14);
    --nav-accent-border: rgba(245, 158, 11, 0.28);
}

.mobile-shortcuts {
    display: none;
    --shortcut-gap: 10px;
    gap: var(--shortcut-gap);
    padding: 4px 0 12px;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    grid-auto-rows: minmax(86px, auto);
    align-items: stretch;
    justify-items: stretch;
}

.dashboard-shortcuts {
    margin-bottom: 16px;
}

.mobile-shortcut {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 6px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
    text-decoration: none;
    color: rgba(15, 23, 42, 0.85);
    font-weight: 600;
    text-align: center;
    user-select: none;
    cursor: grab;
}

.mobile-shortcut:active {
    cursor: grabbing;
}

.mobile-shortcut.is-dragging {
    opacity: 0.6;
    transform: scale(0.98);
}

.shortcut-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: rgba(74, 111, 165, 0.14);
    display: grid;
    place-items: center;
    color: rgba(15, 23, 42, 0.7);
}

.shortcut-label {
    font-size: 0.72rem;
}

.mobile-shortcut--dashboard {
    background: linear-gradient(145deg, #ffffff 0%, #e8f4ff 100%);
    border-color: rgba(59, 130, 246, 0.2);
}

.mobile-shortcut--kandidat {
    background: linear-gradient(145deg, #ffffff 0%, #e6f7f3 100%);
    border-color: rgba(13, 148, 136, 0.2);
}

.mobile-shortcut--karyawan {
    background: linear-gradient(145deg, #ffffff 0%, #edf4ff 100%);
    border-color: rgba(79, 107, 217, 0.2);
}

.mobile-shortcut--pertanyaan {
    background: linear-gradient(145deg, #ffffff 0%, #f1edff 100%);
    border-color: rgba(124, 58, 237, 0.2);
}

.mobile-shortcut--laporan {
    background: linear-gradient(145deg, #ffffff 0%, #fff4e6 100%);
    border-color: rgba(249, 115, 22, 0.2);
}

.admin-nav-groups .dropdown {
    position: relative;
    z-index: 5003;
}

.admin-nav-groups .dropdown.show {
    z-index: 6000;
}

.admin-dropdown {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 999px;
    padding: 8px 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f3f6fb 100%);
    border: 1px solid #e2e8f0;
    color: rgba(15, 23, 42, 0.75);
    font-weight: 600;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.admin-nav-groups .admin-dropdown {
    background: linear-gradient(135deg, var(--nav-accent-soft), rgba(255, 255, 255, 0.6));
    border-color: var(--nav-accent-border);
}

.admin-dropdown:hover,
.admin-dropdown:focus {
    color: var(--nav-accent);
    border-color: var(--nav-accent-border);
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.12);
}

.admin-dropdown.active {
    background: linear-gradient(135deg, var(--nav-accent) 0%, var(--nav-accent-deep) 100%);
    border-color: var(--nav-accent);
    color: #fff;
}

.admin-dropdown.show {
    background: linear-gradient(135deg, var(--nav-accent) 0%, var(--nav-accent-deep) 100%);
    border-color: var(--nav-accent);
    color: #fff;
}

.dropdown.show .admin-dropdown {
    background: linear-gradient(135deg, var(--nav-accent) 0%, var(--nav-accent-deep) 100%);
    border-color: var(--nav-accent);
    color: #fff;
}

.head-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.08);
    color: rgba(15, 23, 42, 0.6);
}

.admin-dropdown.active .head-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.admin-dropdown.show .head-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.dropdown.show .admin-dropdown .head-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.admin-dropdown-menu {
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    padding: 10px;
    min-width: 240px;
    background: linear-gradient(180deg, #ffffff 0%, #f6f8fc 100%);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    display: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 14000;
}

.admin-dropdown-menu .dropdown-item {
    border-radius: 10px;
    font-weight: 600;
    color: rgba(15, 23, 42, 0.75);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
}

.admin-dropdown-menu .dropdown-item:hover,
.admin-dropdown-menu .dropdown-item:focus {
    background: rgba(74, 111, 165, 0.12);
    color: rgba(15, 23, 42, 0.9);
}

.admin-dropdown-menu .dropdown-item.active {
    background: rgba(74, 111, 165, 0.18);
    color: rgba(15, 23, 42, 0.95);
}

.nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(74, 111, 165, 0.12);
    color: rgba(15, 23, 42, 0.7);
}

.admin-dropdown-menu .dropdown-item.active .nav-icon {
    color: rgba(15, 23, 42, 0.95);
    background: rgba(74, 111, 165, 0.2);
}

.admin-dropdown-menu.show {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.admin-nav {
    gap: 8px;
}

.admin-nav .nav-link {
    border-radius: 999px;
    padding: 6px 14px;
    color: rgba(15, 23, 42, 0.75);
    font-weight: 600;
    background: #fff;
    border: 1px solid #e2e8f0;
}

.admin-nav .nav-link:hover,
.admin-nav .nav-link:focus {
    color: var(--admin-accent);
    border-color: rgba(74, 111, 165, 0.4);
}

.admin-nav .nav-link.active {
    background: var(--admin-accent);
    border-color: var(--admin-accent);
    color: #fff;
}

.admin-content {
    padding: 24px;
    flex: 1;
    position: relative;
    z-index: 0;
}

@media (max-width: 991.98px) {
    .topbar-main {
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .brand-block {
        width: auto;
        justify-content: flex-start;
    }

    .topbar-actions {
        width: auto;
        justify-content: flex-end;
        flex-wrap: nowrap;
    }

    .topbar-hover {
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
    }

    .admin-nav-groups {
        display: none;
    }

    .mobile-shortcuts {
        display: grid;
    }

    .dashboard-page .topbar-nav .mobile-shortcuts {
        display: none;
    }

    .dashboard-page .dashboard-shortcuts {
        display: grid;
    }

    .admin-nav-groups {
        gap: 12px;
        overflow-x: auto;
        padding-bottom: 6px;
    }

    .admin-dropdown {
        white-space: nowrap;
    }

    .admin-content {
        padding: 18px;
    }
}

@media (max-width: 575.98px) {
    .topbar-main {
        padding: 12px 16px;
    }

    .brand-logo {
        height: 34px;
    }

    .topbar-nav {
        padding: 10px 16px 12px;
    }

    .admin-dropdown-menu {
        max-width: calc(100vw - 24px);
        overflow-x: auto;
    }

    .admin-content {
        padding: 16px;
    }

    .navbar,
    .navbar .container {
        flex-wrap: nowrap !important;
        gap: 8px;
        align-items: center;
    }

    .navbar-brand {
        margin-right: auto;
    }

    .navbar-collapse {
        display: flex !important;
        flex-basis: auto !important;
        flex-grow: 0;
        width: auto !important;
        margin-left: auto;
        align-items: center;
        justify-content: flex-end;
        white-space: nowrap;
    }

    .navbar-nav {
        display: none;
    }

    .navbar-actions {
        margin-left: auto;
        align-items: center;
    }

    .brand-logo-light {
        height: 28px;
    }

    .profile-pill {
        padding: 4px 6px;
    }

    .avatar-circle {
        width: 30px;
        height: 30px;
        font-size: 0.72rem;
    }
}

@media (max-width: 767.98px) {
    .navbar,
    .navbar .container {
        flex-wrap: nowrap !important;
        align-items: center;
    }

    .navbar .container {
        justify-content: space-between;
    }

    .navbar-brand {
        margin-right: 0;
    }

    .navbar-collapse {
        display: flex !important;
        flex: 0 0 auto !important;
        width: auto !important;
        margin-left: auto;
        align-items: center;
        justify-content: flex-end;
        white-space: nowrap;
    }

    .navbar-nav {
        display: none;
    }

    .navbar-actions {
        margin-left: auto;
        align-items: center;
    }

    .topbar-actions .dropdown-menu {
        right: 10px;
        left: auto;
        max-width: 200px;
        min-width: 180px;
    }

    .topbar-actions .dropdown-menu .dropdown-item {
        padding: 5px 6px;
        font-size: 0.8rem;
        gap: 6px;
    }

    .topbar-actions .dropdown-menu .nav-icon {
        width: 24px;
        height: 24px;
        border-radius: 7px;
    }

    .admin-topbar {
        background: linear-gradient(135deg, #1f7fb6 0%, #2aa6a1 100%);
        border-bottom: none;
    }

    .topbar-actions {
        gap: 8px;
    }

    .topbar-main {
        padding: 10px 14px;
        gap: 10px;
    }

    .brand-block {
        padding: 4px 8px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.92);
        box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
    }

    .brand-logo {
        display: none;
    }

    .brand-compact {
        display: flex;
    }

    .brand-icon {
        width: 24px;
        height: 24px;
        border-radius: 8px;
    }

    .brand-name {
        font-size: 0.78rem;
    }

    .profile-pill {
        padding: 4px 6px;
    }

    .profile-pill span {
        display: none;
    }

    .topbar-actions {
        justify-content: flex-end;
    }

    .topbar-actions .icon-btn {
        width: 30px;
        height: 30px;
    }

    .avatar-circle {
        width: 30px;
        height: 30px;
        font-size: 0.72rem;
    }

    .topbar-nav {
        padding: 10px 14px 14px;
        background: transparent;
        border-top: none;
        box-shadow: none;
    }

    .mobile-shortcuts {
        --shortcut-gap: 8px;
        grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
        grid-auto-rows: minmax(80px, auto);
    }

    .mobile-shortcut {
        padding: 8px 4px;
        border-radius: 12px;
        box-shadow: 0 8px 16px rgba(15, 23, 42, 0.07);
    }

    .shortcut-icon {
        width: 32px;
        height: 32px;
        border-radius: 10px;
    }

    .shortcut-label {
        font-size: 0.68rem;
    }

    .admin-nav-groups {
        flex-direction: column;
        align-items: stretch;
        overflow: visible;
    }

    .admin-nav-groups .dropdown {
        width: 100%;
    }

    .admin-dropdown {
        width: 100%;
        justify-content: flex-start;
    }

    .admin-dropdown-menu {
        width: 100%;
        max-width: calc(100vw - 32px);
    }

    .hero-panel .card-body,
    .hero-card {
        padding: 20px;
    }

    .hero-panel h2 {
        font-size: 1.5rem;
    }

    .candidate-hero-body {
        padding: 22px 20px 14px;
    }

    .candidate-hero-actions {
        width: 100%;
    }

    .candidate-hero-actions .btn {
        flex: 1 1 auto;
    }

    .candidate-progress {
        padding: 0 20px 20px;
    }

    .candidate-page-header .btn {
        width: 100%;
    }

    .cv-card {
        padding: 18px;
    }

    .cv-header {
        align-items: flex-start;
    }

    .cv-avatar {
        width: 72px;
        height: 72px;
        font-size: 1.2rem;
    }

    .cv-field {
        padding: 8px 10px;
    }

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

    .cv-docs {
        grid-template-columns: 1fr;
    }

    .candidate-feature-card {
        padding: 14px;
    }

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

    .feature-icon {
        width: 48px;
        height: 48px;
        border-radius: 16px;
    }

    .feature-label {
        font-size: 0.75rem;
    }
}

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

.icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    display: grid;
    place-items: center;
}

.icon-btn:hover,
.icon-btn:focus {
    color: var(--admin-accent);
    border-color: rgba(79, 107, 217, 0.4);
}

.profile-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: var(--ink);
}

.avatar-circle {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(79, 107, 217, 0.9), rgba(15, 118, 110, 0.9));
    color: #fff;
    font-weight: 600;
    display: grid;
    place-items: center;
    font-size: 0.85rem;
}

.table thead th {
    font-weight: 600;
    color: var(--muted);
}

.table-card-shell {
    background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
    border-radius: 20px;
    overflow: hidden;
}

.table-toolbar {
    background: rgba(241, 245, 249, 0.6);
}

.table-search {
    width: min(360px, 100%);
}

.table-meta {
    font-weight: 600;
}

.table-page-size {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.table-page-size .form-select {
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    padding-right: 28px;
}

.table-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.table-actions .btn {
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.table-footer-left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.table-footer-right .pagination {
    justify-content: flex-end;
}

.table-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tab-pill {
    border: 1px solid transparent;
    background: rgba(226, 232, 240, 0.5);
    color: rgba(51, 65, 85, 0.9);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.tab-pill:hover,
.tab-pill:focus {
    background: rgba(148, 163, 184, 0.25);
}

.tab-pill.is-active {
    background: linear-gradient(135deg, #0f766e, #0ea5a4);
    color: #fff;
    border-color: rgba(15, 118, 110, 0.3);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.tab-pill--incomplete.is-active {
    background: linear-gradient(135deg, #f97316, #fb923c);
}

.tab-pill--waiting.is-active {
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
}

.tab-pill--in_progress.is-active {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.tab-pill--submitted.is-active {
    background: linear-gradient(135deg, #14b8a6, #0f766e);
}

.tab-pill--passed.is-active {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.tab-pill--failed.is-active {
    background: linear-gradient(135deg, #f43f5e, #e11d48);
}

.table-toolbar .input-group-text {
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-right: 0;
    border-radius: 999px 0 0 999px;
}

.table-toolbar .form-control {
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-left: 0;
    border-radius: 0 999px 999px 0;
    box-shadow: none;
}

.table-card {
    border-collapse: separate;
    border-spacing: 0 12px;
}

.table-card thead th {
    border-bottom: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.72rem;
    color: rgba(100, 116, 139, 0.9);
}

.table-card tbody tr {
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    border-radius: 14px;
}

.table-card tbody td {
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.table-card tbody td:first-child {
    border-left: 1px solid rgba(226, 232, 240, 0.8);
    border-top-left-radius: 14px;
    border-bottom-left-radius: 14px;
}

.table-card tbody td:last-child {
    border-right: 1px solid rgba(226, 232, 240, 0.8);
    border-top-right-radius: 14px;
    border-bottom-right-radius: 14px;
}

.table-card tbody td[data-label="Status"] {
    padding-right: 8px;
}

.table-card tbody td[data-label="Aksi"] {
    padding-left: 8px;
    white-space: nowrap;
}

.action-icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: #fff;
    color: #0f766e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.action-icon-btn:hover,
.action-icon-btn:focus {
    background: rgba(15, 118, 110, 0.12);
    border-color: rgba(15, 118, 110, 0.4);
}

.action-icon-btn--danger {
    color: #e11d48;
    border-color: rgba(244, 63, 94, 0.4);
}

.action-icon-btn--danger:hover,
.action-icon-btn--danger:focus {
    background: rgba(244, 63, 94, 0.12);
    border-color: rgba(244, 63, 94, 0.5);
}

.pagination-shell .pagination {
    margin-bottom: 0;
    gap: 6px;
}

.pagination-shell .page-link {
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    color: rgba(51, 65, 85, 0.9);
    padding: 6px 12px;
    box-shadow: none;
}

.pagination-shell .page-item.active .page-link {
    background: linear-gradient(135deg, #0f766e, #0ea5a4);
    border-color: transparent;
    color: #fff;
}

.pagination-shell .page-item.disabled .page-link {
    color: rgba(100, 116, 139, 0.5);
    background: rgba(226, 232, 240, 0.5);
}

.pagination-nav {
    width: 100%;
}

.pagination-candidates {
    gap: 8px;
    align-items: center;
    margin: 0;
}

.pagination-candidates .page-link {
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    color: rgba(51, 65, 85, 0.8);
    padding: 6px 12px;
    font-weight: 600;
}

.pagination-candidates .page-item.active .page-link {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    box-shadow: 0 6px 14px rgba(99, 102, 241, 0.35);
}

.pagination-candidates .page-item.disabled .page-link {
    color: rgba(148, 163, 184, 0.7);
    background: transparent;
}

.pagination-candidates .page-link:hover,
.pagination-candidates .page-link:focus {
    background: rgba(99, 102, 241, 0.12);
    color: #4338ca;
}

.modal-candidate {
    border-radius: 20px;
    border: none;
    background: linear-gradient(180deg, #ffffff 0%, #f5f9fb 100%);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
    position: relative;
    overflow: hidden;
}

.modal-candidate::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #0f766e, #38bdf8, #f97316);
}

.modal-candidate-dialog {
    max-width: 460px;
    margin-top: 110px;
    margin-bottom: 24px;
}

.modal-candidate .modal-header {
    padding: 16px 20px 8px;
}

.modal-candidate .modal-title {
    font-weight: 700;
    font-size: 1.05rem;
}

.modal-candidate .modal-body {
    padding: 8px 20px 12px;
}

.modal-candidate .modal-footer {
    padding: 0 20px 16px;
    gap: 10px;
}

.modal-candidate .form-control {
    border-radius: 12px;
    padding: 0.45rem 0.75rem;
    font-size: 0.92rem;
}

.modal-candidate .form-label {
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
}

.modal-candidate .form-text {
    font-size: 0.72rem;
    margin-top: 0.25rem;
}

@media (max-width: 575.98px) {
    .modal-candidate-dialog {
        max-width: 94vw;
        margin: 84px auto 16px;
    }
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(148, 163, 184, 0.2);
    color: rgba(51, 65, 85, 0.9);
}

.status-badge--incomplete {
    background: rgba(251, 146, 60, 0.2);
    color: #c2410c;
}

.status-badge--waiting {
    background: rgba(56, 189, 248, 0.2);
    color: #0369a1;
}

.status-badge--in_progress {
    background: rgba(99, 102, 241, 0.2);
    color: #4338ca;
}

.status-badge--submitted {
    background: rgba(20, 184, 166, 0.2);
    color: #0f766e;
}

.status-badge--passed {
    background: rgba(34, 197, 94, 0.2);
    color: #15803d;
}

.status-badge--failed {
    background: rgba(244, 63, 94, 0.2);
    color: #be123c;
}

.table-card .btn-outline-primary,
.table-card .btn-outline-danger {
    border-radius: 999px;
    padding: 4px 12px;
    font-weight: 600;
}

.table-card .btn-outline-primary {
    border-color: rgba(20, 184, 166, 0.6);
    color: #0f766e;
}

.table-card .btn-outline-primary:hover {
    background: #0f766e;
    border-color: #0f766e;
    color: #fff;
}

.table-card .btn-outline-danger {
    border-color: rgba(244, 63, 94, 0.5);
    color: #e11d48;
}

.table-card .btn-outline-danger:hover {
    background: #e11d48;
    border-color: #e11d48;
    color: #fff;
}

.responsive-table td[data-label] {
    position: relative;
}

@media (max-width: 575.98px) {
    .responsive-table thead {
        display: none;
    }

    .responsive-table tbody tr {
        display: block;
        padding: 12px;
        border-bottom: 1px solid rgba(15, 23, 42, 0.08);
        background: #fff;
        box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
        border-radius: 14px;
    }

    .responsive-table tbody tr:last-child {
        border-bottom: none;
    }

    .responsive-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 0;
        border: none;
    }

    .responsive-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--muted);
        margin-right: 12px;
    }

    .responsive-table td.text-end {
        justify-content: flex-start;
        gap: 8px;
    }

    .table-toolbar {
        padding-bottom: 12px;
    }

    .table-tabs {
        gap: 8px;
    }

    .tab-pill {
        padding: 6px 10px;
        font-size: 0.72rem;
    }

    .table-page-size {
        width: 100%;
        justify-content: flex-start;
    }

    .table-footer-left {
        width: 100%;
    }

    .table-footer-right {
        width: 100%;
        justify-content: flex-start;
    }

    .table-card {
        border-spacing: 0 10px;
    }

    .table-card tbody td {
        border: none;
    }
}

.form-control,
.form-select {
    border-radius: 12px;
    border-color: rgba(15, 23, 42, 0.15);
}

.btn-primary {
    background-color: var(--brand-1);
    border-color: var(--brand-1);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #0b5f58;
    border-color: #0b5f58;
}

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

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--brand-1);
    border-color: var(--brand-1);
}

.competency-card {
    border-radius: 20px;
    background: linear-gradient(145deg, #ffffff 0%, #f6fbff 100%);
}

.competency-list {
    padding-left: 18px;
    display: grid;
    gap: 8px;
}

.competency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}

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

.competency-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.competency-index {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-weight: 700;
    color: #0f766e;
    background: rgba(15, 118, 110, 0.12);
}

.competency-meta {
    font-size: 0.8rem;
    color: rgba(100, 116, 139, 0.85);
}

.info-panels {
    display: grid;
    gap: 14px;
}

.info-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    padding: 14px 16px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.info-card--warn {
    border-color: rgba(249, 115, 22, 0.3);
    background: linear-gradient(135deg, rgba(255, 247, 237, 0.9), #fff);
}

.info-card--note {
    border-color: rgba(59, 130, 246, 0.3);
    background: linear-gradient(135deg, rgba(239, 246, 255, 0.9), #fff);
}

.info-list {
    margin: 0;
    padding-left: 18px;
    color: rgba(71, 85, 105, 0.9);
    font-size: 0.9rem;
    display: grid;
    gap: 6px;
}

.consent-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    padding: 16px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

@media (max-width: 991.98px) {
    .competency-layout {
        grid-template-columns: 1fr;
    }
}

.camera-box {
    border-radius: 16px;
    background: #0f172a;
    padding: 12px;
    position: relative;
    min-height: 220px;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.camera-box video {
    width: 100%;
    border-radius: 12px;
}

.camera-status {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    font-size: 0.65rem;
    color: #fff;
    background: rgba(15, 23, 42, 0.6);
    padding: 4px 8px;
    border-radius: 8px;
}

.camera-status.is-active {
    background: rgba(16, 185, 129, 0.75);
}

.camera-status.is-error {
    background: rgba(239, 68, 68, 0.75);
}

.record-status {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.6rem;
    color: #fff;
    background: rgba(15, 23, 42, 0.6);
    padding: 3px 6px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.record-status::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(148, 163, 184, 0.9);
}

.record-status.is-recording {
    background: rgba(239, 68, 68, 0.75);
}

.record-status.is-recording::before {
    background: #fca5a5;
    box-shadow: 0 0 6px rgba(248, 113, 113, 0.9);
}

.record-status.is-stopped {
    background: rgba(100, 116, 139, 0.7);
}

.face-status {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 0.6rem;
    color: #fff;
    background: rgba(15, 23, 42, 0.6);
    padding: 3px 6px;
    border-radius: 999px;
}

.face-status.is-detected {
    background: rgba(34, 197, 94, 0.75);
}

.face-status.is-multi {
    background: rgba(245, 158, 11, 0.75);
}

.face-status.is-none {
    background: rgba(100, 116, 139, 0.7);
}

.face-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.test-camera-section {
    display: flex;
    justify-content: flex-end;
    margin: 12px 0 16px;
}

.test-camera-box {
    width: 190px;
    min-height: 110px;
    padding: 8px;
}

.test-camera-box video {
    height: 110px;
    object-fit: contain;
}

@media (max-width: 767.98px) {
    .test-camera-box {
        width: 100%;
        min-height: 160px;
        padding: 10px;
    }
    .test-camera-box video {
        height: 160px;
        object-fit: contain;
    }
}

.info-timer {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 8px 12px;
    background: rgba(15, 118, 110, 0.1);
    border-radius: 12px;
    font-weight: 600;
}

.competency-info {
    position: relative;
    overflow: hidden;
}

.competency-info::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(15, 118, 110, 0.08);
    top: -80px;
    right: -80px;
}

.competency-info-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.competency-info-body {
    margin-top: 24px;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 18px;
}

.info-example {
    background: #fff;
    border-radius: 14px;
    padding: 14px 16px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.info-highlight {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.info-highlight-card {
    background: #fff;
    border-radius: 14px;
    padding: 10px 12px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    display: grid;
    gap: 4px;
}

.info-highlight-icon {
    width: 28px;
    height: 28px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 118, 110, 0.12);
    color: #0f766e;
    margin-bottom: 2px;
}

.info-highlight-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(100, 116, 139, 0.8);
}

.info-highlight-value {
    font-weight: 700;
    color: rgba(15, 23, 42, 0.9);
}

.info-example-title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    margin-bottom: 6px;
    color: rgba(15, 23, 42, 0.9);
}

.info-example-body {
    white-space: pre-line;
    color: rgba(15, 23, 42, 0.85);
    line-height: 1.6;
}

.info-side {
    display: grid;
    gap: 14px;
}

@media (max-width: 991.98px) {
    .competency-info-body {
        grid-template-columns: 1fr;
    }
}

.no-copy {
    user-select: none;
}

.question-nav {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    padding: 14px;
    margin-bottom: 16px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.question-nav-title {
    font-weight: 700;
    margin-bottom: 8px;
}

.question-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(36px, 1fr));
    gap: 8px;
}

.question-nav-item {
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: #fff;
    border-radius: 10px;
    padding: 6px 0;
    font-weight: 600;
    color: rgba(71, 85, 105, 0.9);
    transition: all 0.2s ease;
}

.question-nav-item.is-active {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.4);
    color: #2563eb;
}

.question-nav-item.is-answered {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.4);
    color: #047857;
}

.question-card {
    display: none;
}

.question-card.is-active {
    display: block;
}

.question-number {
    font-weight: 700;
    color: rgba(15, 23, 42, 0.9);
}

.question-badge {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(148, 163, 184, 0.2);
    color: rgba(71, 85, 105, 0.9);
}

.question-badge.is-answered {
    background: rgba(16, 185, 129, 0.15);
    color: #047857;
}

.question-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-panel,
    .hero-card,
    .feature-card {
        animation: none;
    }
}
