/* ===== MANAGER LAYOUT STYLES ===== */

/* Base Body Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', sans-serif;
    background: #f8f9fa;
}

/* Container for all page content */
.container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Navigation Sidebar Styles */
aside.sidebar {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 30px 20px;
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 300px;
    overflow-y: auto;
    z-index: 900;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

aside.sidebar::-webkit-scrollbar {
    width: 6px;
}

aside.sidebar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

aside.sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

aside.sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

aside.sidebar .logo {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    font-size: 20px;
    font-weight: 700;
}

aside.sidebar .logo i {
    font-size: 28px;
    margin-right: 10px;
}

aside.sidebar .sidebar-nav {
    list-style: none;
}

aside.sidebar .sidebar-nav li {
    margin-bottom: 10px;
}

aside.sidebar .sidebar-nav a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 14px;
}

aside.sidebar .sidebar-nav a:hover,
aside.sidebar .sidebar-nav a.active {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding-left: 20px;
}

aside.sidebar .sidebar-nav i {
    width: 25px;
    margin-right: 10px;
    text-align: center;
    font-size: 16px;
}

aside.sidebar .sidebar-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

aside.sidebar .sidebar-section-title {
    font-size: 12px;
    text-transform: uppercase;
    padding: 10px 15px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    letter-spacing: 1px;
}

/* Main Content Container */
.dashboard-container {
    display: block;
    min-height: 100vh;
    margin-left: 300px;
    transition: all 0.3s ease;
}

.main-content {
    padding: 25px 30px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Hamburger Button */
.hamburger {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #1e3c72;
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Large Desktop (1441px and above) */
@media (min-width: 1441px) {
    aside.sidebar {
        width: 300px;
    }

    .dashboard-container {
        margin-left: 300px;
    }

    .main-content {
        padding: 30px 40px;
    }
}

/* Desktop & Large Tablet (1025px to 1440px) */
@media (max-width: 1440px) and (min-width: 1025px) {
    aside.sidebar {
        width: 280px;
    }

    .dashboard-container {
        margin-left: 280px;
    }

    .main-content {
        padding: 25px 30px;
    }
}

/* Tablet & Small Desktop (769px to 1024px) */
@media (max-width: 1024px) {
    aside.sidebar {
        width: 90vw;
        max-width: 320px;
        transform: translateX(-100%);
    }

    aside.sidebar.active {
        transform: translateX(0);
    }

    .hamburger {
        display: flex;
    }

    .dashboard-container {
        margin-left: 0;
    }

    .main-content {
        padding: 20px 25px;
        padding-top: 75px;
    }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
    .hamburger {
        top: 12px;
        left: 12px;
    }

    .hamburger span {
        width: 22px;
        height: 2.5px;
        margin: 4px 0;
    }

    .main-content {
        padding: 15px;
        padding-top: 70px;
    }

    aside.sidebar {
        max-width: 85vw;
    }
}
