/* Dark Theme Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #0f172a; /* Navy blue background */
    color: #e0e0e0; /* Light text for contrast */
}

.main-container {
    width: 90%;
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    background-color: #1e293b; /* Dark navy container */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #38bdf8; /* Teal highlight color */
}

.select-wrapper {
    margin-bottom: 20px;
    text-align: center;
}

.select-wrapper select {
    margin-left: 11px;
    padding: 10px;
    font-size: 1rem;
    border: 2px solid #334155; /* Slightly darker border */
    border-radius: 6px;
    background-color: #1e293b; /* Dark navy dropdown background */
    color: #e0e0e0; /* Light text */
    transition: border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
}

.select-wrapper select:hover {
    background-color: #243447; /* Slightly lighter navy on hover */
    border-color: #38bdf8; /* Teal border on hover */
    color: #ffffff; /* Brighter text on hover */
}

.btn{
    display: inline-block;
    padding: 10px 20px;
    background-color: #07b1fa; /* Teal button color */
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    margin-top: 10px;
    cursor: pointer;
}

.btn:hover {
    background-color: #0056b3;
}

/* General Styles for content-container */
.content-container {
    margin-top: 20px;
    /* padding: 20px; */
    /* background-color: rgba(255, 255, 255, 0.1); */
    border-radius: 8px;
    /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); */
    color: #e0e0e0; 
    font-size: 1rem;
    line-height: 1.6;
}

.content-container {
    h1, h2, h3, h4, h5, h6 {
        margin-top: 1rem;
        margin-bottom: 0.5rem;
        color: #38bdf8; /* Teal color for headings */
    }

    p {
        margin-bottom: 1rem;
        color: #e0e0e0; /* Light text */
    }

    a {
        color: #38bdf8; /* Teal color for links */
        text-decoration: none;
    }

    ul, ol {
        margin-left: 1.5rem;
        margin-bottom: 1rem;
    }

    li {
        margin-bottom: 0.5rem;
    }

    table {
        width: 100%;
        min-width: 700px;
        border-collapse: collapse;
        margin-top: 1rem;
        margin-bottom: 1rem;
        background-color: #1e293b; /* Dark background for tables */
        color: #e0e0e0; /* Light text */
        overflow-x: auto;

        th, td {
            border: 1px solid #334155; /* Border color for table cells */
            padding: 10px;
            text-align: left;
        }

        th {
            background-color: #243447; /* Slightly darker background for table headers */
            color: #ffffff; /* White text for headers */
            font-weight: bold;
            text-transform: uppercase; /* Make header text uppercase */
            text-align: center; /* Center-align header text */
        }

        tr:first-child{
            text-transform: uppercase;
            font-weight: bold;
            color: #38bdf8;
        }

        tr:nth-child(even) {
            background-color: #1c2533; /* Alternate row color */
        }

        tr:hover {
            background-color: #334155; /* Highlight row on hover */
        }

        a {
            display: inline-block;
            padding: 8px 15px;
            background-color: #f82424; 
            color: #ffffff; 
            text-decoration: none;
            border-radius: 5px;
            font-size: 0.9rem;
            font-weight: bold;
            text-align: center;
            transition: background-color 0.3s ease;
        }

        a:hover {
            background-color: #c82333; /* Darker red on hover */
        }
    }

    .table-wrapper{
        overflow-x: auto;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
}

.logout-container {
    margin-top: 20px;
    text-align: center;
}

.logout-btn {
    background-color: #dc3545;
    /* color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer; */
}

.logout-btn:hover {
    background-color: #c82333;
}

.manager-login {
    margin-top: 30px;
    text-align: center;

    a{
        text-decoration: none;
        color: white
    }
}


/* Responsive Design */
@media (max-width: 768px) {
    .main-container {
        padding: 15px;
    }

    h1 {
        font-size: 1.5rem;
    }

    .select-wrapper select {
        width: 100%;
        font-size: 0.9rem;
    }

    table th, table td {
        font-size: 0.9rem;
        padding: 8px;
    }

    .logout-btn, .btn {
        font-size: 0.9rem;
        padding: 8px 15px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.2rem;
    }

    .select-wrapper select {
        font-size: 0.8rem;
    }

    table th, table td {
        font-size: 0.8rem;
        padding: 6px;
    }

    .logout-btn, .btn {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
}




/* Navbar Styles */
.navbar {
    background-color: #1e293b; /* Dark background */
    color: #ffffff; /* White text */
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav__container a img {
    height: 40px; /* Adjust logo size */
}

.nav__menu {
    list-style: none;
    display: flex;
    font-weight: bold;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav__menu li {
    display: inline;
}

.nav__menu a {
    text-decoration: none;
    color: #ffffff; /* White text */
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav__menu a:hover {
    color: #38bdf8; /* Teal color on hover */
}

/* Hamburger Menu */
#open-menu-btn,
#close-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Responsive Navbar */
@media (max-width: 768px) {
    .nav__menu {
        display: none;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-color: #1e293b; /* Dark background for mobile menu */
        position: absolute;
        top: 60px;
        right: 0;
        width: 50%;
        padding: 10px 0;
    }

    .nav__menu.active {
        display: flex;
    }

    #open-menu-btn {
        display: block;
    }

    #close-menu-btn {
        display: none;
    }

    .nav__menu.active ~ #close-menu-btn {
        display: block;
    }

    .nav__menu.active ~ #open-menu-btn {
        display: none;
    }
}