/* ═══════════════════════════════════════════════════════════════════════════════
   forms.css — Professional light-theme override for all site forms
   Apply class="form-modern" to any <form> to activate these styles.
   Overrides the site-wide dark-green .checkout__form / .contact__form styles.
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ── CSS Custom Properties ───────────────────────────────────────────────────── */
.form-modern {
    --fm-green: #2563eb;
    --fm-green-light: #eff6ff;
    --fm-border: #d1ddf5;
    --fm-bg: #ffffff;
    --fm-text: #0f172a;
    --fm-muted: #374151; /* ↑ was #64748b — now dark charcoal, clearly readable */
    --fm-red: #dc2626;
    --fm-radius: 10px;
    --fm-shadow-focus: 0 0 0 3px rgba(37, 99, 235, .22);
    --fm-transition: .2s ease;
}

/* ── Input wrapper — override dark-green background ──────────────────────────── */
.form-modern .input-single {
    background: var(--fm-bg) !important;
    border: 1.5px solid var(--fm-border) !important;
    border-radius: var(--fm-radius) !important;
    padding: 0 16px !important;
    gap: 12px !important;
    margin-bottom: 20px !important;
    transition: border-color var(--fm-transition),
    box-shadow var(--fm-transition) !important;
    box-shadow: none !important;
}

.form-modern .input-single:focus-within {
    border-color: var(--fm-green) !important;
    box-shadow: var(--fm-shadow-focus) !important;
}

/* ── Text inside inputs ──────────────────────────────────────────────────────── */
.form-modern .input-single input,
.form-modern .input-single textarea,
.form-modern .input-single select {
    color: var(--fm-text) !important;
    background: transparent !important;
    border: 0 !important;
    padding: 16px 0 !important;
    font-size: .95rem !important;
    line-height: 1.5 !important;
    outline: none !important;
    box-shadow: none !important;
}

/* ── Placeholders ────────────────────────────────────────────────────────────── */
.form-modern .input-single input::-webkit-input-placeholder,
.form-modern .input-single textarea::-webkit-input-placeholder {
    color: var(--fm-muted) !important;
}

.form-modern .input-single input::-moz-placeholder,
.form-modern .input-single textarea::-moz-placeholder {
    color: var(--fm-muted) !important;
    opacity: 1 !important;
}

.form-modern .input-single input:-ms-input-placeholder,
.form-modern .input-single textarea:-ms-input-placeholder {
    color: var(--fm-muted) !important;
}

.form-modern .input-single input::placeholder,
.form-modern .input-single textarea::placeholder {
    color: var(--fm-muted) !important;
    opacity: 1 !important;
}

/* ── Date input text colour ──────────────────────────────────────────────────── */
.form-modern .input-single input[type="date"] {
    color: var(--fm-text) !important;
}

/* ── Icons ───────────────────────────────────────────────────────────────────── */
.form-modern .input-single > i {
    color: var(--fm-green) !important;
    font-size: 16px !important;
    flex-shrink: 0;
}

/* ── Textarea wrapper ────────────────────────────────────────────────────────── */
.form-modern .input-single.alter-input {
    align-items: flex-start !important;
}

.form-modern .input-single.alter-input > i {
    margin-top: 18px !important;
}

.form-modern .input-single textarea {
    min-height: 110px !important;
    resize: vertical !important;
}

/* ── Input group spacing ─────────────────────────────────────────────────────── */
.form-modern .input-group {
    gap: 16px !important;
    margin-bottom: 0 !important;
    flex-wrap: wrap !important;
}

.form-modern .input-group .input-single {
    margin-bottom: 20px !important;
}

/* ── .nice-select override (used on volunteer form) ──────────────────────────── */
.form-modern .input-single .nice-select {
    background: transparent !important;
    border: 0 !important;
    color: var(--fm-text) !important;
    padding-left: 0 !important;
    line-height: 52px !important;
    height: 52px !important;
}

.form-modern .input-single .nice-select .current {
    color: var(--fm-text) !important;
}

.form-modern .input-single .nice-select::after {
    border-color: var(--fm-green) !important;
}

