/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Ensures padding doesn't add to total width/height */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: #f5f5f5;
    color: #333;
}

/* ===== MAIN LAYOUT ===== */
.main-wrapper {
    display: flex;
    min-height: 100vh;
}

/* ===== SIDEBAR (Left Dark Panel) ===== */
.sidebar {
    width: 250px;
    background: #1f1f1f; /* Dark background */
    color: #fff;
    padding: 20px;
    position: fixed;
    height: 100%;
}

.sidebar .logo {
    max-width: 150px;
    margin-bottom: 30px;
}

.sidebar .menu {
    list-style: none;
}

.sidebar .menu li {
    margin: 15px 0;
}

.sidebar .menu a {
    color: #ccc;
    text-decoration: none;
    display: block;
    padding: 10px;
    border-radius: 5px;
}

.sidebar .menu a.active,
.sidebar .menu a:hover {
    background: #333;
    color: #fff;
}

/* ===== CONTENT AREA (Right Side) ===== */
.content {
    margin-left: 250px;
    padding: 30px;
    background: #fff;
    width: 100%;
}

h2 {
    margin-bottom: 20px;
    color: #222;
}

/* ===== TABLE STYLING ===== */
table {
    width: 100%;
    border-collapse: collapse;
    background: #fafafa;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
}

thead {
    background: #f0f0f0;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

td a {
    color: #007bff;
    text-decoration: none;
}

td a:hover {
    text-decoration: underline;
}

/* ===== FORMS ===== */
.container {
    max-width: 600px;
    margin: 40px auto;
    background: #fff;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
}

form label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
    font-weight: 600;
}

form input,
form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
}

/* ===== BUTTONS ===== */
button {
    background: #007bff;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 10px;
}

button:hover {
    background: #0056b3;
}

/* Highlight active menu item */
.menu li a.active {
    background-color: #444; /* Darker background for active menu item */
    color: #fff; /* White text for active item */
}

/* Mobile reponsiveness*/
/* Hamburger menu */
.humburger-container{
    display:none;
}

.hamburger {
    display: none;
    cursor: pointer;
    padding: 15px;
    position: fixed;
    z-index: 1001;
    background: #1F1F1F;
    border-radius: 4px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    margin: 5px 0;
    transition: all 0.3s;
}

/* ===== RESPONSIVE DESIGN ===== */

 @media (max-width: 992px) {
    .sidebar {
        position: fixed;
        left: -250px;
        height: 100vh;
        top: 0;
    }
    
    .sidebar.active {
        left: 0;
    }
    
    .content {
        margin-left: 0;
        padding-top: 60px;
    }
    
    .humburger-container{
        display:block;
        background-color:#1F1F1F;
        width:100%;
        display: flex;
    }

    .humburger-container .logo {
        width: 150px;
        height: auto;
        
    }

    .humburger-container .logo-container{
        flex: 1;
        text-align: center
        
    }

    .hamburger {
        display: block;
        position: relative;
        width: fit-content;
        position: absolute;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    table {
        display: block;
        overflow-x: auto;
    }
}
/*
@media (max-width: 768px) {
    .main-wrapper {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        padding: 15px;
        text-align: center;
    }

    .content {
        margin-left: 0;
        padding: 20px;
    }

    .container {
        margin: 20px;
    }

    table th, table td {
        font-size: 14px;
        padding: 10px;
    }

    button {
        width: 100%;
    }


}*/

 @media (max-width: 576px) {
            .content {
                padding: 15px;
            }
            
            table th, table td {
                padding: 8px 10px;
                font-size: 14px;
            }
        }
