body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-image: url("./img/back.jpg");
    background-size: cover;
    background-repeat: repeat-y;
    
}
.menu-icon {
    font-size: 50px;
    cursor: pointer;
    padding: 10px;
    color: rgb(24, 23, 22); /* Default color */
    background-color: rgb(243, 180, 44);
    padding: 1px;
    border-radius: 10%;
    text-align: center;
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1000;
    transition: color 0.3s, width 0.3s, font-weight 0.3s; /* Smooth transitions */
    width: 60px; /* Default width */
    font-weight:bolder
}

.menu-icon.active {
    color: rgb(245, 110, 116); /* Change to white when sidebar is open */
    background-color: rgb(4, 2, 143);
    width: 60px; /* Increase width */
    font-weight: bolder; /* Increase thickness */
}

.sidebar {
    position: fixed;
    left: -320px;
    top: 0%;
    width: 300px;
    height: 100%;
    background-image: radial-gradient(rgb(150, 150, 238),white);
    color: white;
    overflow-y: auto;
    transition: 0.3s;
    padding: 20px 10px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
    z-index: 999;
    border-style: groove;
    border-color: black;
}

.sidebar ul {
    margin-top: 60px;
    list-style-type: none;
    padding: 0;
}

.sidebar ul li {
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 4px;
    background-color: #726f6f;
    padding: 5px;
    padding: 10px 15px; /* Add padding inside each item */
    background-color: #34f344; /* Slightly lighter background */
    border-radius: 5px; /* Rounded corners */
    border-style: groove;
    border-color: black;
    cursor: pointer; /* Pointer cursor on hover */
    text-align: left;
}


.sidebar ul li a {
    color: rgb(14, 12, 12);
    text-decoration: none;
    font-size: 18px;
}

.sidebar ul li a:hover {
    text-decoration: underline;
}

.sidebar.open {
    left: 0;
}
.top_banner{
    position: fixed;
    top: 0;
}
.top_banner img{
    position: fixed;
    width: 100%;
    height: 20%;
}
h1{
    text-align: center;
    background-image: linear-gradient(rgb(150, 150, 241),rgb(115, 233, 115));
    border-style: groove;
    border-color: brown;
    margin-bottom: 10px;
    width: 100%;
    margin-top: 15vh;
}
h2 {
    text-align: center;
    background-image: linear-gradient(rgb(137, 211, 224),rgb(49, 252, 99));
    border: 3px solid #070706; /* Yellow border */
    border-radius: 10px; /* Rounded corners */
    color: rgb(14, 12, 12); /* White text */
    font-size: 24px; /* Larger font size */
    padding: 15px; /* Padding for spacing */
    margin-bottom: 20px; /* Margin for spacing */
    width: 100%; /* Full width */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow */
}

h3 {
    text-align: center;
    background-color: #88f866; /* Green background */
    border: 3px solid #0c0c0b; /* Yellow border */
    border-radius: 10px; /* Rounded corners */
    color: rgb(24, 22, 22); /* White text */
    font-size: 20px; /* Medium font size */
    padding: 10px; /* Padding for spacing */
    margin: 10px auto; /* Center align with margin */
    width: 60%; /* Fixed width */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow */
    transition: all 0.3s ease; /* Smooth transition for hover effects */
}

h3:hover {
    transform: translateY(-2px); /* Slight lift on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* Enhanced shadow on hover */
}
.filter_table {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 98%;
    position: absolute;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

#dataTable {
    width: 90%;
    margin: 20px auto;
    border-collapse: collapse;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
    background-color: white;
}

th, td {
    padding: 12px;
    border: 1px solid #a0d0ff;
    text-align: center;
    font-family: Arial, sans-serif;
}

th {
    background-color: #81f35e;
    color: rgb(10, 9, 9);
    font-weight: bold;
    text-transform: uppercase;
}

tr:nth-child(even) {
    background-color: #92def8;
}

tr:nth-child(odd) {
    background-color: #f0fff0;
}

tr:hover {
    background-color: #f3a0e5;
    transition: 0.3s ease-in-out;
}


.search_box{
    width: 100%;
    display:flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
.ser1, .th1 { width: 8vw; }
.ser2, .th2 { width: 11vw; }
.ser3, .th3 { width: 8vw; }
.ser4, .th4 { width: 4vw; }
.ser5, .th5 { width: 11vw; }
.ser6, .th6 { width: 11vw; }
.ser7, .th7 { width: 4vw; }
input{
    padding: 10px;
    background-color: #12f5e2;
    border-radius: 8%;
}
button{
    position:absolute;
    background: rgba(135, 146, 243, 0.877);
    color: rgb(14, 12, 12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bolder;
    border-radius: 12px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    top: 98%;

}

button:hover {
    background: rgba(52, 238, 52, 0.938);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(243, 82, 82, 0.938);
}

button:active {
    transform: translateY(0);
    box-shadow: 0 4px 6px rgba(73, 236, 52, 0.623);
}
a{
    text-decoration: none;
    color: #070706;
}
/* Mobile-first responsive styles */
@media (max-width: 768px) {
    body {
        background-size: auto;
        overflow-x: hidden;
    }
    
    .top_banner img {
        height: auto;
        max-height: 80px;
        position: relative;
    }
    
    h1 {
        margin-top: 100px;
        font-size: 1.2rem;
        padding: 10px;
    }
    
    h2 {
        font-size: 1rem;
        padding: 10px;
    }
    
    .filter_table {
        width: 100%;
        padding: 5px;
    }
    
    /* Make tables horizontally scrollable on mobile */
    #dataTable {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        width: 100%;
        margin: 10px 0;
    }
    
    #dataTable thead {
        display: none; /* We'll handle headers differently */
    }
    
    #dataTable tbody {
        display: block;
        width: 100%;
    }
    
    #dataTable tr {
        display: block;
        margin-bottom: 15px;
        border: 2px solid #ddd;
        border-radius: 5px;
        background: #f9f9f9;
    }
    
    #dataTable td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px;
        text-align: right;
        border-bottom: 1px solid #ddd;
        white-space: normal;
    }
    
    #dataTable td::before {
        content: attr(data-label);
        font-weight: bold;
        text-transform: uppercase;
        margin-right: 10px;
        color: #333;
    }
    
    /* Search box adjustments */
    .search_box {
        flex-direction: column;
    }
    
    .search_box input {
        width: 100%;
        margin: 5px 0;
    }
    
    /* Sidebar adjustments */
    .sidebar {
        width: 250px;
    }
    
    .sidebar ul li {
        padding: 8px;
    }
    
    .sidebar ul li a {
        font-size: 14px;
    }
    
    /* Menu icon adjustments */
    .menu-icon {
        font-size: 30px;
        width: 45px;
        height: 45px;
        top: 5px;
        left: 5px;
    }
}

/* Additional responsive tweaks for very small screens */
@media (max-width: 480px) {
    .top_banner img {
        max-height: 60px;
    }
    
    h1 {
        font-size: 1rem;
        margin-top: 80px;
    }
    
    .sidebar {
        width: 220px;
    }
}