.form-modern .input-single .nice-select .list {
    border-radius: var(--fm-radius) !important;
    border: 1.5px solid var(--fm-border) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .10) !important;
    min-width: 100% !important;
    background: var(--fm-bg) !important;
}

.form-modern .input-single .nice-select .option {
    color: var(--fm-text) !important;
}

.form-modern .input-single .nice-select .option:hover,
.form-modern .input-single .nice-select .option.selected {
    background: var(--fm-green-light) !important;
    color: var(--fm-green) !important;
}

/* Placeholder option (first item, unselected) */
.form-modern .input-single .nice-select.open,
.form-modern .input-single .nice-select:not(.has-multiple):not([data-val]) .current {
    color: var(--fm-muted) !important;
}

/* ── Form section heading (volunteer__form-content) ──────────────────────────── */
.form-modern .volunteer__form-content h4 {
    color: var(--fm-text);
    font-size: 1.15rem;
}

.form-modern .volunteer__form-content p {
    color: var(--fm-muted);
    font-size: .88rem;
    margin-top: 4px;
}

/* ── Section divider title (.form-section-title) ─────────────────────────────── */
.form-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 36px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8edf2;
}

.form-section-title i {
    color: #2563eb;
    font-size: 1rem;
}

.form-section-title h5 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}

/* ── Field label above inputs (.reg-label) ───────────────────────────────────── */
.reg-label {
    display: block;
    font-weight: 600;
    font-size: .83rem;
    color: #1f2937; /* ↑ was #3d5066 */
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: .045em;
}

.reg-label span {
    color: #c0392b;
}

/* ── Radio button pill cards ─────────────────────────────────────────────────── */
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border: 1.5px solid #d1d9e0;
    border-radius: 50px;
    cursor: pointer;
    font-size: .9rem;
    color: #1f2937; /* ↑ was #3d5066 */
    background: #f7f9fb;
    font-weight: 500;
    user-select: none;
    transition: border-color .18s, background .18s, color .18s, box-shadow .18s;
}

.radio-group label:hover {
    border-color: #2563eb;
    background: #eff6ff;
}

.radio-group input[type="radio"] {
    accent-color: #2563eb;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.radio-group label:has(input:checked) {
    border-color: #2563eb;
    background: #eff6ff;
    color: #2563eb;
    font-weight: 700;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}

/* ── Photo upload box (registration page only) ───────────────────────────────── */
.photo-upload-box {
    border: 2px dashed #c8d8e4;
    border-radius: 12px;
    padding: 32px 20px;
    text-align: center;
    cursor: pointer;
    background: #f7f9fb;
    position: relative;
    margin-bottom: 22px;
    transition: border-color .2s, background .2s;
}

.photo-upload-box:hover {
    border-color: #2563eb;
    background: #eff6ff;
}

.photo-upload-box input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.photo-upload-box i {
    font-size: 2.2rem;
    color: #a0b4c0;
    display: block;
    margin-bottom: 10px;
}

.photo-upload-box p {
    margin: 0;
    color: #7a8fa0;
    font-size: .88rem;
}

#photoPreview {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #2563eb;
    display: none;
    margin: 12px auto 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
}

/* ── Checkbox styling ────────────────────────────────────────────────────────── */
.fm-checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 20px;
}

.fm-checkbox-row input[type="checkbox"] {
    accent-color: #2563eb;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 3px;
}

.fm-checkbox-row label {
    cursor: pointer;
    font-size: .93rem;
    line-height: 1.55;
    color: #1f2937; /* ↑ was #3d5066 */
}

