/* --- Table Styles --- */
table {
    margin: 0 auto;
    border-collapse: collapse;
    width: 100%;
    background-color: #1a233b; /* Dark blue table background */
    border-radius: 8px; /* Sharper corners */
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); /* Stronger shadow */
    border: 1px solid #333d52; /* Subtle structural border */
}

table:hover {
    box-shadow: 0 15px 40px rgba(255, 221, 64, 0.2); /* Yellow glow on hover */
}

th, td {
    padding: 18px 28px; /* More padding for spaciousness */
    text-align: left;
    border-bottom: 1px solid #2e3852; /* Darker, clearer border */
}

th {
    background-color: #212c41; /* Slightly darker header background */
    color: #ffdd40; /* Vibrant yellow for header text */
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

td {
    color: #e0e6f7;
}

tr:hover {
    background-color: #2a354d; /* Darker blue on row hover */
}

/* --- Form Styles --- */
form {
    background-color: #1a233b; /* Dark blue form background */
    padding: 35px; /* More generous padding */
    border-radius: 12px; /* Defined rounded corners */
    margin-top: 28px;
    margin-right: 24px;
    width: 440px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3); /* Prominent shadow for forms */
    border: 1px solid #333d52; /* Subtle structural border */
}

input[type=text],
input[type=date],
textarea {
    width: calc(100% - 40px); /* Adjust width for padding */
    margin-bottom: 20px; /* More space below input */
    background-color: #0f1526; /* Very dark input background */
    border: 1px solid #4a5a7d; /* Defined blue border */
    border-radius: 6px; /* Sharper corners */
    padding: 15px 20px; /* Increased padding */
    font-size: 16px;
    color: #e0e6f7;
    transition: all 0.3s ease;
    outline: none;
    margin-top: 8px;
}

textarea {
    height: 160px; /* Slightly taller textarea */
    resize: vertical;
}

input[type=text]:hover,
input[type=date]:hover,
textarea:hover {
    background-color: #1a233b; /* Darker on hover */
    border-color: #ffdd40; /* Yellow border on hover */
}

input[type=text]:focus,
input[type=date]:focus,
textarea:focus {
    background-color: #1a233b;
    box-shadow: 0 0 0 3px rgba(255, 221, 64, 0.4); /* Vibrant yellow glow on focus */
    border-color: #ffdd40;
    color: #ffffff; /* White text on focus */
}

input[type=submit],
input[type=button] {
    cursor: pointer;
    font-weight: bold;
    background-color: #ffdd40; /* Vibrant yellow for buttons */
    color: #0f1526; /* Dark blue text on buttons for high contrast */
    width: 100%;
    border: none;
    border-radius: 6px; /* Sharper corners */
    padding: 16px 25px; /* More padding */
    font-size: 18px; /* Larger font */
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    text-transform: uppercase; /* Uppercase for impact */
    letter-spacing: 1px;
}

input[type=submit]:hover,
input[type=button]:hover {
    background-color: #ffe680; /* Lighter yellow on hover */
    box-shadow: 0 5px 20px rgba(255, 221, 64, 0.4); /* Yellow glow on hover */
}

/* --- Navigation Menu --- */
.menu {
    list-style: none;
    display: flex;
    gap: 0;
    margin: 0;
    padding-top: 15px; /* More padding */
}

.menu li {
    position: relative;
}

.menu > li > a {
    color: #c9d2e6; /* Light blue-gray for main menu items */
    text-decoration: none;
    font-weight: 600;
    padding: 18px 22px; /* Generous padding */
    display: block;
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.2s ease; /* Added transform */
    width: 160px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.menu > li > a:hover {
    color: #ffdd40; /* Vibrant yellow on hover */
    background-color: #2a354d; /* Darker blue background on hover */
    transform: translateY(-2px); /* Slight lift effect */
}

.menu li:hover .dropdown {
    display: block;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    list-style: none;
    padding: 0;
    min-width: 200px; /* Wider dropdown */
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3); /* Stronger shadow */
    z-index: 100;
    background-color: #1a233b; /* Dark blue dropdown background */
    border-top: 2px solid #ffdd40; /* Vibrant yellow top border */
}

.dropdown li a {
    display: block;
    padding: 14px 22px; /* More padding */
    text-decoration: none;
    color: #c9d2e6; /* Light blue-gray for dropdown items */
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: left;
}

.dropdown li a:hover {
    color: #ffffff; /* White text on hover */
    background-color: #2a354d; /* Darker blue background on hover */
}

/* --- Footer --- */
footer {
    margin-top: 80px; /* More space above footer */
    width: 100%;
    text-align: center;
    font-size: 15px;
    color: #8fa0c0; /* Muted blue-gray for footer text */
    padding-bottom: 30px;
    border-top: 1px solid #2e3852; /* Subtle border above footer */
    padding-top: 25px;
}