.exam-portal {
    --exam-green: #147344;
    --exam-green-dark: #105c36;
    --exam-ink: #183247;
    --exam-muted: #667786;
    background: #f4f7f6;
    padding: 48px 16px 64px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.exam-shell {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e4ebe7;
    border-radius: 18px;
    box-shadow: 0 12px 34px rgba(24, 50, 71, 0.08);
    overflow: hidden;
}

.exam-topline {
    height: 6px;
    background: linear-gradient(90deg, var(--exam-green), #75ad8d);
}

.exam-content {
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) minmax(360px, 1.05fr);
    gap: 44px;
    align-items: center;
    padding: 48px clamp(24px, 5vw, 64px);
}

.exam-intro {
    color: var(--exam-ink);
}

.exam-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--exam-green);
    background: #edf6f0;
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.exam-intro h1 {
    margin: 20px 0 12px;
    color: var(--exam-ink);
    font-size: clamp(1.8rem, 3vw, 2.35rem);
    line-height: 1.15;
    font-weight: 750;
}

.exam-intro p.exam-desc {
    color: var(--exam-muted);
    font-size: 1rem;
    line-height: 1.65;
    max-width: 440px;
    margin-bottom: 24px;
}

.exam-notice-box {
    background: #fff8e8;
    border: 1px solid #f1dfb3;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 24px;
    color: #76591c;
    font-size: 0.88rem;
    line-height: 1.5;
}

.exam-notice-box strong {
    color: #5c430e;
    display: block;
    margin-bottom: 4px;
}

.exam-benefit {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 15px;
    color: #435665;
    font-size: 0.92rem;
}

.exam-benefit i {
    color: var(--exam-green);
    margin-top: 2px;
    font-size: 1.15rem;
    width: 20px;
}

.exam-form-card {
    border: 1px solid #e5ece8;
    border-radius: 15px;
    padding: 32px 30px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(24, 50, 71, 0.045);
}

.exam-form-card h2 {
    color: var(--exam-ink);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.exam-form-subtitle {
    color: var(--exam-muted);
    font-size: 0.9rem;
    margin-bottom: 22px;
}

.exam-field-label {
    color: #334b5d;
    font-weight: 650;
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.exam-example-link {
    font-size: 0.8rem;
    color: var(--exam-green);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.exam-example-link:hover {
    color: var(--exam-green-dark);
    text-decoration: underline;
}

.exam-input {
    min-height: 48px;
    border-radius: 9px;
    border: 1px solid #d8e2dd;
    color: var(--exam-ink);
    font-size: 0.95rem;
    padding: 10px 14px;
    width: 100%;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.exam-input:focus {
    border-color: var(--exam-green);
    box-shadow: 0 0 0 0.2rem rgba(20, 115, 68, 0.12);
    outline: none;
}

.exam-help {
    color: #788894;
    font-size: 0.78rem;
    margin-top: 6px;
}

.exam-terms {
    background: #f8faf9;
    border: 1px solid #e2ece6;
    border-radius: 9px;
    padding: 12px 14px;
    margin-top: 18px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: #3f5160;
}

.exam-terms input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--exam-green);
    cursor: pointer;
    flex-shrink: 0;
}

.exam-terms a {
    color: var(--exam-green);
    font-weight: 600;
    text-decoration: underline;
}

.exam-terms a:hover {
    color: var(--exam-green-dark);
}

.exam-submit {
    min-height: 49px;
    border: 0;
    border-radius: 9px;
    background: var(--exam-green) !important;
    color: #fff !important;
    font-weight: 700;
    font-size: 1rem;
    width: 100%;
    margin-top: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.18s ease;
}

.exam-submit:hover {
    background: var(--exam-green-dark) !important;
}

.exam-security {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #74838d;
    font-size: 0.78rem;
    line-height: 1.5;
    margin-top: 17px;
}

.exam-security i {
    color: var(--exam-green);
    margin-top: 2px;
    font-size: 1rem;
}

.exam-footer-note {
    border-top: 1px solid #edf1ee;
    padding: 16px 28px;
    color: #71808a;
    font-size: 0.78rem;
    text-align: center;
}

@media (max-width: 767.98px) {
    .exam-portal {
        padding: 24px 12px 40px;
    }
    .exam-content {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 28px 18px;
    }
    .exam-intro h1 {
        margin-top: 14px;
    }
    .exam-form-card {
        padding: 22px 18px;
    }
}