/* ── Submit / CTA row ────────────────────────────────────────────────────────── */
.form-modern .form-cta {
    margin-top: 32px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

/* ── Status message ──────────────────────────────────────────────────────────── */
.fm-status-msg {
    font-size: .95rem;
    font-weight: 600;
    border-radius: 6px;
    padding: 6px 12px;
    line-height: 1.5;
    float: none !important;
}

/* ══════════════════════════════════════════════════════════════════════════════
   RF DESIGN SYSTEM — shared card/input/chip styles used on registration,
   contact-us and become-volunteer pages.
   Scope: any element inside #rf-wrap, or with class .rf-notice / .rf-card etc.
   ══════════════════════════════════════════════════════════════════════════════ */

/* ── CSS tokens ──────────────────────────────────────────────────────────────── */
:root {
    --rf-green: #2563eb;
    --rf-green-mid: #3b82f6;
    --rf-green-dark: #1d4ed8;
    --rf-green-light: #dbeafe;
    --rf-green-xlight: #eff6ff;
    --rf-border: #e2e6ea;
    --rf-bg: #ffffff;
    --rf-page-bg: #eef0f5;
    --rf-text: #111827;
    --rf-muted: #374151; /* ↑ was #6b7280 — darker charcoal, clearly readable */
    --rf-red: #dc2626;
    --rf-radius: 14px;
    --rf-input-h: 58px;
    --rf-shadow: 0 1px 3px rgba(0, 0, 0, .06), 0 4px 20px rgba(0, 0, 0, .08);
    --rf-focus-ring: 0 0 0 3px rgba(37, 99, 235, .22);
    --rf-trans: .2s ease;
}

/* ── Page background helper ──────────────────────────────────────────────────── */
.rf-page-bg {
    background: var(--rf-page-bg);
}

/* ══════════════════════════════════════════════════════════════════════════════
   INFO / NOTICE CARD  (.rf-notice)
══════════════════════════════════════════════════════════════════════════════ */
.rf-notice {
    background: var(--rf-bg);
    border-radius: var(--rf-radius);
    border: 1px solid var(--rf-border);
    box-shadow: var(--rf-shadow);
    padding: 36px 40px;
    margin-bottom: 0;
}

.rf-notice__head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.rf-notice__head i {
    font-size: 2rem;
    color: var(--rf-green);
    flex-shrink: 0;
}

.rf-notice__head h3 {
    margin: 0;
    font-size: 1.3rem;
    color: var(--rf-text);
}

.rf-notice p {
    color: #374151;
    margin-bottom: 10px;
    line-height: 1.7;
}

/* ↑ was var(--rf-muted)=#6b7280 */
.rf-notice__sub {
    font-weight: 600;
    color: var(--rf-text) !important;
    margin-top: 20px;
}

/* fee grid (registration page) */
.rf-fee-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 14px 0 20px;
}

.rf-fee-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--rf-green-light);
    border: 1.5px solid rgba(26, 122, 86, .25);
    border-radius: 10px;
    padding: 12px 22px;
    min-width: 110px;
    gap: 4px;
}

.rf-fee-card__label {
    font-size: .78rem;
    color: var(--rf-muted);
}

.rf-fee-card__amount {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--rf-green);
}

/* deadline / alert strip */
.rf-notice__deadline {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: #fff5f5;
    border: 1.5px solid #fed7d7;
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 4px;
    color: #c53030 !important;
    font-size: .92rem;
    margin-bottom: 0 !important;
}

.rf-notice__deadline i {
    flex-shrink: 0;
    margin-top: 2px;
}

/* contact info items inside notice */
.rf-contact-items {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 768px) {
    .rf-contact-items {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .rf-contact-items {
        grid-template-columns: 1fr;
    }
}

.rf-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.rf-contact-item__icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    background: var(--rf-green-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rf-green);
    font-size: .95rem;
}

.rf-contact-item__text span {
    display: block;
    font-size: .75rem;
    color: #4b5563;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-weight: 600;
    margin-bottom: 2px;
}

/* ↑ was var(--rf-muted) */
.rf-contact-item__text a,
.rf-contact-item__text p {
    margin: 0;
    font-size: .92rem;
    color: var(--rf-text);
    font-weight: 500;
    text-decoration: none;
}

.rf-contact-item__text a:hover {
    color: var(--rf-green);
}

/* requirements list inside notice */
.rf-req-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rf-req-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .92rem;
    color: var(--rf-text);
}

.rf-req-list li i {
    color: var(--rf-green);
    font-size: .85rem;
}

/* 3-column layout modifier */
.rf-req-list--cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px 16px;
}

