/* Form Error Styles */
.cons-contact-form2 .form-group {
    position: relative;
    margin-bottom: 30px;
    /* Ensure space for the error message */
}

.form-error-message {
    color: #ff0000;
    font-size: 0.8rem;
    position: absolute;
    bottom: -22px;
    /* Position below the input */
    left: 0;
    display: none;
    /* Hidden by default */
    text-align: left;
    white-space: nowrap;
    /* Prevent wrapping if possible to avoid overlap */
}

.input-error {
    border-color: #ff0000 !important;
}

.input-error:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 0, 0, 0.25) !important;
}