/* ========================================
   BARANGAY — CONCRETE POURING CERTIFICATION
   CSS/index_concrete_prompt.css
   Inherits base from index_residency_prompt.css
   ======================================== */

/* ── FIELD ───────────────────────────────────────────── */
.cp-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
    min-width: 0;
}

.cp-field.has-error .rbi-input,
.cp-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 ──────────────────────────────────── */
.cp-error-msg {
    font-size: 0.73rem;
    color: #c0392b;
    /* matched to project-wide error red */
    font-weight: 500;
    min-height: 16px;
    display: block;
}

/* ── TIME RANGE ──────────────────────────────────────── */
.cp-time-range {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cp-time-input {
    flex: 1;
    min-width: 0;
}

.cp-time-sep {
    font-size: 0.78rem;
    font-weight: 700;
    color: #7a92aa;
    white-space: nowrap;
    flex-shrink: 0;
}

.cp-field.has-error .cp-time-input {
    border-color: #c0392b !important;
    /* matched to project-wide error red */
    background: #fff8f8;
}

/* ── FLATPICKR RANGE INPUT OVERRIDES ─────────────────── */
#cp-date-range {
    cursor: pointer;
    background-color: #f7f8fc;
    /* matched to project-wide input background */
}

#cp-date-range:hover {
    background-color: #ffffff;
}