/* ═══════════════════════════════════════════════════════════════════════════
   OSH Practitioner / Consultant form controls
   (resources/views/landing/partials/practitioner)

   Loaded by the form partial itself (@pushOnce), so every page it is on gets
   them: the registration page, the tracking page (a rejected application
   form, corrected) and the practitioner portal's renewal form. The landing
   colour variables carry fallbacks for the portal, which does not define them.
   ═══════════════════════════════════════════════════════════════════════════ */

.prac-step-sub {
    font-weight: 500;
    font-size: .82rem;
    color: #6c757d;
    text-transform: none;
    letter-spacing: 0;
}

.prac-subheading {
    font-size: .82rem;
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: .5rem;
}

.prac-section-heading {
    font-size: .92rem;
    font-weight: 700;
    color: #0b3d91;
}

.prac-note {
    background: rgba(46, 111, 216, .08);
    border: 1px solid rgba(46, 111, 216, .2);
    border-radius: 8px;
    color: var(--blue-deep, #0D2B55);
    font-size: .82rem;
    line-height: 1.45;
    padding: .55rem .75rem;
}

.prac-card {
    border-left: 3px solid rgba(11, 61, 145, .35) !important;
}

.prac-card-label {
    color: #0b3d91;
    font-size: .88rem;
}

/* Yes/No disclosures read as a row per question rather than a wall of radios. */
.prac-yesno {
    background: #f8f9ff;
    border: 1px solid rgba(11, 61, 145, .12);
}

/* The "give details" box a Yes answer opens, tucked under its question(s). */
.prac-decl-details {
    padding: 8px 12px 10px;
    margin-left: 14px;
    width: calc(100% - 14px);
    border-left: 3px solid #e0a100;
    background: #fffaf0;
    border-radius: 0 8px 8px 0;
}

/* ── Form controls (resources/views/landing/partials/practitioner) ────── */

.prac-label {
    font-size: .88rem;
}

.prac-help {
    font-size: .75rem;
    line-height: 1.2;
    color: #6c757d;
}

/* Short note kept on the label's line ("(if any)"), unlike .prac-help. */
.prac-label-hint {
    font-size: .78rem;
    font-weight: 400;
    color: #6c757d;
}

.prac-feedback {
    font-size: .78rem;
}

.prac-file-name {
    font-size: .8rem;
    max-width: 200px;
}

.prac-file-feedback {
    font-size: .8rem;
    margin-top: 4px;
}

.prac-yesno-question {
    font-size: .88rem;
    line-height: 1.45;
}

.prac-yesno-label {
    font-size: .85rem;
}

.prac-add-btn {
    border-radius: 8px;
}

.prac-upload-info {
    background: rgba(46, 111, 216, .08);
    border: 1px solid rgba(46, 111, 216, .2);
    color: var(--blue-deep, #0D2B55);
}

.prac-upload-info-text {
    font-size: .85rem;
}

.prac-doc-heading {
    color: #0b3d91;
}

.prac-doc-badge {
    background: #0b3d91;
}

/* ── Portal renewal form (form.blade.php with $renewal) ───────────────────
   What the AF-PCR-A2 does not ask again stays on screen, filled in from the
   last application but locked. */

/* A locked step is a disabled <fieldset>; it should not look like one. */
.prac-fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.prac-locked-note {
    background: #f1f3f6;
    border: 1px dashed #b8c1cf;
    border-radius: 8px;
    color: #4b5563;
    font-size: .82rem;
    line-height: 1.45;
    padding: .55rem .75rem;
}

.prac-locked-hint {
    margin-left: 4px;
    padding: 1px 7px;
    border-radius: 999px;
    background: #eef1f5;
    color: #64748b;
    font-size: .7rem;
    font-weight: 600;
    white-space: nowrap;
}

.prac-locked-empty {
    color: #94a3b8;
    font-size: .85rem;
    font-style: italic;
}

.prac-fieldset:disabled .prac-card {
    background: #fafbfc !important;
    border-left-color: #cbd5e1 !important;
}

.prac-fieldset:disabled .prac-section-heading,
.prac-fieldset:disabled .prac-card-label {
    color: #64748b;
}

/* Checklist item 3: the certificate on file instead of an upload. */
.prac-on-file {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border: 1px solid #badbcc;
    border-radius: 8px;
    background: #f0fdf4;
    color: #146c43;
    font-size: .85rem;
    font-weight: 600;
}
