/* ── Base ───────────────────────────────────────────────────────────── */
body {
    padding: 16px 20px;
    margin: 0;
}

.step {
    display: none;
}

#step1 {
    display: block;
}

.hidden {
    display: none !important;
}

/* ── Page header ───────────────────────────────────────────────────────── */
.form-header {
    margin-bottom: 1rem;
}

.form-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 0.2rem;
    text-align: center;
}

.form-subtitle {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0;
}

/* ── Toggle row (compact) ─────────────────────────────────────────────────── */
.toggle-row {
    margin: 0.5rem 0;
}

.toggle-row .custom-control-label {
    font-size: 0.85rem;
    cursor: pointer;
}

.ai-divider {
    margin: 0.75rem 0 0.6rem;
    border-color: #e0e0e0;
}

/* ── Section divider & label ─────────────────────────────────────────── */
.section-divider {
    margin-top: 0;
    margin-bottom: 1rem;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6c757d;
    margin-bottom: 0.75rem;
}

/* ── Required indicator ──────────────────────────────────────────────── */
.required-star {
    color: #dc3545;
}

.required-note {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: -0.25rem;
    margin-bottom: 0.5rem;
}
/* ── Section cards (bordered) ───────────────────────────────────────────── */
.fields-section {
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 1rem;
}

.fields-section--required {
    border-left: 4px solid #0073e6;
    background-color: #fff;
}

.fields-section--optional {
    border-left: 4px solid #0073e6;
    background-color: #fff;
}
/* ── Optional fields: 2-column grid ─────────────────────────────────── */
.optional-fields-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1rem;
}

/* ── Form control focus ──────────────────────────────────────────────── */
.form-control:focus {
    border-color: #0073e6;
    box-shadow: 0 0 0 0.2rem rgba(0, 115, 230, 0.2);
}