/* ---------- Common Style for TIET Pages ---------- */

body {
    font-family: 'Poppins', sans-serif;
    margin: 20px;
    padding: 20px;
    background: #f8f9fa;
    text-align: center;
    color: #002147;
}

h2 {
    color: #002147;
    font-size: 28px;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 33, 71, 0.2);
}

/* ---------- Table Styling ---------- */
table {
    width: 100%;
    border-collapse: collapse;
    background: #1e1e1e;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0px 6px 15px rgba(252, 186, 3, 0.3);
}

th, td {
    border: 3px solid #343a40;
    padding: 12px 15px;
    text-align: center;
    transition: all 0.3s ease-in-out;
    border-radius: 10px;
}

th {
    background: rgb(252, 186, 3);
    color: #121212;
    font-size: 16px;
}

td {
    font-size: 14px;
    background: #222;
    color: white;
}

/* Alternate Row Coloring */
tr:nth-child(even) td {
    background-color: #1a1a1a;
}

/* Hover Effect */
tr:hover td {
    background-color: rgba(252, 186, 3, 0.15);
}

/* ---------- Highlight for Current Day ---------- */
.highlight {
    background-color: rgba(252, 186, 3, 0.6) !important;
    border: 5px solid lightblue !important;
}

/* ---------- Empty Cell ---------- */
.empty {
    background-color: #333;
}

/* ---------- Navigation Links ---------- */
a {
    display: inline-block;
    margin-top: 20px;
    color: #002147;
    font-weight: bold;
    text-decoration: none;
    border: 2px solid #002147;
    padding: 8px 16px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

a:hover {
    background: rgb(252, 186, 3);
    color: #121212;
    border-color: rgb(252, 186, 3);
}

/* ---------- Header Navigation Bar ---------- */
nav {
    background-color: #002147;
    color: white;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

nav a {
    color: white;
    border: none;
    font-weight: 500;
}

nav a:hover {
    color: rgb(252, 186, 3);
    background: none;
}
