body {
    margin-top: 2%;
    margin-bottom: 2%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-image: url('assets/SAC-Health-Sciences-exterior-1-1.jpg');
    background-attachment: fixed;
}

form {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/* Base styling for BIGGER inputs */
input, select, textarea, #FormPage input[type=text]:read-only, #FormPage textarea:read-only {
    width: 100%;             /* Makes boxes span the full form width */
    padding: 14px 18px;      /* Significantly increases the height and internal space */
    margin-bottom: 20px;     /* Adds more breathing room between boxes */
    font-size: 16px;         /* Larger text improves readability and prevents iOS zoom */
    border-radius: 6px;      /* Slightly rounder corners for the larger size */
    border: 1px solid #D1D5DB;
    transition: all 0.2s ease-in-out;
    box-sizing: border-box;  /* Ensures padding doesn't push the box outside the form */
}

/* The Red Focus Effect */
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #BA0C2F !important;
    box-shadow: 0 0 0 3px rgba(186, 12, 47, 0.2) !important;
}

/* Button Styling: Hand cursor and Red Submit button */
#SaveAsDraftButton, #NextButton {
    cursor: pointer; /* Changes cursor to a hand on hover */
}

#NextButton {
    background-color: #BA0C2F; /* Matching your focus effect red */
    color: white;
    font-weight: bold;
    border: none;
    transition: background-color 0.2s ease;
}

#NextButton:hover {
    background-color: #8a0822; /* A slightly darker red for the hover state */
}

/* Optional: Subtle hover effect for the Save Progress button */
#SaveAsDraftButton:hover {
    background-color: #f3f4f6;
}