/* ============================================================
   Severance Pay Calculator — Stylesheet
   ============================================================ */

.sev-calc {
    width: 100%;
    max-width: 71.75rem; /* 1148px */
    margin: 0 auto;
    padding: 0;
    color: var(--color-text, #00284A);
    font-family: var(--font-body, 'Lato', sans-serif);
}


.sev-calculator-intro {
    width: 100%;
    max-width: 54.6875rem;
    margin: 0 auto 3rem;
    text-align: center;
}

.sev-eyebrow {
    margin: 0 0 1rem;
    color: var(--color-accent, #F63D96);
    font-size: var(--fs-eyebrow, 1rem);
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
}

.sev-page-title {
    margin: 0 0 1.25rem;
    color: var(--color-primary, #00284A);
    font-family: var(--font-heading, 'Archivo', sans-serif);
    font-size: 3.875rem;
    line-height: 1.05;
    font-weight: 600;
    text-transform: capitalize;
}

.sev-page-title em {
    font-style: italic;
}

.sev-page-description {
    margin: 0;
    color: var(--color-text, #5D5A5A);
    font-size: 1.25rem;
    line-height: 1.5;
}

.sev-step-form {
    display: flex;
    flex-direction: column;
    gap: 1.875rem;
    background: #fff;
    border: .625rem solid #1B3B66;
    border-radius: .25rem;
    padding: 3.125rem;
}


.sev-form-block__header {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.sev-form-grid--two-columns, .sev-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.sev-form-column {
    display: flex;
}

.sev-form-column .sev-form-block {
    width: 100%;
    height: 100%;
}

/* Progress bar */
.sev-progress {
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    margin-bottom: 6px;
    overflow: hidden;
}

.sev-progress-bar {
    height: 100%;
    background: #1a5276;
    border-radius: 3px;
    transition: width 0.4s ease;
    width: 20%;
}

.sev-step-label {
    font-size: 13px;
    color: #666;
    margin: 0 0 28px;
    text-align: right;
}

/* Step sections */
.sev-step {
    animation: sevFadeIn 0.3s ease;
}

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

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


/* Headings */

.sev-step .sev-form-block__header h2 {
    font-size: 1.75rem;
}

.sev-step h2 {
    margin: 0 0 .75rem;
    color: var(--color-primary, #00284A);
    font-family: var(--font-heading, 'Archivo', sans-serif);
    font-size: 3.875rem;
    line-height: 1.1;
    font-weight: 600;
    text-transform: capitalize;
}

.sev-step h2 em {
    font-style: italic;
}

.sev-instruction {
    max-width: 44rem;
    margin: 0;
    color: #5D5A5ACC;
    font-size: 1.25rem;
    line-height: 1.45;
}

/* Field layout */


.sev-row .sev-field {
    min-width: 0;
}

.sev-field-single {
    max-width: none;
}

/* Labels & inputs */
.sev-field label {
    display: block;
    font-size: var(--fs-body-lg, 1.125rem);
    font-weight: 600;
    letter-spacing: .0563rem;
    color: var(--color-text, #5D5A5A);
    margin: 0 0 .625rem;
}

.sev-field input[type="number"],
.sev-field select {
    width: 100%;
    height: 3.75rem;
    padding: .9375rem;
border: 1px solid rgba(93, 90, 90, 0.20);
    border-radius: .125rem;
    background-color: #fff;
    color: var(--color-text, #5D5A5A);
    font-family: var(--font-body, 'Lato', sans-serif);
    font-size: 1.125rem;
    line-height: 1.2;
    font-weight: 400;
    box-sizing: border-box;
    transition: border-color .3s ease, box-shadow .3s ease;
    appearance: none;
    -webkit-appearance: none;
}

.sev-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.25L7 7.25L13 1.25' stroke='%2300284A' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .9375rem center;
    padding-right: 3.25rem;
}

.sev-field select option {
    color: var(--color-text, #5D5A5A);
    font-family: var(--font-body, 'Lato', sans-serif);
    font-size: 1.125rem;
    line-height: 1.4;
    font-weight: 400;
}

.sev-field input[type="number"]:focus,
.sev-field select:focus {
    outline: none;
    border-color: var(--color-primary, #00284A);
    box-shadow: inset 0 0 0 1px var(--color-primary, #00284A);
}

/* $ prefix input */
.sev-input-prefix {
    position: relative;
    display: flex;
    align-items: center;
    height: 3.75rem;
    border: 1px solid rgba(93, 90, 90, 0.20);
    border-radius: .125rem;
    overflow: hidden;
    background: #fff;
    transition: border-color .3s ease, box-shadow .3s ease;
}

.sev-input-prefix:focus-within {
    border-color: var(--color-primary, #00284A);
    box-shadow: inset 0 0 0 1px var(--color-primary, #00284A);
}

.sev-input-prefix span {
    position: absolute;
    left: .9375rem;
    top: 50%;
    z-index: 2;
    width: 1.25rem;
    height: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transform: translateY(-50%);
    border-radius: 50%;
    background: #5D5A5ACC;
    color: #fff;
    font-family: var(--font-body, 'Lato', sans-serif);
    font-size: .875rem;
    line-height: 1;
    font-weight: 600;
    user-select: none;
    pointer-events: none;
}

.sev-input-prefix input {
    height: 100% !important;
    min-width: 0;
    padding-left: 2.8125rem !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    flex: 1;
}

.sev-input-prefix input:focus {
    outline: none;
    box-shadow: none !important;
}

/* Hint text */
.sev-hint {
    margin: .75rem 0 0;
    color: #5D5A5ACC;
    font-size: 1rem;
    line-height: 1.4;
    font-style: normal;
}

/* Error messages */
.sev-error {
    min-height: 1.25rem;
    margin-top: .625rem;
    color: #C6081B;
    font-size: .875rem;
    line-height: 1.3;
    font-weight: 600;
}

/* Navigation buttons */
.sev-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0;
}

.sev-nav-right {
    justify-content: flex-end;
}

.sev-nav-center {
    justify-content: center;
}

.sev-btn-primary,
.sev-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18.75rem;
    height: 3.5rem;
    padding: 1rem 1.5rem;
    border-radius: .125rem;
    font-family: var(--font-body, 'Lato', sans-serif);
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    text-transform: uppercase;
    border: none;
    transition: all .3s ease;
}

.sev-btn-primary {
    background: #F63D96;
    color: #fff;
}

.sev-btn-primary:hover {
    background: #D92F80;
}


.sev-btn-secondary {
    background: #ecf0f1;
    color: #333;
    border: 1.5px solid #ccc;
}

.sev-btn-secondary:hover {
    background: #dde1e2;
}

/* Results */

.sev-results-section {
    width: 100%;
}

.sev-results-layout {
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.sev-results-header {
    margin-bottom: 1.875rem;
}

.sev-results-title {
    margin: 0;
    color: var(--color-primary, #00284A);
    font-family: var(--font-heading, 'Archivo', sans-serif);
    font-size: 3.875rem;
    line-height: 1.1;
    font-weight: 600;
}

.sev-results-title em {
    font-style: italic;
}

.sev-results-card {
    overflow: hidden;
    border-radius: .25rem;
    background: #FFFFFF;
    box-shadow: 0 1.25rem 3.75rem rgba(0, 0, 0, .06);
    margin-bottom: 1.875rem;
}

.sev-results-card__top {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    background: #1B3B66;
}

.sev-result-card {
    min-height: 8.4375rem;
    padding: 2.5rem 1.875rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
}

.sev-result-card--months {
    border-right: 1px solid rgba(255, 255, 255, .18);
}

.sev-result-label {
    margin: 0 0 .625rem;
    color: rgba(255, 255, 255, .6);
    font-size: 1rem;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .05rem;
    text-transform: uppercase;
    font-family: var(--font-body, 'Lato', sans-serif);
}

.sev-result-value {
    font-family: var(--font-body, 'Lato', sans-serif);
    margin: 0;
    color: #FFFFFF;
    font-size: 2.375rem;
    line-height: 1.1;
    font-weight: 600;
    text-transform: capitalize;
}

.sev-results-summary {
    padding: 2.5rem 1.875rem;
    background: #FFFFFF;
}

.sev-summary-list {
    margin: 0;
}

.sev-summary-list div {
    display: grid;
    grid-template-columns: 11rem minmax(0, 1fr);
    gap: 1rem;
    padding: .625rem 0;
    border-bottom: 1px solid #5D5A5A1A;
}

.sev-summary-list div:last-child {
    border-bottom: 0;
}

.sev-summary-list dt,
.sev-summary-list dd {
    margin: 0;
}

.sev-summary-list dt {
    font-weight: 400;
    color: rgba(93, 90, 90, 0.80);
font-family: Lato;
font-size: 1rem;
font-style: normal;
font-weight: 400;
line-height: normal;
letter-spacing: .05rem;
}

.sev-summary-list dd {
color: var(--Grey, #5D5A5A);
font-family: Lato;
font-size: 1.125rem;
font-style: normal;
font-weight: 600;
line-height: normal;
letter-spacing: .0563rem;
}

.sev-results-disclaimer {
    margin: 0 0 1.875rem;
    color: var(--Grey, #5D5A5A);
    font-size: 1rem;
font-family: Lato;
font-style: normal;
font-weight: 500;
line-height: 140%; /* 22.4px */
}

.sev-results-disclaimer__title {
    margin: 0 0 .625rem !important;
    color: var(--color-accent, #F63D96);
    font-size: 1.125rem;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
}

.sev-results-disclaimer p {
    margin: 0;
}

.sev-results-disclaimer strong {
    color: var(--color-accent, #F63D96);
    font-weight: 700;
}

.sev-results-actions {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.sev-results-actions .sev-btn-secondary {
    min-width: auto;
    height: 3.5rem;
    padding: 0 0 0 3rem;
    background: transparent;
    border: 0;
    color: #2E2E2E;
    font-size: 1rem;
    font-weight: 400;
    text-transform: none;
    position: relative;
}

.sev-results-actions .sev-btn-secondary::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 2rem;
    height: 2rem;
    transform: translateY(-50%);
    border: 1px solid rgba(0, 40, 74, .25);
    border-radius: .25rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.1 5.6C4 3.9 5.8 2.75 7.9 2.75C10.9 2.75 13.25 5.1 13.25 8.1C13.25 11.1 10.9 13.45 7.9 13.45C5.95 13.45 4.25 12.45 3.3 10.95' stroke='%2300284A' stroke-width='1.4' stroke-linecap='round'/%3E%3Cpath d='M2.75 2.75V5.95H5.95' stroke='%2300284A' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 1rem;
}

.sev-results-actions .sev-btn-secondary:hover {
    background: transparent;
    color: var(--color-primary, #00284A);
}

/* Responsive */
@media (max-width: 767px) {
    .eligibility-test-page__calculator {
        padding: 50px 0px;
        background-position: center top;
        background-size: cover;
    }

    .sev-calc {
        width: 100%;
        max-width: none;
        padding: 0;
    }

    .sev-calculator-intro {
        max-width: none;
        width: 100%;
        margin: 0 auto 20px;
        text-align: center;
    }

    .sev-eyebrow {
        margin: 0 0 10px;
        font-size: 14px;
        line-height: 1.2;
        letter-spacing: 1.4px;
    }

    .sev-page-title {
        margin: 0 0 20px;
        font-size: 28px;
        line-height: 1.08;
    }

    .sev-page-description {
        margin: 0 auto;
        font-size: 16px;
        line-height: 1.42;
    }

    .sev-step-form {
        border: 5px solid #1B3B66;
        border-radius: 2px;
        padding: 15px;
        background: #FFFFFF;
    }

    .sev-form-block__header {
        margin-bottom: 12px;
    }

    .sev-form-grid--two-columns,
    .sev-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .sev-form-column {
        display: block;
    }

    .sev-form-column .sev-form-block {
        width: 100%;
        height: auto;
    }

    .sev-step .sev-form-block__header h2,
    .sev-step h2 {
        margin: 0 0 8px;
        font-size: 24px;
        line-height: 1.05;
    }

    .sev-instruction {
        max-width: none;
        font-size: 16px;
        line-height: 1.25;
    }

    .sev-field label {
        margin: 0 0 10px;
        font-size: 16px;
        line-height: 1.2;
        letter-spacing: 0.7px;
    }

    .sev-field input[type="number"],
    .sev-field select {
        height: 50px;
        padding: 8px 14px;
        border-radius: 1px;
        font-size: 14px;
        line-height: 1.2;
        letter-spacing: 0.6px;
    }

    .sev-field select {
        background-position: right 14px center;
        background-size: 10px auto;
        padding-right: 38px;
    }

    .sev-field select option {
        font-size: 16px;
        line-height: 1.4;
    }

    .sev-input-prefix {
        height: 50px;
        border-radius: 1px;
    }

    .sev-input-prefix span {
        left: 17px;
        width: 17px;
        height: 17px;
        font-size: 12px;
    }

    .sev-input-prefix input {
        padding-left: 44px !important;
    }

    .sev-hint {
        margin: 8px 0 0;
        font-size: 14px;
        line-height: 1.25;
    }

    .sev-error {
        min-height: 16px;
        margin-top: 6px;
        font-size: 12px;
        line-height: 1.25;
    }

    .sev-nav {
        display: block;
        margin-top: 0;
    }

    .sev-btn-primary,
    .sev-btn-secondary {
        min-width: 250px;
        height: 50px;
        padding: 0 16px;
        border-radius: 2px;
        font-size: 16px;

    }

        .sev-results-layout {
        width: 100%;
        max-width: none;
        padding: 0 15px;
    }

    .sev-results-header {
        margin-bottom: 18px;
    }

    .sev-results-title {
        font-size: 30px;
        line-height: 1.1;
        text-align: left;
    }

    .sev-results-card {
        margin-bottom: 20px;
        border-radius: 2px;
        box-shadow: 0 10px 28px rgba(0, 0, 0, .08);
    }

    .sev-results-card__top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sev-result-card {
        min-height: 80px;
        padding: 16px 14px;
        align-items: flex-start;
        justify-content: center;
        text-align: left;
    }

    .sev-result-card--months {
        border-right: 1px solid rgba(255, 255, 255, .18);
        border-bottom: 0;
    }

    .sev-result-label {
        margin: 0 0 8px;
        font-size: 10px;
        line-height: 1.2;
        letter-spacing: 1px;
    }

    .sev-result-value {
        font-size: 20px;
        line-height: 1.1;
        letter-spacing: 0.6px;
    }

    .sev-results-summary {
        padding: 0 15px;
    }

    .sev-summary-list div {
        grid-template-columns: 145px minmax(0, 1fr);
        gap: 12px;
        align-items: start;
        padding: 12px 0;
    }

    .sev-summary-list dt {
        font-size: 12px;
        line-height: 1.25;
        letter-spacing: 0.7px;
    }

    .sev-summary-list dd {
        text-align: right;
        font-size: 14px;
        line-height: 1.25;
        letter-spacing: 0.8px;
    }

    .sev-results-disclaimer {
        margin: 0 0 18px;
        font-size: 14px;
        line-height: 1.32;
        font-weight: 500;
    }

    .sev-results-disclaimer__title {
        margin: 0 0 8px !important;
        font-size: 16px;
        line-height: 1.2;
        letter-spacing: 1px;
    }

    .sev-results-actions {
        display: flex;
        align-items: center;
        gap: 18px;
    }

    .sev-results-actions .sev-btn-primary {
        width: auto;
        min-width: 230px;
        height: 48px;
        padding: 0 18px;
        font-size: 14px;
        letter-spacing: 0.5px;
        white-space: nowrap;
    }

    .sev-results-actions .sev-btn-secondary {
        width: auto;
        min-width: 0;
        height: 48px;
        justify-self: auto;
        padding: 0 0 0 50px;
        font-size: 15px;
        white-space: nowrap;
    }

    .sev-results-actions .sev-btn-secondary::before {
        width: 36px;
        height: 36px;
        border-radius: 2px;
        background-size: 16px;
    }
}
