﻿/* HLATouch Design System â€” Combined CSS
   Colors, Typography and Components for USM Student Enrolment Module */

@import url('/fonts/fira-sans/fira-sans.css');

/* ===================================================
   CSS VARIABLES
   =================================================== */
:root {
    --hla-navy: #13285B;
    --hla-navy-deep: #0B1C42;
    --hla-navy-ink: #0A1733;
    --hla-red: #E4002B;
    --hla-red-deep: #B8001F;
    --hla-red-soft: #FFECEF;
    --hla-blue: #1877D3;
    --hla-blue-600: #1464B5;
    --hla-blue-50: #E8F2FC;
    --neutral-0: #FFFFFF;
    --neutral-50: #F7F8FA;
    --neutral-100: #EEF0F4;
    --neutral-200: #DDE2EA;
    --neutral-300: #C4CBD6;
    --neutral-400: #98A1B0;
    --neutral-500: #6B7380;
    --neutral-600: #4A515C;
    --neutral-700: #2F343D;
    --neutral-800: #1C2028;
    --neutral-900: #0D1017;
    --fg-1: #0A1733;
    --fg-2: #4A515C;
    --fg-3: #6B7380;
    --fg-disabled: #98A1B0;
    --fg-on-primary: #FFFFFF;
    --fg-link: #1877D3;
    --fg-required: #E4002B;
    --bg-page: #FFFFFF;
    --bg-muted: #F7F8FA;
    --border-subtle: #DDE2EA;
    --border-default: #C4CBD6;
    --border-strong: #98A1B0;
    --border-focus: #1877D3;
    --border-error: #E4002B;
    --success: #1E9E5B;
    --success-bg: #E6F6EE;
    --warning: #E08A00;
    --danger: #E4002B;
    --danger-bg: #FFECEF;
    --font-sans: 'Fira Sans', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --radius-xs: 2px;
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 10px;
    --shadow-sm: 0 1px 2px rgba(10,23,51,.06);
    --shadow-md: 0 2px 8px rgba(10,23,51,.08), 0 1px 2px rgba(10,23,51,.04);
    --shadow-focus: 0 0 0 3px rgba(24,119,211,.25);
    --shadow-focus-red: 0 0 0 3px rgba(228,0,43,.22);
}

.br-hlaBlue {
    border-color: var(--hla-blue)
}

/* ===================================================
   BASE
   =================================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    font-family: var(--font-sans);
    color: var(--fg-1);
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
}

.section-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--hla-navy-ink);
}

.subsection-title {
    font-size: 12px;
    font-weight: 500;
    color: var(--fg-3);
}

.small {
    color: var(--fg-2);
}

.xs {
    font-size: 11px;
    color: var(--fg-3);
}

.cn {
    color: var(--fg-3);
    font-weight: 400;
}

.required::after {
    content: ' *';
    color: var(--fg-required);
    font-weight: 700;
}

.text-danger {
    color: var(--hla-red);
}

/* ===================================================
   LAYOUT
   =================================================== */
.hla-page {
    min-height: 100vh;
    background: var(--bg-page);
    display: flex;
    flex-direction: column;
}

.hla-main-content {
    flex: 1;
}

.hla-container {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    padding: 24px 32px 64px;
}

@media (max-width: 640px) {
    .hla-container {
        padding: 16px 16px 48px;
    }
}

/* ===================================================
   HEADER
   =================================================== */
.hla-header {
    display: grid;
    grid-template-columns: 200px 1fr;
    align-items: stretch;
    border-bottom: 1px solid var(--border-subtle);
    background: var(--neutral-0);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    grid-auto-flow: column;
}

.hla-header__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-right: 1px solid var(--border-subtle);
}

    .hla-header__logo img {
        height: 32px;
        width: auto;
    }

.hla-header__title {
    display: flex;
    align-items: center;
    padding: 0 24px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 24px;
    color: var(--hla-navy-ink);
}

