/* Global Styles for the Whole Website */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #f0f7f4;
    color: #2d3436;
    margin: 0;
    padding: 20px;
}

/* Task 6: Registration Form Styling */
form {
    background: white;
    padding: 30px;
    border-radius: 12px;
    max-width: 500px;
    margin: 20px auto;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

label {
    font-weight: bold;
    color: #1b4d3e;
    display: block;
    margin-bottom: 5px;
}

/* Styling for Text, Email, Password, and Select fields */
input[type="text"], 
input[type="email"], 
input[type="password"], 
select {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box; /* Important for width calculation */
    transition: border-color 0.3s, box-shadow 0.3s;
}

/* Task 6: Focus state for better UX */
input:focus, select:focus {
    border-color: #52b788;
    box-shadow: 0 0 8px rgba(82, 183, 136, 0.2);
    outline: none;
}

/* Button Styling (consistent with previous tasks) */
button[type="submit"] {
    background-color: #1b4d3e;
    color: white;
    padding: 15px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    width: 100%;
    transition: background-color 0.3s;
}

button[type="submit"]:hover {
    background-color: #2d6a4f;
}

/* Styling for Radio and Checkbox alignment */
input[type="radio"], input[type="checkbox"] {
    margin-right: 5px;
    cursor: pointer;
}

header {
    background-color: #1b4d3e;
    color: white;
    padding: 2rem;
    text-align: center;
    border-radius: 12px;
    margin-bottom: 30px;
}

main {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    max-width: 900px;
    margin: 0 auto;
}

a {
    color: #2d6a4f;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

/* Common Table Styles (for schedule.html) */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th {
    background-color: #1b4d3e;
    color: white;
    padding: 12px;
}

tr:nth-child(even) { background-color: #f2f2f2; }
tr:hover { background-color: #d1e7dd; }