form {
    width: 80%;
    max-width: 400px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

}

.note {
    font-size: 12px;
    color: #ff5555; /* Red color for attention */
}

/* Style for the h1 heading */
h1 {
    color: #2f056b;
    font-size: 28px;
    text-align: center;
}

/* Style for fieldsets (grouping related elements) */
fieldset {
    border: none;
    margin: 0;
    padding: 0;
}

/* Style for legend inside fieldset */
legend {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

/* Style for form rows (labels and inputs) */
.form-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-row-half {
    display: flex;
    flex-direction: row;
    gap: 10px;
    padding: 10px;
    justify-content: space-evenly;
}

.form-col {
    display: flex;
    gap: 20px;
}

/* Style for labels */
label {
    font-size: 16px;
    color: #333;
}

/* Style for text inputs and selects */
input[type="text"],
select,
input[type="date"],
input[type="time"] {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

/* Style for the button row */
.button-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

/* Style for the submission button */
button {
    background-color: #2f056b;
    color: #ebe0f9;
    border: none;
    border-radius: 5px;
    padding: 12px 20px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s ease-in-out;
}

/* Hover effect for the submission button */
button:hover {
    background-color: #1a0347;
    color: #ebe0f9;
}