﻿/* =========================================
   UNIVERSAL FORM VALIDATION & REQUIRED STYLING
========================================= */

/* Label text stays clean black / dark; only the star is bold red */
.form-label,
label {
    color: #1f2937 !important;
}

/* Required Field Red Asterisk Indicator */
.text-danger-star,
.req-star {
    color: #e50914 !important;
    font-weight: 800 !important;
    font-size: 1.1em !important;
    margin-left: 3px;
    display: inline-block;
}

/* Invalid / Missing Required Input Red Highlighting on Error */
.form-control.is-invalid,
.form-select.is-invalid,
.was-validated .form-control:invalid,
.was-validated .form-select:invalid {
    border-color: #e50914 !important;
    background-color: #fff8f8 !important;
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.15) !important;
}

/* Invalid Feedback Error Text below field */
.invalid-feedback,
.invalid-feedback-custom {
    display: block;
    color: #e50914 !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    margin-top: 4px;
}
