:root {
    --bm-primary: #882528;
    --bm-primary-dark: #651a1c;
    --bm-secondary: #f08519;
    --bm-secondary-light: #fff4e8;
    --bm-soft: #fff8f2;
    --bm-border: #eee4dc;
    --bm-text: #252525;
    --bm-muted: #6f7278;
}

.candidate-auth-page {
    min-height: 680px;
    display: flex;
    align-items: center;
    padding: 72px 0;
    background:
        radial-gradient(circle at top right, rgba(240, 133, 25, .1), transparent 34%),
        linear-gradient(180deg, #fff 0%, #fff8f2 100%);
}

.candidate-auth-copy > span,
.auth-card-header > span,
.candidate-dashboard-heading span,
.candidate-card-header span,
.candidate-status-card > span {
    color: var(--bm-secondary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.candidate-auth-copy h1 {
    margin: 14px 0 16px;
    color: var(--bm-primary);
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 700;
    line-height: 1.12;
}

.candidate-auth-copy > p {
    max-width: 560px;
    color: var(--bm-muted);
    font-size: 17px;
    line-height: 1.7;
}

.auth-feature {
    display: flex;
    gap: 14px;
    margin-top: 22px;
}

.auth-feature > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: var(--bm-secondary-light);
    color: var(--bm-secondary);
}

.auth-feature strong,
.auth-feature small {
    display: block;
}

.auth-feature small {
    margin-top: 3px;
    color: var(--bm-muted);
}

.candidate-auth-card,
.candidate-status-card,
.candidate-history-card,
.candidate-profile-card {
    border: 1px solid rgba(136, 37, 40, .1);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(55, 31, 21, .08);
}

.candidate-auth-card {
    padding: 32px;
}

.auth-card-header {
    margin-bottom: 24px;
}

.auth-card-header h2,
.candidate-card-header h2 {
    margin: 8px 0 6px;
    color: var(--bm-primary);
    font-weight: 700;
}

.auth-card-header p {
    margin: 0;
    color: var(--bm-muted);
}

.password-field {
    position: relative;
}

.password-field .form-control {
    padding-right: 48px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    border: 0;
    background: transparent;
    color: var(--bm-muted);
    transform: translateY(-50%);
}

.auth-card-footer {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--bm-border);
    color: var(--bm-muted);
    text-align: center;
}

.auth-card-footer a {
    color: var(--bm-primary);
    font-weight: 600;
}

.auth-security-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin-bottom: 18px;
    border-radius: 18px;
    background: var(--bm-secondary-light);
    color: var(--bm-secondary);
    font-size: 24px;
}

.candidate-dashboard-heading {
    padding: 58px 0;
    background:
        radial-gradient(circle at top right, rgba(240, 133, 25, .1), transparent 34%),
        linear-gradient(180deg, #fff 0%, #fff8f2 100%);
}

.candidate-dashboard-heading h1 {
    margin: 12px 0 8px;
    color: var(--bm-primary);
    font-size: clamp(34px, 4.5vw, 52px);
    font-weight: 700;
}

.candidate-dashboard-heading p {
    margin: 0;
    color: var(--bm-muted);
}

.candidate-dashboard-page {
    padding: 54px 0 76px;
    background: #f8f9fb;
}

.candidate-status-card,
.candidate-history-card,
.candidate-profile-card {
    padding: 28px;
}

.candidate-status-card h2 {
    margin: 8px 0;
    color: var(--bm-primary);
    font-size: 32px;
    font-weight: 700;
}

.candidate-status-card p {
    margin: 0;
    color: var(--bm-muted);
}

.candidate-timeline {
    margin-top: 24px;
}

.candidate-timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 14px;
    padding-bottom: 26px;
}

.candidate-timeline-item:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 15px;
    width: 2px;
    height: calc(100% - 4px);
    background: rgba(136, 37, 40, .14);
}

.timeline-dot {
    position: relative;
    z-index: 2;
    width: 14px;
    height: 14px;
    margin-top: 4px;
    border-radius: 50%;
    background: var(--bm-primary);
}

.candidate-timeline-item p {
    margin: 4px 0;
    color: var(--bm-muted);
}

.candidate-timeline-item small {
    color: #919191;
}

.candidate-profile-card dl {
    margin: 22px 0 0;
}

.candidate-profile-card dt {
    color: var(--bm-muted);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.candidate-profile-card dd {
    margin: 4px 0 18px;
    color: var(--bm-text);
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .candidate-auth-copy {
        text-align: center;
    }

    .candidate-auth-copy > p {
        margin-right: auto;
        margin-left: auto;
    }

    .auth-feature {
        max-width: 420px;
        margin-right: auto;
        margin-left: auto;
        text-align: left;
    }
}

@media (max-width: 767.98px) {
    .candidate-auth-page {
        padding: 48px 0;
    }

    .candidate-auth-card {
        padding: 22px;
    }

    .candidate-dashboard-heading {
        padding: 44px 0;
    }

    .candidate-dashboard-page {
        padding: 38px 0 56px;
    }
}
/* =========================================================
   ADMIN FINAL SK
   ========================================================= */

.proses-final-sk {
    margin-top: 16px;
    padding: 16px;
    border: 1px solid #eceef1;
    border-radius: 15px;
    background: #fff;
}

.proses-final-sk-heading {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.proses-final-sk-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #fff0f0;
    color: #b12d35;
}

.proses-final-sk-heading strong {
    display: block;
    color: var(--proses-text);
}

.proses-final-sk-heading p {
    margin: 3px 0 0;
    color: var(--proses-muted);
    font-size: 12px;
    line-height: 1.5;
}

.proses-final-sk-meta {
    display: grid;
    gap: 5px;
    margin-top: 11px;
    color: var(--proses-muted);
    font-size: 11px;
}

.proses-final-sk-meta strong {
    color: var(--proses-text);
}

/* =========================================================
   PORTAL FINAL RESULT
   ========================================================= */

.portal-result-section {
    padding: 18px 0;
}

.portal-result-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 26px;
    border: 1px solid rgba(136, 37, 40, 0.12);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(45, 32, 25, 0.08);
}

.portal-result-card.is-accepted {
    border-color: rgba(33, 132, 74, 0.2);
    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f6fff9 100%
        );
}

.portal-result-card.is-rejected {
    border-color: rgba(177, 45, 53, 0.16);
    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #fff8f8 100%
        );
}

.portal-result-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 62px;
    width: 62px;
    height: 62px;
    border-radius: 18px;
    font-size: 24px;
}

.is-accepted .portal-result-icon {
    background: #eaf8ef;
    color: #21844a;
}

.is-rejected .portal-result-icon {
    background: #fff0f0;
    color: #b12d35;
}

.portal-result-content span {
    display: block;
    margin-bottom: 5px;
    color: #f08519;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.portal-result-content h2 {
    margin: 0 0 8px;
    color: #882528;
    font-size: 25px;
    font-weight: 700;
}

.portal-result-content p {
    max-width: 720px;
    margin: 0 0 17px;
    color: #747982;
    line-height: 1.7;
}

.portal-result-waiting {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 13px;
    border-radius: 12px;
    background: #fff4e8;
    color: #9a5a17;
    font-size: 13px;
}

@media (max-width: 575.98px) {
    .portal-result-card {
        flex-direction: column;
        padding: 20px;
    }

    .portal-result-content h2 {
        font-size: 22px;
    }

    .portal-result-content .btn {
        width: 100%;
    }
}