/*
 * Public CSS Bundle: nav-menu.bundle.css
 * Auto-generated by scripts/bundle_public_css.py
 * DO NOT EDIT - Edit source files instead
 *
 * Sources: nav-menu-base.css, nav-menu-desktop.css, nav-menu-mobile-portrait.css, nav-menu-mobile-landscape.css
 */

/* === nav-menu-base.css === */

/*
 * Navigation Menu — base styles (no media query)
 * Prefix: nm- (Nav Menu)
 * Shared hamburger slide-out panel for public pages.
 */

/* ── Hamburger Button ── */
.nm-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 6px;
    margin-left: 4px;
    background: none;
    border: 1px solid var(--gray-200, #e5e7eb);
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s;
    flex-shrink: 0;
}

.nm-hamburger:hover {
    background: var(--gray-50, #f9fafb);
}

.nm-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary, #0f172a);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}

/* Animate to X when open */
.nm-hamburger.nm-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nm-hamburger.nm-active span:nth-child(2) {
    opacity: 0;
}
.nm-hamburger.nm-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Overlay ── */
.nm-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9990;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s;
}

.nm-overlay.nm-open {
    opacity: 1;
    visibility: visible;
}

/* ── Slide-out Panel ── */
.nm-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: white;
    z-index: 9995;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.nm-panel.nm-open {
    transform: translateX(0);
}

/* ── Panel Header ── */
.nm-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #e5e7eb;
}

.nm-panel-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nm-panel-logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.nm-panel-logo-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

.nm-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 20px;
    color: #64748b;
    cursor: pointer;
    line-height: 1;
}

.nm-close:hover {
    background: #f1f5f9;
    color: #0f172a;
}

/* ── Sections ── */
.nm-section {
    padding: 16px 20px 8px;
}

.nm-section-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
    margin-bottom: 8px;
    padding: 0 4px;
}

.nm-link {
    display: block;
    padding: 10px 12px;
    font-size: 15px;
    font-weight: 500;
    color: #1e293b;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.12s, color 0.12s;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
}

.nm-link:hover {
    background: #f1f5f9;
    color: #0f172a;
}

/* ── Divider ── */
.nm-divider {
    margin: 8px 20px;
    border-top: 1px solid #e5e7eb;
}

/* ── Special link variants ── */
.nm-link-dashboard {
    margin: 8px 20px;
    background: #2563eb;
    color: white;
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
}

.nm-link-dashboard:hover {
    background: #1d4ed8;
    color: white;
}

.nm-link-signin {
    margin: 4px 20px;
    color: #2563eb;
    font-weight: 600;
}

.nm-link-signin:hover {
    background: #eff6ff;
}

.nm-link-cta {
    margin: 4px 20px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
}

.nm-link-cta:hover {
    opacity: 0.9;
    color: white;
}


/* === nav-menu-desktop.css === */

/*
 * Navigation Menu — desktop overrides
 * @media (min-width: 769px)
 */

@media (min-width: 769px) {
    .nm-panel {
        width: 340px;
    }
}


/* === nav-menu-mobile-portrait.css === */

/*
 * Navigation Menu — mobile portrait overrides
 * @media (max-width: 768px)
 */

@media (max-width: 768px) {
    .nm-panel {
        width: 100vw;
        max-width: 100vw;
    }

    .nm-link {
        font-size: 16px;
        padding: 12px 12px;
    }

    .nm-section-label {
        font-size: 12px;
    }
}


/* === nav-menu-mobile-landscape.css === */

/*
 * Navigation Menu — mobile landscape overrides
 * @media (max-width: 926px) and (orientation: landscape)
 */

@media (max-width: 926px) and (orientation: landscape) {
    .nm-panel {
        width: 340px;
    }

    .nm-section {
        padding: 10px 20px 4px;
    }

    .nm-link {
        padding: 8px 12px;
        font-size: 14px;
    }
}
