/* ── SNAP Sanction Lift — Public Intake Styles ─────────────────────
   Design matched to the mysuncoast_scholarship public request form. */

:root {
    --brand-primary:    #005DA6;
    --brand-dark:       #1a2e4a;
    --brand-gray:       #6A737B;
    --brand-dark-gray:  #333E48;
    --brand-light-gray: #C1C5C9;
}

::selection {
    color: #fff;
    background-color: var(--brand-primary);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #f4f6f9;
}

/* ----- Public Header ----- */
.public-header {
    background: linear-gradient(to right, #0d1b2e 0%, #163560 50%, #1e5299 100%);
}

/* ----- Buttons ----- */
.btn-primary {
    background-color: var(--brand-primary) !important;
    border-color: var(--brand-primary) !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #004a85 !important;
    border-color: #004a85 !important;
}

/* ----- Intro Section ----- */
.ojt-intro-section {
    padding-top: .5rem;
}

.ojt-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(0, 93, 166, .12);
    color: var(--brand-primary);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .01em;
    padding: .3rem .85rem;
    border-radius: 999px;
}

.ojt-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand-primary);
    flex-shrink: 0;
}

.ojt-page-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--brand-dark-gray);
    line-height: 1.2;
}

.ojt-intro-text {
    font-size: 1rem;
    color: var(--brand-dark-gray);
    max-width: 72ch;
}

/* ----- Card section headers (match scholarship form) ----- */
.card-header.bg-primary {
    background-color: var(--brand-primary) !important;
}

/* ----- Decision-tree question blocks ----- */
.question-block {
    /* Hidden by default; revealed by sanction-form.js as answers are given. */
    display: none;
}

.question-block.is-visible {
    display: block;
    animation: fadeSlide .18s ease-out;
}

@keyframes fadeSlide {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

.question-label {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--brand-dark-gray);
}

/* ----- Penalty level reference box ----- */
.level-reference {
    background: #f8f9fa;
    border: 1px solid #e0e4e8;
    border-radius: 8px;
    font-size: .9rem;
    color: var(--brand-dark-gray);
}

.level-reference .level-tag {
    font-weight: 700;
    color: var(--brand-primary);
}

/* ----- Outcome messages ----- */
.outcome-message {
    display: none;
    border-radius: 8px;
    line-height: 1.5;
}

.outcome-message.is-visible {
    display: block;
    animation: fadeSlide .18s ease-out;
}

/* ----- Anti-bot honeypot (visually hidden, not display:none so bots fill it) ----- */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    height: 0;
    width: 0;
    overflow: hidden;
}
