﻿/*.input-validation-error {
    background-color: #FFEAEA !important;
    border: 1px solid #7f9db9 !important;
}
*/

/* Treat readonly like a locked control (but it still submits) */
input[readonly],
textarea[readonly],
[aria-readonly="true"],
.is-readonly {
    background-color: var(--bs-secondary-bg, #e9ecef) !important; /* Bootstrap-y gray */
    cursor: not-allowed !important;
    pointer-events: none; /* blocks click/hover/drag/etc. */
    opacity: 1 !important; /* avoid Bootstrap dimming */
}

    /* Kill focus/hover effects if they somehow get applied */
    input[readonly].form-control:hover,
    input[readonly].form-control:focus,
    textarea[readonly].form-control:hover,
    textarea[readonly].form-control:focus {
        box-shadow: none !important;
        outline: 0 !important;
    }