/**
 * gestemas-layout.css
 * Estructura base: Sidebar, Header y Navigation
 */

.gst-sidebar {
    width: var(--gestemas-sidebar-width, 280px);
    background: var(--gst-white);
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    z-index: var(--z-sidebar);
    border-right: 1px solid var(--gst-gray-200);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gst-header {
    height: 80px;
    background: var(--gst-glass-bg);
    backdrop-filter: var(--gst-glass-blur);
    border-bottom: 1px solid var(--gst-gray-200);
    position: sticky;
    top: 0;
    z-index: var(--z-header);
    display: flex;
    align-items: center;
    padding: 0 var(--gst-page-padding);
}

.gst-nav-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
}

.gst-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--gst-radius-md);
    color: var(--gst-gray-600);
    text-decoration: none;
    transition: all 0.2s ease;
}

.gst-nav-item:hover, .gst-nav-item.active {
    background: var(--gestemas-primary-light);
    color: var(--gestemas-primary);
}

/**
 * Unified Scroll Lock
 * Applied to html and body to prevent background scrolling.
 */
html.gst-lock-scroll,
body.gst-lock-scroll {
    overflow: hidden !important;
    height: 100% !important;
    position: fixed;
    width: 100%;
}
