/* ========================================
   BARANGAY — CERTIFICATE OF INDIGENCY
   CSS/index_indigency_prompt.css
   Inherits base from index_residency_prompt.css
   ======================================== */

/* ── FIELD ───────────────────────────────────────────── */
.ind-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
    min-width: 0;
}

.ind-field.has-error .rbi-input,
.ind-field.has-error .rbi-select {
    border-color: #c0392b !important;
    /* matched to project-wide error red */
    background: #fff8f8;
    box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.08);
}

/* ── ERROR MESSAGES ──────────────────────────────────── */
.ind-error-msg {
    font-size: 0.73rem;
    color: #c0392b;
    /* matched to project-wide error red */
    font-weight: 500;
    min-height: 16px;
    display: block;
}

#ind-radio-group.has-error>.ind-error-msg {
    margin-top: 6px;
}

/* ── NARROW FIELD ────────────────────────────────────── */
.ind-field-narrow {
    max-width: 340px;
}

/* ── SINGLE-FIELD ROW ────────────────────────────────── */
.rbi-row-1 {
    display: flex;
    gap: 16px;
}

/* ── CLAIMANT EXTRA ROW ANIMATION ────────────────────── */
.ind-claimant-extra.ind-animate-in {
    animation: indRowSlideIn 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes indRowSlideIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}