/* --------------------------------------------------------------------------
   Volunteer_BL additions to app.css (which is the shared ASD_BL form styling,
   copied from FaceIt_BL - keep that file identical across the forms). Only
   what this longer, six-section form needs on top of it lives here.
   -------------------------------------------------------------------------- */

/* Section headings: "1 Personal information" ... "6 Criminal background screening". */
.form-section {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 2.25rem 0 0.75rem;
    padding-top: 1.25rem;
    border-top: 3px solid var(--pcs-navy);
    font-size: 1.35rem;
}

.form-section:first-of-type { margin-top: 0.5rem; }

.form-section .step {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--pcs-navy);
    color: #fff;
    font-size: 1rem;
}

/* Follow-up questions (see volunteer.js), set in from the question they follow. */
.indent {
    margin: 0 0 0.75rem;
    padding-left: 1rem;
    border-left: 4px solid var(--pcs-sky);
}

.indent > fieldset:first-child { border-top: 0; padding-top: 0.5rem; }

[hidden] { display: none !important; }

.note {
    margin: 0.5rem 0 1rem;
    padding: 0.75rem 0.9rem;
    border-radius: var(--pcs-radius-sm);
    background: var(--pcs-navy-050);
    border-left: 4px solid var(--pcs-gold);
}

.note-list p {
    margin: 0 0 0.6rem;
}

/* Date and file inputs are not covered by app.css. */
input[type="date"],
input[type="file"] {
    display: block;
    width: 100%;
    max-width: 20rem;
    min-height: 48px;
    padding: 0.55rem 0.75rem;
    font: inherit;
    color: var(--pcs-ink);
    background: var(--pcs-surface);
    border: 2px solid var(--pcs-border-strong);
    border-radius: var(--pcs-radius-sm);
}

input[type="file"] { max-width: 32rem; padding: 0.5rem; }

input[type="date"]:focus-visible,
input[type="file"]:focus-visible {
    outline: 3px solid var(--pcs-sky);
    outline-offset: 2px;
}

/* Children and offense rows. */
.child-row + .child-row { border-top: 1px dashed var(--pcs-border); padding-top: 0.75rem; }

.offense-row {
    margin-bottom: 0.75rem;
    padding: 0.75rem 0.9rem 0.1rem;
    border: 1px solid var(--pcs-border);
    border-radius: var(--pcs-radius-sm);
}

.offense-number {
    margin: 0 0 0.5rem;
    font-weight: 700;
    color: var(--pcs-navy);
}


.agreement-title {
    margin: 1.25rem 0 0.5rem;
    font-size: 1.05rem;
}

.fine-print {
    margin-top: 1.5rem;
    color: var(--pcs-ink-muted);
    font-size: 0.92rem;
}

details.fine-print summary {
    cursor: pointer;
    color: var(--pcs-navy);
    font-weight: 700;
}

/* Welcome page. */
.notice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
}

.notice {
    padding: 0.9rem 1rem;
    border-radius: var(--pcs-radius-sm);
    background: var(--pcs-navy-050);
    border-left: 4px solid var(--pcs-gold);
}

.notice h2 { font-size: 1.1rem; margin: 0 0 0.35rem; }
.notice p { margin: 0; }

.btn-large { min-width: 14rem; font-size: 1.1rem; }

.thanks-line {
    margin: 1.5rem 0 2rem;
    text-align: center;
    color: var(--pcs-ink-muted);
}

.closed-message { white-space: pre-line; }

/* The photo ID kept from a failed submit (IdImageStore). */
.kept-file {
    margin: 0 0 0.5rem;
    padding: 0.6rem 0.8rem;
    border-radius: var(--pcs-radius-sm);
    background: #E9F5EC;
    border-left: 4px solid var(--pcs-dark-green);
}

.kept-file span { color: var(--pcs-dark-green); font-weight: 700; margin-right: 0.25rem; }

/* The "No photo ID" note, shown under the ID choices once that one is picked:
   smaller type, no box (business owners, 11/16/2026). */
.id-email-note {
    margin: 0.4rem 0 1rem;
    color: var(--pcs-ink-muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

/* Live phone check (volunteer.js). */
.phone-status { margin: 0.35rem 0 0; font-size: 0.95rem; }

/* Welcome page "What you'll need": four tiles since 11/16/2026, so two per row
   (a 2x2 grid) instead of the shared app.css three-across, which left the fourth
   alone on its own row. One column on a phone. */
.facts.facts-pairs { grid-template-columns: repeat(auto-fit, minmax(min(19rem, 100%), 1fr)); }
.facts + p { margin-top: 1.25rem; }
