/* Layout styles */
.layout-wrapper {
    display: flex;
    min-height: 100vh;
    background-color: #f0f9ff;
}

/* Sidebar styles */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 320px;
    background: linear-gradient(to bottom, #064B91, #0A1161);
    transition: all 0.3s ease;
    z-index: 1000;
    transform: translateX(0);
    overflow-y: auto;
}

    .sidebar.collapsed {
        width: 80px;
    }

/* Main content styles */
.main-content {
    flex: 1;
    margin-left: 320px;
    transition: margin-left 0.3s ease;
    min-height: 100vh;
    background-color: #f0f9ff;
}

    .main-content.expanded {
        margin-left: 80px;
    }

/* Mobile styles */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
    }

        .sidebar.mobile-visible {
            transform: translateX(0);
        }

    .main-content {
        margin-left: 0;
    }

    .toggle-button.mobile {
        display: block;
        left: 1rem;
        right: auto;
    }

    .toggle-button.desktop {
        display: none;
    }
}

/* Desktop styles */
@media (min-width: 1024px) {
    .toggle-button.mobile {
        display: none;
    }

    .toggle-button.desktop {
        display: block;
    }
}

/* Toggle button styles */
.toggle-button {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1001;
    background: white;
    border: none;
    border-radius: 0.5rem;
    padding: 0.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    cursor: pointer;
}