@media (max-width: 640px) {
    .hla-header {
        grid-template-columns: 120px 1fr;
    }

    .hla-header__logo img {
        height: 22px;
    }

    .hla-header__title {
        font-size: 12px;
        padding: 0 12px;
    }
}

/* ===================================================
   FOOTER
   =================================================== */
.hla-footer {
    background: var(--hla-navy);
    color: rgba(255,255,255,0.85);
    padding: 32px 0 0;
    margin-top: auto;
}

.hla-footer__inner {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 32px;
}

.hla-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

@media (max-width: 768px) {
    .hla-footer__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hla-footer__inner {
        padding: 0 16px;
    }
}

.hla-footer__logo {
    display: inline-block;
    margin-bottom: 12px;
}

    .hla-footer__logo img {
        display: block;
        height: 40px;
        width: auto;
        background: #fff;
        padding: 6px 10px;
        border-radius: 4px;
    }

.hla-footer__desc {
    font-size: 11px;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
}

.hla-footer__heading {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 12px;
}

.hla-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .hla-footer__links li {
        margin-bottom: 6px;
    }

    .hla-footer__links a {
        color: rgba(255,255,255,0.75);
        text-decoration: none;
        font-size: 11px;
    }

        .hla-footer__links a:hover {
            color: #fff;
        }

.hla-footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 11px;
    color: rgba(255,255,255,0.75);
    margin-bottom: 8px;
}

    .hla-footer__contact-item svg {
        flex-shrink: 0;
        margin-top: 1px;
    }

    .hla-footer__contact-item a {
        color: rgba(255,255,255,0.75);
        text-decoration: none;
    }

        .hla-footer__contact-item a:hover {
            color: #fff;
            text-decoration: underline;
        }

.hla-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 0;
    font-size: 11px;
    color: rgba(255,255,255,0.45);
}

.hla-footer__pidm-logo {
    height: 30px;
    width: auto;
    flex-shrink: 0;
}

/* ===================================================
   STEPPER
   =================================================== */
.hla-stepper {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    align-items: start;
    max-width: 640px;
    margin: 0 auto;
    padding: 20px 0 32px;
}

.hla-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

    .hla-step + .hla-step::before {
        content: "";
        position: absolute;
        top: 18px;
        right: 50%;
        left: -50%;
        height: 2px;
        background: var(--neutral-200);
        z-index: 0;
        transform: translateY(-1px);
    }

.hla-step--done + .hla-step::before,
.hla-step--current + .hla-step::before {
    background: var(--success);
}

.hla-step--current + .hla-step:not(.hla-step--current):not(.hla-step--done)::before {
    background: linear-gradient(to right, var(--success) 0%, var(--success) 50%, var(--neutral-200) 50%);
}

.hla-step__dot {
    position: relative;
    z-index: 1;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: #fff;
    border: 2px solid var(--neutral-200);
    display: grid;
    place-items: center;
    font-weight: 600;
    font-size: 13px;
    color: var(--neutral-400);
    transition: all 200ms ease;
}

.hla-step--done .hla-step__dot {
    background: var(--success);
    border-color: var(--success);
    color: #fff;
}

.hla-step--current .hla-step__dot {
    background: #E0F2FE;
    border-color: transparent;
    color: #0369A1;
    box-shadow: 0 0 0 4px rgba(14,165,233,0.15);
}

.hla-step__label {
    text-align: center;
    font-size: 11px;
    font-weight: 500;
    color: var(--fg-3);
    line-height: 1.2;
}

.hla-step--done .hla-step__label {
    color: var(--fg-1);
}

.hla-step--current .hla-step__label {
    color: #0369A1;
    font-weight: 600;
}

/* ===================================================
   BUTTONS
   =================================================== */
.hla-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    padding: 0 20px;
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 160ms ease, box-shadow 160ms ease, transform 80ms ease;
    text-decoration: none;
    white-space: nowrap;
}

    .hla-btn:focus-visible {
        outline: none;
        box-shadow: var(--shadow-focus);
    }

    .hla-btn:active {
        transform: translateY(1px);
    }

