/* Global required-field styling (pairs with js/required-fields.js) */
.rf-star { color: #e53935; font-weight: 700; margin-left: 2px; }
.rf-invalid,
.rf-invalid:focus,
.form-control.rf-invalid,
.form-select.rf-invalid {
    border-color: #e53935 !important;
    box-shadow: 0 0 0 3px rgba(229, 57, 53, .14) !important;
}
.rf-error {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 4px;
    font-size: .74rem;
    font-weight: 600;
    line-height: 1.25;
    color: #e53935;
    animation: rf-in .18s ease-out;
}
.rf-error::before {
    content: '!';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #e53935;
    color: #fff;
    font-size: .62rem;
    font-weight: 800;
}
.rf-shake { animation: rf-shake .32s ease-in-out; }
@keyframes rf-in { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }
@keyframes rf-shake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
