/* Header Styles */
#header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: #333; /* Change this to the color you prefer */
    color: #fff; /* Text color for contrast */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff; /* Ensure the logo text is visible against the background */
    text-decoration: none;
}

.header-main-nav {
    display: flex;
    list-style: none;
}

.header-main-nav li {
    margin-left: 1rem;
}

.header-main-nav li a {
    text-decoration: none;
    color: #fff; /* Navigation link color */
    transition: color 0.3s ease;
}

.header-main-nav li a:hover {
    color: #ddd; /* Hover color for navigation links */
}

.header-menu-toggle {
    display: none;
    cursor: pointer;
    color: #fff; /* Ensure the toggle is visible */
}

/* Mobile menu toggle visibility */
@media (max-width: 768px) {
    .header-main-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #444; /* Background color for the mobile menu */
    }

    .header-main-nav.active {
        display: flex;
    }

    .header-main-nav li {
        margin: 1rem 0;
    }

    .header-menu-toggle {
        display: block;
    }
}


/* Table Styles */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on mobile devices */
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.9rem;
}

th, td {
    padding: 12px 15px;
    text-align: left; /* Align text to the left for both header and data cells by default */
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #f8f9fa; /* Light background for header cells */
    font-weight: bold;
    text-align: center; /* Center the text for header cells */
}

tr:hover {
    background-color: #f5f5f5; /* Hover effect for rows */
}

/* Ensure table cells are readable on smaller screens */
@media (max-width: 768px) {
    table {
        font-size: 0.8rem;
    }

    th, td {
        padding: 8px 10px;
    }
}