.hla-btn--primary {
    background: var(--hla-red);
    color: #fff;
}

    .hla-btn--primary:hover {
        background: var(--hla-red-deep);
        color: #fff;
        text-decoration: none;
    }

.hla-btn--navy {
    background: var(--hla-navy);
    color: #fff;
}

    .hla-btn--navy:hover {
        background: var(--hla-navy-deep);
        color: #fff;
        text-decoration: none;
    }

.hla-btn--secondary {
    background: var(--neutral-100);
    color: var(--hla-navy-ink);
    border-color: var(--border-default);
}

    .hla-btn--secondary:hover {
        background: var(--neutral-200);
        text-decoration: none;
    }

.hla-btn--lg {
    height: 48px;
    padding: 0 28px;
    font-size: 14px;
}

/* ===================================================
   FORMS
   =================================================== */
.hla-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hla-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--hla-navy-ink);
    line-height: 1.3;
}

.hla-label__cn {
    font-weight: 400;
    color: var(--fg-3);
}

.hla-label .req {
    color: var(--hla-red);
    margin-left: 3px;
}

.hla-input, .hla-select, .hla-textarea {
    height: 38px;
    padding: 0 11px;
    font-family: var(--font-sans);
    font-size: 12px;
    color: var(--fg-1);
    background: #fff;
    border: 1px solid var(--border-default);
    border-radius: var(--radius-sm);
    transition: border-color 120ms ease, box-shadow 120ms ease;
    width: 100%;
}

.hla-textarea {
    height: auto;
    min-height: 76px;
    padding: 9px 11px;
    line-height: 1.5;
    resize: vertical;
}

.hla-select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236B7380' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 34px;
}

    .hla-input:hover, .hla-select:hover, .hla-textarea:hover {
        border-color: var(--border-strong);
    }

    .hla-input:focus, .hla-select:focus, .hla-textarea:focus {
        outline: none;
        border-color: var(--border-focus);
        box-shadow: var(--shadow-focus);
    }

.hla-input::placeholder, .hla-textarea::placeholder {
    color: var(--neutral-400);
    font-size: 11px;
}

.hla-input.is-invalid, .hla-select.is-invalid, .hla-textarea.is-invalid {
    border-color: var(--border-error);
    background: var(--hla-red-soft);
}

    .hla-input.is-invalid:focus {
        box-shadow: var(--shadow-focus-red);
    }

.hla-input[readonly] {
    background: var(--neutral-50);
    color: var(--fg-2);
    cursor: default;
    border-color: var(--border-subtle);
}

    .hla-input[readonly]:hover {
        border-color: var(--border-subtle);
    }

    .hla-input[readonly]:focus {
        border-color: var(--border-subtle);
        box-shadow: none;
    }

.hla-input-prefix {
    display: flex;
    align-items: center;
    height: 38px;
    border: 1px solid var(--border-default);
    border-radius: var(--radius-sm);
    background: #fff;
    overflow: hidden;
}

    .hla-input-prefix:focus-within {
        border-color: var(--border-focus);
        box-shadow: var(--shadow-focus);
    }

.hla-input-prefix__flag {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 9px;
    border-right: 1px solid var(--border-subtle);
    height: 100%;
    font-size: 11px;
    color: var(--fg-2);
    white-space: nowrap;
    flex-shrink: 0;
}

.hla-input-prefix input {
    border: none;
    outline: none;
    flex: 1;
    padding: 0 11px;
    font: inherit;
    font-size: 12px;
    background: transparent;
    height: 100%;
    min-width: 0;
}

.hla-input-suffix {
    position: relative;
}

.hla-input-suffix__tag {
    position: absolute;
    right: 1px;
    top: 1px;
    bottom: 1px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    color: var(--fg-3);
    background: var(--neutral-50);
    border-left: 1px solid var(--border-subtle);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 11px;
    pointer-events: none;
}

