﻿/* ============================================================
   CANONICAL SOURCE — edit THIS file only.
   The copies under US.Enrol.Admin/Content and Enrol.School/Content
   are overwritten from here by a pre-build step in each .vbproj.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ===== Form control base font ===== */
.form-page-top,
.form-page-top *,
.heading-section,
.heading-section *,
.form-review-section,
.form-review-section * {
    font-family: 'Inter', sans-serif;
}

/* ===== Form Page Top Banner ===== */
.form-page-top {
    margin: 0 0 24px;
    max-width: calc(100% - 80px);
    text-align: left;
}

.form-top-label {
    text-transform: uppercase;
    color: #1e3a8a;
    font-size: 15px;
    letter-spacing: 0.24em;
    margin-bottom: 12px;
    font-weight: 700;
}

.form-top-title {
    margin: 0;
    font-size: 42px;
    font-weight: 800;
    color: #1e3a8a;
    line-height: 1.05;
}

.form-top-desc {
    margin: 16px 0 0;
    max-width: 640px;
    color: #1e3a8a;
    font-size: 16px;
    line-height: 1.6;
}

/* ===== Info Card (date range) ===== */
.form-info-card {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-radius: 20px;
    background-color: white;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    margin: 24px 0 0;
    max-width: 520px;
}

.form-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background-color: #eff6ff;
    color: #1d4ed8;
}

.form-info-text {
    text-align: left;
    display: inline-block;
}

.form-info-label {
    font-size: 12px;
    color: #0f172a;
    margin-bottom: 4px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.form-info-value {
    font-size: 16px;
    color: #1e3a8a;
    font-weight: 800;
}

/* ===== Heading Section wrapper ===== */
.heading-section {
    background-color: white;
    border-radius: 12px;
    padding: 20px 20px 12px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

    .heading-section > .row {
        padding-left: 20px;
    }

/* ===== Section Heading ===== */
.Form-Heading {
    display: inline-flex;
    align-items: center;
    margin-top: 0;
    margin-bottom: 12px;
    border-bottom: none;
    font-weight: 700;
    font-size: 1.5rem;
    color: #1e3a8a;
}

.form-heading-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: transparent;
    color: #1d4ed8;
    margin-right: 10px;
    font-size: 18px;
}

/* ===== Form control labels ===== */
.Form-TextboxLabel,
.Form-TextareaLabel,
.Form-Email_addressLabel,
.Form-NumberLabel,
.Form-CalendarLabel,
.Form-Yes_or_NoLabel,
.Form-Dropdown_boxLabel,
.Form-Radio_buttonLabel,
.Form-CheckboxLabel,
.Form-File_uploadLabel,
.Form-Signature_boxLabel,
.Form-Label {
    font-weight: 500;
    color: #374151;
    font-size: 0.875rem;
    margin-bottom: 4px;
    display: block;
}

/* ===== Checkboxes / Radios ===== */
.Form-Yes_or_No input[type="radio"],
.Form-Checkbox input[type="checkbox"] {
    margin: 0 10px;
}

input[type="radio"], input[type="checkbox"] {
    margin-right: 10px;
}

/* ===== Review & Submit Section ===== */
.form-review-section {
    margin: 0 0 24px;
    border-radius: 12px;
    background-color: white;
    padding: 24px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.form-review-heading {
    display: inline-flex;
    align-items: center;
    border-bottom: none;
    font-size: 20px;
    color: #1e3a8a;
    font-weight: 700;
    margin: 0 0 20px 0;
}

.form-review-heading-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: #1d4ed8;
    margin-right: 10px;
}

.form-review-info-box {
    background-color: #eff6ff;
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.form-review-info-icon {
    flex-shrink: 0;
    margin-top: 1px;
    color: #1d4ed8;
}

.form-review-info-text {
    margin: 0;
    font-size: 14px;
    color: #425466;
    line-height: 1.5;
}

.form-review-check-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.form-review-check-label {
    font-size: 14px;
    color: #374151;
    cursor: pointer;
    margin: 0;
}

.form-review-submit {
    width: 100%;
    height: 54px;
    background-color: #1d4ed8;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.02em;
}
