/* Styling for the event results table */
#eventTable, #volunteerTable {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    border-radius: 8px; /* Rounded corners for tables */
    overflow: hidden; /* Ensure rounded corners are applied */
}

#eventTable th, #eventTable td, #volunteerTable th, #volunteerTable td {
    padding: 10px;
    text-align: left;
    font-size: 14px;
    color: #063572; /* Charcoal text color */
}

/* Header styling */
#eventTable th, #volunteerTable th {
    font-weight: bold;
    background-color: #063572; /* Charcoal background for header */
    color: #f9f9f9; /* Light grey header text */
}

/* Row styling for odd and even rows */
#eventTable tbody tr:nth-child(odd), #volunteerTable tbody tr:nth-child(odd) {
    background-color: #e9e9e9; /* Slightly darker grey for odd rows */
}

#eventTable tbody tr:nth-child(even), #volunteerTable tbody tr:nth-child(even) {
    background-color: #ffffff; /* White background for even rows */
}

/* Hover effect for table rows */
#eventTable tbody tr:hover, #volunteerTable tbody tr:hover {
    background-color: #e0e0e0; /* Light grey background on hover */
}

/* Table borders */
#eventTable th, #eventTable td, #volunteerTable th, #volunteerTable td {
    border: 1px solid #ddd; /* Light grey border */
}

/* Styling for event and volunteer information */
h2, h3, p {
    color: #063572; /* Light yellow text */
    font-size: 14pt;
}

/* Styling for the event selection dropdown */
#eventSelection {
    width: 100%;
    padding: 12px 25px;
    margin-top: 25px;
    margin-bottom: 25px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #ccc;
    background-color: #fff;
    color: #063572; /* Matching the font color */
}

/* Apply the same styles to the submit button */
#eventSelectionForm input[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: #444444;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1rem;
}

/* Hover effect for the submit button */
#eventSelectionForm input[type="submit"]:hover {
    background-color: #333333;
}

/* Maintain form consistency */
#eventSelectionForm {
    display: flex;
    background-color: #b3b3b3;
    padding: 20px;
    border-radius: 8px;
    justify-content: space-between;
    align-items: center;
}

/* Add spacing between the select dropdown and submit button */
#eventSelectionForm select {
    padding-right: 25px;  /* Adds 25px padding to the right of the dropdown */
    margin-right: 25px;   /* Adds 25px space between the dropdown and submit button */
}

#eventSelectionForm input[type="submit"] {
    margin-left: 25px;    /* Adds 25px space to the left of the submit button */
}