.hla-helper {
    font-size: 11px;
    color: var(--fg-3);
}

.hla-helper--error {
    color: var(--hla-red);
}

.hla-radio-group {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.hla-radio {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    color: var(--fg-1);
    cursor: pointer;
    user-select: none;
}

    .hla-radio input[type="radio"] {
        appearance: none;
        width: 16px;
        height: 16px;
        border: 1.5px solid var(--border-strong);
        border-radius: 999px;
        display: inline-block;
        position: relative;
        cursor: pointer;
        margin: 0;
        transition: border-color 120ms ease;
        flex-shrink: 0;
    }

        .hla-radio input[type="radio"]:checked {
            border-color: var(--hla-navy-ink);
        }

            .hla-radio input[type="radio"]:checked::after {
                content: '';
                position: absolute;
                inset: 3px;
                border-radius: 999px;
                background: var(--hla-navy-ink);
            }

.hla-checkbox {
    display: inline-flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 12px;
    color: var(--fg-1);
    cursor: pointer;
    user-select: none;
    line-height: 1.5;
}

    .hla-checkbox input[type="checkbox"] {
        appearance: none;
        width: 16px;
        height: 16px;
        border: 1.5px solid var(--border-strong);
        border-radius: 3px;
        margin: 2px 0 0;
        position: relative;
        cursor: pointer;
        flex-shrink: 0;
    }

        .hla-checkbox input[type="checkbox"]:checked {
            background: var(--hla-navy-ink);
            border-color: var(--hla-navy-ink);
        }

            .hla-checkbox input[type="checkbox"]:checked::after {
                content: '';
                position: absolute;
                left: 4px;
                top: 1px;
                width: 5px;
                height: 9px;
                border: solid #fff;
                border-width: 0 2px 2px 0;
                transform: rotate(45deg);
            }

/* ===================================================
   CARD & SECTIONS
   =================================================== */
.hla-card {
    background: #fff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.hla-section {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px 0;
    border-top: 1px solid var(--border-subtle);
}

    .hla-section:first-of-type {
        border-top: none;
        padding-top: 0;
    }

/* ===================================================
   FORM GRID
   =================================================== */
.hla-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 28px;
}

.hla-form-grid--full {
    grid-column: 1 / -1;
}

@media (max-width: 720px) {
    .hla-form-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

.hla-form-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: flex-start;
    gap: 14px;
    padding: 10px 0;
    border-top: 1px solid var(--border-subtle);
}

    .hla-form-row:first-child {
        border-top: none;
    }

.hla-form-row__question {
    font-size: 12px;
    color: var(--fg-1);
    line-height: 1.5;
}

    .hla-form-row__question .cn {
        color: var(--fg-3);
        font-weight: 400;
        display: block;
        margin-top: 2px;
        font-size: 11px;
    }

@media (max-width: 640px) {
    .hla-form-row {
        grid-template-columns: 1fr;
    }
}

/* ===================================================
   SUBSECTION HEADER
   =================================================== */
.hla-subsection-head {
    font-size: 12px;
    font-weight: 500;
    color: var(--fg-3);
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 7px;
    margin-bottom: 2px;
}

/* ===================================================
   BANNER (CAROUSEL)
   =================================================== */
.hla-banner-carousel {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, var(--hla-navy) 0%, var(--hla-navy-deep) 60%);
    min-height: 220px;
}

.carousel-item-overlay {
    display: none;
}

.carousel-caption-custom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 28px 32px;
}

    .carousel-caption-custom h2 {
        color: #fff;
        font-size: clamp(18px, 3vw, 30px);
        font-weight: 700;
        margin-bottom: 6px;
        line-height: 1.2;
    }

    .carousel-caption-custom p {
        color: rgba(255,255,255,.85);
        font-size: 13px;
        margin: 0;
    }

.carousel-img-bg {
    width: 100%;
    height: 210px;
    object-fit: cover;
    opacity: 1;
    display: block;
}

