/* Add to styles.css */

.error-message {
    color: red;
    font-size: 0.9em;
    margin-top: 5px;
}

.success-message {
    text-align: center;
    font-weight: bold;
    margin-top: 15px;
}

/* Style invalid input fields explicitly */
input:invalid:not(:placeholder-shown), 
textarea:invalid:not(:placeholder-shown) {
    border-color: red;
}