/* General body styling */
body {
    background: linear-gradient(to right, #f0f2f5, #e6e9ed);
    font-family: Arial, sans-serif;
}

/* Card styling for the form container */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-header {
    background-color: #0d6efd;
    color: white;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

/* Styling for the error messages */
.error-message {
    color: #dc3545; /* Red color for errors */
    font-size: 0.875em;
    margin-top: 5px;
    min-height: 1em; /* Prevents layout shifts when message appears */
}

/* Adds a red border to input fields with errors */
.form-control.is-invalid {
    border-color: #dc3545;
}

/* Adds a green border to valid input fields */
.form-control.is-valid {
    border-color: #198754;
}