@media (max-width: 1199px) {
    .carousel-img-bg {
        height: 160px;
    }
}

@media (max-width: 767px) {
    .carousel-img-bg {
        height: 240px;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 44px;
    background: transparent;
    border-radius: 4px;
    opacity: 1;
    z-index: 10;
}

    .carousel-control-prev:hover,
    .carousel-control-next:hover {
        background: transparent;
    }

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-image: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

    .carousel-control-prev-icon::before {
        content: 'â®';
        color: #fff;
        font-size: 20px;
        font-weight: 700;
        line-height: 1;
    }

    .carousel-control-next-icon::before {
        content: 'â¯';
        color: #fff;
        font-size: 20px;
        font-weight: 700;
        line-height: 1;
    }

/* ===================================================
   TABLE (PACKAGE DETAILS)
   =================================================== */
.hla-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    font-size: 12px;
}

    .hla-table th, .hla-table td {
        text-align: left;
        padding: 10px 14px;
        border-top: 1px solid var(--border-subtle);
    }

    .hla-table thead th {
        background: var(--hla-navy);
        color: #fff;
        font-weight: 600;
        border-top: none;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

    .hla-table tbody tr:nth-child(even) td {
        background: var(--neutral-50);
    }

@media (max-width: 640px) {
    .hla-table th, .hla-table td {
        padding: 8px 10px;
        font-size: 11px;
    }
}

/* ===================================================
   DOWNLOADS
   =================================================== */
.hla-downloads {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 10px;
}

.hla-download {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    background: #fff;
    color: var(--hla-navy-ink);
    text-decoration: none;
    transition: border-color 120ms ease, box-shadow 120ms ease;
    font-size: 16px;
    font-weight: 500;
}

    .hla-download:hover {
        border-color: var(--hla-navy);
        background: var(--neutral-50);
        text-decoration: none;
    }

.hla-download__icon {
    width: 55px;
    height: 55px;
    border-radius: 7px;
    background: var(--hla-blue-50);
    color: var(--hla-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hla-download__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

    .hla-download__text span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

.hla-download__cta {
    font-size: 12px;
    color: var(--fg-3);
    font-weight: 400;
    display: block;
}

/* ===================================================
   PAYMENT OPTIONS
   =================================================== */
.hla-pay-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

@media (max-width: 640px) {
    .hla-pay-options {
        grid-template-columns: 1fr;
    }
}

.hla-pay-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: border-color 120ms ease, background 120ms ease;
    background: #fff;
    font-family: var(--font-sans);
}

    .hla-pay-option:hover {
        border-color: var(--border-strong);
    }

    .hla-pay-option.active {
        border-color: var(--hla-navy);
        background: #F6F8FD;
    }

.hla-pay-option__icon {
    width: 38px;
    height: 38px;
    border-radius: 7px;
    background: var(--neutral-100);
    color: var(--hla-navy);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hla-pay-option.active .hla-pay-option__icon {
    background: var(--hla-navy);
    color: #fff;
}

.hla-pay-option__label {
    font-weight: 600;
    color: var(--hla-navy-ink);
    font-size: 12px;
}

/* ===================================================
   ACTIONS BAR
   =================================================== */
.hla-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    padding: 28px 0 6px;
    border-top: 1px solid var(--border-subtle);
    margin-top: 28px;
}

.hla-actions--split {
    justify-content: space-between;
}

.hla-actions__right {
    display: flex;
    gap: 10px;
    align-items: center;
}

@media (max-width: 480px) {
    .hla-actions--split {
        flex-wrap: wrap;
        gap: 10px;
    }

        .hla-actions--split > .hla-btn,
        .hla-actions__right {
            flex: 1;
            min-width: 0;
        }

    .hla-actions__right {
        justify-content: flex-end;
    }
}

/* ===================================================
   REVIEW PAGE COMPONENTS
   =================================================== */
.rv-banner {
    background: linear-gradient(135deg, #F2F6FB 0%, #EAF1F9 100%);
    border: 1px solid #D9E4F0;
    border-radius: 12px;
    padding: 13px 16px;
    margin-bottom: 14px;
}

@media (max-width: 640px) {
    .rv-banner__pill {
        display: none;
    }
}

.rv-banner__icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: var(--hla-blue);
    color: #fff;
    flex-shrink: 0;
}

.rv-banner__kicker {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--hla-blue);
    margin-bottom: 2px;
}

.rv-banner__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--fg-1);
    line-height: 1.3;
}