@media (max-width: 768px) {
    .rf-req-list--cols {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .rf-req-list--cols {
        grid-template-columns: 1fr;
    }
}

/* ══════════════════════════════════════════════════════════════════════════════
   SECTION CARDS  (.rf-card)
══════════════════════════════════════════════════════════════════════════════ */
.rf-card {
    background: var(--rf-bg);
    border: 1px solid var(--rf-border);
    border-radius: var(--rf-radius);
    box-shadow: var(--rf-shadow);
    margin-top: 24px;
    overflow: hidden;
}

.rf-card__header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 28px;
    border-bottom: 1px solid #dbeafe;
    background: #eff6ff;
    border-left: 4px solid #2563eb;
}

.rf-card__header h5 {
    margin: 0 0 2px;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--rf-text);
}

.rf-card__header p {
    margin: 0;
    font-size: .82rem;
    color: #4b5563;
}

/* ↑ was var(--rf-muted)=#6b7280 */

.rf-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--rf-green);
    color: #fff;
    font-size: .88rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* icon badge variant */
.rf-badge--icon {
    background: var(--rf-green-light);
    color: var(--rf-green);
    font-size: 1rem;
}

.rf-card__body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ══════════════════════════════════════════════════════════════════════════════
   LAYOUT HELPERS
══════════════════════════════════════════════════════════════════════════════ */
.rf-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    width: 100%;
}

.rf-row + .rf-row,
.rf-row + .rf-field-full,
.rf-field-full + .rf-row,
.rf-field-full + .rf-field-full {
    margin-top: 4px;
}

.rf-field-full {
    width: 100%;
}

/* Gender + Arabic level side by side */
.rf-row--gender-arabic {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: start;
}

@media (max-width: 600px) {
    .rf-row--gender-arabic {
        grid-template-columns: 1fr;
    }
}

/* ══════════════════════════════════════════════════════════════════════════════
   FLOATING-LABEL INPUTS  (.rf-field)
══════════════════════════════════════════════════════════════════════════════ */
.rf-field {
    position: relative;
    flex: 1 1 200px;
    min-width: 0;
    margin-bottom: 20px;
}

.rf-field--half {
    flex: 0 0 calc(50% - 15px);
}

.rf-field--quarter {
    flex: 0 0 calc(25% - 12px);
}

.rf-field input,
.rf-field select,
.rf-field textarea {
    width: 100%;
    height: var(--rf-input-h);
    padding: 22px 16px 8px;
    background: var(--rf-bg);
    border: 1.5px solid var(--rf-border);
    border-radius: 10px;
    font-size: .95rem;
    color: var(--rf-text);
    outline: none;
    transition: border-color var(--rf-trans), box-shadow var(--rf-trans), background var(--rf-trans);
    -webkit-appearance: none;
    appearance: none;
    line-height: 1.4;
    box-sizing: border-box;
}

.rf-field select {
    cursor: pointer;
    padding-right: 36px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%232563eb' d='M8 11L2 5h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
}

.rf-field textarea {
    height: auto;
    min-height: 120px;
    padding: 28px 16px 12px;
    resize: vertical;
}

.rf-field input:focus,
.rf-field select:focus,
.rf-field textarea:focus {
    border-color: var(--rf-green);
    box-shadow: var(--rf-focus-ring);
    background: #fafffe;
}

/* floating label */
.rf-field > label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: .93rem;
    color: #4b5563; /* ↑ was var(--rf-muted)=#6b7280 */
    pointer-events: none;
    transition: top var(--rf-trans), transform var(--rf-trans), font-size var(--rf-trans), color var(--rf-trans);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 32px);
    background: transparent;
    line-height: 1.3;
}

.rf-field--textarea > label {
    top: 20px;
    transform: none;
}

.rf-field input:focus + label,
.rf-field input:not(:placeholder-shown) + label,
.rf-field select:focus + label,
.rf-field select:valid + label,
.rf-field textarea:focus + label,
.rf-field textarea:not(:placeholder-shown) + label {
    top: 1px;
    transform: none;
    font-size: .72rem;
    color: var(--rf-green);
    font-weight: 600;
    letter-spacing: .03em;
}

.rf-field--textarea > label.floated,
.rf-field textarea:focus + label,
.rf-field textarea:not(:placeholder-shown) + label {
    top: 1px;
}