.rv-banner__sub {
    font-size: 11px;
    color: var(--fg-2);
    margin-top: 2px;
}

    .rv-banner__sub b {
        color: var(--fg-1);
        font-weight: 600;
    }

.rv-banner__pill {
    font-size: 10px;
    font-weight: 600;
    color: var(--fg-2);
    background: #fff;
    border: 1px solid #D9E4F0;
    padding: 3px 9px;
    border-radius: 999px;
    white-space: nowrap;
    align-self: start;
}

.rv-hero {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    margin-bottom: 14px;
}

@media (max-width: 640px) {
    .rv-hero {
        grid-template-columns: auto 1fr;
    }

    .rv-hero__side {
        grid-column: 1 / -1;
    }
}

.rv-hero__avatar {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: var(--hla-navy);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 17px;
    flex-shrink: 0;
}

.rv-hero__name {
    font-size: 14px;
    font-weight: 700;
    color: var(--fg-1);
    line-height: 1.2;
}

.rv-hero__meta {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    color: var(--fg-2);
    margin-top: 3px;
    flex-wrap: wrap;
}

.rv-dot {
    width: 3px;
    height: 3px;
    border-radius: 999px;
    background: var(--fg-3);
    display: inline-block;
}

.rv-hero__sideLbl {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--fg-3);
}

.rv-hero__sideVal {
    font-size: 12px;
    font-weight: 600;
    color: var(--hla-navy);
    margin-top: 1px;
}

.rv-group {
    background: #fff;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 12px 18px 14px;
    margin-bottom: 12px;
}

.rv-group__head {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 10px;
}

.rv-group__icon {
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border-radius: 5px;
    background: rgba(10,59,140,.08);
    color: var(--hla-blue);
    flex-shrink: 0;
}

.rv-group__title {
    font-size: 11px;
    font-weight: 700;
    color: var(--fg-1);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin: 0;
}

.rv-group__cn {
    font-size: 11px;
    color: var(--fg-3);
    font-weight: 500;
}

.rv-group__rule {
    flex: 1;
    height: 1px;
    background: var(--border-subtle);
    margin-left: 3px;
}

.rv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (max-width: 640px) {
    .rv-grid {
        grid-template-columns: 1fr;
    }
}

.rv-grid__item {
    display: grid;
    grid-template-columns: minmax(140px, 44%) 1fr;
    gap: 10px;
    align-items: baseline;
    padding: 6px 0;
    border-bottom: 1px dashed #EEF1F6;
}

.rv-grid__lbl {
    font-size: 11px;
    color: var(--fg-2);
    font-weight: 500;
    line-height: 1.3;
}

    .rv-grid__lbl .cn {
        display: block;
        font-size: 10px;
        color: var(--fg-3);
        font-weight: 400;
        margin-top: 1px;
    }

.rv-grid__val {
    font-size: 12px;
    font-weight: 600;
    color: var(--fg-1);
    word-break: break-word;
}

.rv-grid__empty {
    color: var(--fg-3);
    font-weight: 400;
}

.rv-decl {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.rv-decl__row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px dashed #EEF1F6;
}

    .rv-decl__row:last-child {
        border-bottom: none;
    }

.rv-decl__lbl {
    font-size: 12px;
    color: var(--fg-1);
    font-weight: 500;
    line-height: 1.3;
}

    .rv-decl__lbl .cn {
        font-size: 10px;
        color: var(--fg-3);
        margin-top: 2px;
        display: block;
    }

.rv-decl__badge {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 999px;
    white-space: nowrap;
    min-width: 40px;
    text-align: center;
}

    .rv-decl__badge.is-yes {
        background: #FEF2F2;
        color: #C62828;
        border: 1px solid #FEE2E2;
    }

    .rv-decl__badge.is-no {
        background: #F0FDF4;
        color: #15803D;
        border: 1px solid #DCFCE7;
    }

    .rv-decl__badge.is-empty {
        background: #F5F7FA;
        color: var(--fg-3);
        border: 1px solid #E5E9F0;
    }

.rv-decl__extra {
    grid-column: 1 / -1;
    margin-top: 3px;
    font-size: 11px;
    color: var(--fg-2);
    font-style: italic;
    padding: 7px 10px;
    background: #F8F9FB;
    border-left: 2px solid var(--hla-blue);
    border-radius: 0 5px 5px 0;
}

/* ===================================================
   RESULT PAGE (RECEIPT)
   =================================================== */
.hla-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
}

.hla-result__icon {
    width: 68px;
    height: 68px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.hla-result__icon--success {
    background: var(--success-bg);
    color: var(--success);
}

.hla-result__icon--fail {
    background: var(--danger-bg);
    color: var(--danger);
}

.hla-result__title {
    font-size: 26px;
    font-weight: 700;
    color: var(--hla-navy-ink);
    margin: 0 0 6px;
}

.hla-result__subtitle {
    color: var(--fg-2);
    margin: 0 0 28px;
    font-size: 13px;
}

.hla-result__details {
    width: 100%;
    max-width: 500px;
    text-align: left;
    border-top: 1px solid var(--border-subtle);
    padding-top: 20px;
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 9px 18px;
}

    .hla-result__details dt {
        font-weight: 600;
        color: var(--hla-navy-ink);
        font-size: 12px;
    }

    .hla-result__details dd {
        margin: 0;
        color: var(--fg-1);
        font-size: 12px;
        word-break: break-all;
    }

/* ===================================================
   ALERTS
   =================================================== */
.hla-alert {
    border-radius: var(--radius-md);
    padding: 10px 14px;
    font-size: 11px;
    line-height: 1.5;
    display: flex;
    gap: 9px;
}

.hla-alert--info {
    background: var(--hla-blue-50);
    color: #0D4F8F;
}

.hla-alert--note {
    background: var(--neutral-50);
    color: var(--fg-2);
    border: 1px solid var(--border-subtle);
}

/* ===================================================
   UTILITIES
   =================================================== */
.hla-hr {
    border: none;
    border-top: 1px solid var(--border-subtle);
    margin: 18px 0;
}

.hla-spacer-sm {
    height: 10px;
}

.hla-spacer {
    height: 20px;
}

.hla-spacer-lg {
    height: 40px;
}

.hla-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hla-row {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

/* ===================================================
   BOOTSTRAP OVERRIDE â€” match HLA style
   =================================================== */
.carousel-indicators {
    z-index: 10;
    cursor: pointer;
}

    .carousel-indicators [data-bs-target] {
        background-color: rgba(255,255,255,0.6);
        cursor: pointer;
    }

    .carousel-indicators .active {
        background-color: #fff;
    }

.form-control, .form-select {
    font-family: var(--font-sans);
}

/* ===================================================
   MOBILE â€” iPhone Pro Max and similar (â‰¤480px)
   =================================================== */
@media (max-width: 480px) {
    .hla-input, .hla-select {
        height: 44px;
        font-size: 13px;
    }

    .hla-input-prefix {
        height: 44px;
    }

        .hla-input-prefix input {
            font-size: 13px;
        }

    .hla-btn {
        height: 44px;
        font-size: 13px;
    }

    .hla-btn--lg {
        height: 52px;
    }

    .hla-card {
        padding: 16px;
    }

    .hla-stepper {
        padding: 14px 0 22px;
    }

    .hla-step__dot {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .hla-step + .hla-step::before {
        top: 16px;
    }

    .hla-label {
        font-size: 13px;
    }

    .hla-form-row__question {
        font-size: 13px;
    }

    .rv-grid {
        grid-template-columns: 1fr;
    }

    .hla-result__details {
        grid-template-columns: 1fr;
    }

    .hla-pay-options {
        grid-template-columns: 1fr;
    }
}

.protection-services .services-box {
    max-width: 39rem;
    background-color: #fff;
    box-shadow: 0 0 0 rgba(0, 0, 0, .5);
    border-radius: 1.3rem;
    border: 1px solid #d1d1d1;
    padding: 3rem 3rem 3rem 4rem;
    margin: -10rem 1.5rem 0;
}

    .protection-services .services-box.active {
        border-color: #0069fe;
        box-shadow: 0 3px 31px rgba(0, 0, 0, .1);
    }

.notCovered-list {
    list-style: none;
    padding-left: 0;
}

    .notCovered-list li {
        position: relative;
        padding-left: 2rem;
        margin-top: 1rem;
    }

        .notCovered-list li::before {
            content: "\F623";
            font-family: "bootstrap-icons";
            color: red;
            position: absolute;
            left: 0;
            font-weight: bolder;
            font-size: larger;
            margin-top: -3px
        }

.covered-list {
    list-style: none;
    padding-left: 0;
}

    .covered-list li {
        position: relative;
        padding-left: 2rem;
        margin-top: 1rem;
    }

        .covered-list li::before {
            content: "\F270";
            font-family: "bootstrap-icons";
            color: var(--hla-blue);
            position: absolute;
            left: 0;
            font-weight: bolder;
            font-size: x-large;
            margin-top: -8px
        }

.lang-toggle {
    display: inline-flex;
    background: #e5e5e5;
    border-radius: 999px;
    padding: 4px;
    gap: 2px;
}

    .lang-toggle button {
        border: none;
        background: transparent;
        color: #666;
        padding: 8px 18px;
        border-radius: 999px;
        font-weight: 600;
        cursor: pointer;
        transition: .2s;
    }

        .lang-toggle button.active {
            background: #20b2aa;
            color: white;
            box-shadow: 0 2px 8px rgba(0,0,0,.15);
        }

.core-menu > li.lang-item, .core-menu > li.lang-item .lang-box, #langBtn, #langList {
    position: relative;
    z-index: 2000;
}

.core-menu > li.lang-item {
    position: relative;
}

.core-menu li {
    list-style: none;
    display: inline-block;
    cursor: pointer;
    margin: 0 47px 0 0;
    padding-bottom: 10px !important;
}

.core-menu li {
    list-style: none;
    display: inline-block;
    cursor: pointer;
    margin: 0 47px 0 0;
    padding-bottom: 10px !important;
}

.lang-item {
    position: relative;
}

.lang-box {
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

.lang-current img, .lang-current span {
    pointer-events: none;
}

.lang-current img {
    width: 35px;
    height: 36px;
    object-fit: cover;
}

.lang-current {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 20px;
    min-width: 100px;
    padding: 0 14px;
    cursor: pointer;
    height: 36px;
    line-height: 1;
    margin-top: 10px;
    margin-right: 30px;
}

.text-justify {
    text-align: justify;
}

.pdf-container {
    overflow-y: auto;
    overflow-x: hidden;
}

.pdf-page-wrapper canvas {
    max-width: 100%;
    height: auto;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,.15);
}

html,
body {
    min-height: 100dvh;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
}

.page {
    flex: 1;
}

.hla-footer {
    margin-top: auto;
}

.submit-loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(2px);
}

.submit-loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 260px;
    padding: 2rem;
    text-align: center;
}

    .submit-loading-content .spinner-border {
        width: 3rem;
        height: 3rem;
        border-width: 0.3rem;
    }