/* star */
.rf-req {
    color: var(--rf-red);
    font-weight: 700;
}

/* stand-alone label (above chips / upload) */
.rf-label {
    display: block;
    font-size: .82rem;
    font-weight: 700;
    color: #1f2937; /* ↑ was var(--rf-muted)=#6b7280 */
    letter-spacing: .03em;
    margin-bottom: 12px;
}

/* validation error state */
.rf-field.rf-error input,
.rf-field.rf-error select,
.rf-field.rf-error textarea {
    border-color: var(--rf-red) !important;
    box-shadow: 0 0 0 3px rgba(198, 40, 40, .14) !important;
}

.rf-field.rf-error > label {
    color: var(--rf-red) !important;
}

.rf-error-msg {
    display: block;
    font-size: .78rem;
    color: var(--rf-red);
    margin-top: 4px;
    margin-left: 4px;
    font-weight: 600;
}

.rf-chips--error .rf-chip span {
    border-color: var(--rf-red) !important;
}

@keyframes rf-shake {
    0%, 100% {
        transform: translateX(0);
    }
    20%, 60% {
        transform: translateX(-6px);
    }
    40%, 80% {
        transform: translateX(6px);
    }
}

.rf-shake {
    animation: rf-shake .35s ease;
}

/* hint below field */
.rf-hint {
    font-size: .8rem;
    color: #4b5563; /* ↑ was var(--rf-muted)=#6b7280 */
    margin-top: -12px;
    margin-bottom: 0;
    line-height: 1.5;
}

/* ══════════════════════════════════════════════════════════════════════════════
   CHIP RADIO/CHOICE BUTTONS  (.rf-chips / .rf-chip)
══════════════════════════════════════════════════════════════════════════════ */
.rf-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.rf-chip {
    cursor: pointer;
    position: relative;
}

.rf-chip input[type="radio"],
.rf-chip input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.rf-chip span {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 11px 24px;
    border: 1.5px solid var(--rf-border);
    border-radius: 50px;
    background: var(--rf-bg);
    font-size: .9rem;
    font-weight: 500;
    color: #1f2937; /* ↑ was #4a5568 */
    transition: all var(--rf-trans);
    white-space: nowrap;
    user-select: none;
}

.rf-chip:hover span {
    border-color: var(--rf-green);
    background: var(--rf-green-light);
    color: var(--rf-green);
}

.rf-chip input:checked + span {
    border-color: var(--rf-green);
    background: var(--rf-green);
    color: #fff;
    box-shadow: 0 2px 8px rgba(26, 122, 86, .30);
    font-weight: 700;
}

/* ══════════════════════════════════════════════════════════════════════════════
   PHOTO UPLOAD  (.rf-upload)
══════════════════════════════════════════════════════════════════════════════ */
.rf-upload {
    position: relative;
    border: 2px dashed #c9d6e3;
    border-radius: 12px;
    background: #f7fafc;
    text-align: center;
    transition: border-color var(--rf-trans), background var(--rf-trans);
    margin-bottom: 20px;
    cursor: pointer;
    overflow: hidden;
}

.rf-upload:hover, .rf-upload.drag-over {
    border-color: var(--rf-green);
    background: var(--rf-green-xlight);
}

.rf-upload input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.rf-upload__inner {
    padding: 36px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.rf-upload__inner i {
    font-size: 2.4rem;
    color: #a0b4c6;
    transition: color var(--rf-trans);
}

.rf-upload:hover .rf-upload__inner i {
    color: var(--rf-green);
}

.rf-upload__inner p {
    margin: 0;
    font-size: .95rem;
    font-weight: 600;
    color: #4a5568;
}

.rf-upload__inner span {
    font-size: .78rem;
    color: var(--rf-muted);
}

#photoPreview {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--rf-green);
    display: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .15);
}

/* ══════════════════════════════════════════════════════════════════════════════
   CUSTOM CHECKBOX  (.rf-check)
══════════════════════════════════════════════════════════════════════════════ */
.rf-check {
    display: flex;
    gap: 14px;
    cursor: pointer;
    align-items: flex-start;
    margin-bottom: 0;
}

.rf-check input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.rf-check__box {
    width: 22px;
    height: 22px;
    min-width: 22px;
    border: 2px solid var(--rf-border);
    border-radius: 6px;
    background: var(--rf-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    transition: all var(--rf-trans);
}

.rf-check__box::after {
    content: '';
    display: none;
    width: 6px;
    height: 11px;
    border: 2.5px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translate(-1px, -1px);
}

.rf-check input:checked ~ .rf-check__box {
    background: var(--rf-green);
    border-color: var(--rf-green);
}

.rf-check input:checked ~ .rf-check__box::after {
    display: block;
}

.rf-check:hover .rf-check__box {
    border-color: var(--rf-green);
}

.rf-check__text {
    font-size: .9rem;
    color: #1f2937;
    line-height: 1.6;
}

/* ↑ was #4a5568 */

/* ══════════════════════════════════════════════════════════════════════════════
   SUBMIT ROW & BUTTON
══════════════════════════════════════════════════════════════════════════════ */
.rf-submit-row {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.rf-btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    background: var(--rf-green);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--rf-trans), box-shadow var(--rf-trans), transform var(--rf-trans);
    letter-spacing: .02em;
}

.rf-btn-submit:hover {
    background: var(--rf-green-mid);
    box-shadow: 0 6px 20px rgba(26, 122, 86, .35);
    transform: translateY(-1px);
}

.rf-btn-submit:active {
    transform: translateY(0);
}

.rf-btn-submit:disabled {
    opacity: .65;
    cursor: not-allowed;
    transform: none;
}

/* status message */
.rf-msg {
    margin-top: 16px;
    font-size: .93rem;
    font-weight: 600;
    border-radius: 8px;
    padding: 0;
    line-height: 1.5;
    width: 100%;
}

/* ══════════════════════════════════════════════════════════════════════════════
   PAGE HERO BANNER  — shared across all inner pages
   Usage: <div class="sr-hero"> … </div>
══════════════════════════════════════════════════════════════════════════════ */
.sr-hero {
    --_h-accent: #2563eb;
    background: linear-gradient(140deg, #0c1e50 0%, #1a3272 35%, #2563eb 72%, #4f8ef7 100%);
    padding: 140px 0 52px;
    position: relative;
    overflow: hidden;
}

.sr-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M40 40 L80 0 L80 80 Z'/%3E%3Cpath d='M0 0 L40 40 L0 80 Z'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.sr-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, rgba(12, 30, 80, .30));
    pointer-events: none;
}

.sr-hero__inner {
    display: flex;
    align-items: center;
    gap: 22px;
    position: relative;
    z-index: 1;
}

.sr-hero__icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .12);
    border: 1.5px solid rgba(255, 255, 255, .22);
    backdrop-filter: blur(8px);
    flex-shrink: 0;
    font-size: 1.9rem;
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .18);
}

.sr-hero__title {
    margin: 0 0 5px;
    font-size: 1.85rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.18;
    letter-spacing: -.01em;
}

.sr-hero__sub {
    margin: 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, .75);
    font-weight: 500;
    letter-spacing: .02em;
}

/* Breadcrumb inside hero */
.sr-hero .breadcrumb {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    justify-content: flex-start;
}

.sr-hero .breadcrumb-item {
    font-size: .82rem;
    color: rgba(255, 255, 255, .65);
}

.sr-hero .breadcrumb-item + .breadcrumb-item::before {
    content: '/';
    padding: 0 6px;
    color: rgba(255, 255, 255, .4);
}

.sr-hero .breadcrumb-item a {
    color: rgba(255, 255, 255, .75);
    text-decoration: none;
}

.sr-hero .breadcrumb-item a:hover {
    color: #fff;
    text-decoration: underline;
}

.sr-hero .breadcrumb-item.active {
    color: rgba(255, 255, 255, .55);
}

/* Responsive */
@media (max-width: 768px) {
    .sr-hero {
        padding: 50px 0 30px;
    }

    .sr-hero__title {
        font-size: 1.35rem;
    }

    .sr-hero__icon-wrap {
        width: 52px;
        height: 52px;
        font-size: 1.4rem;
        border-radius: 14px;
    }
}