/* ============================================================================
   LIQUID GLASS SIDEBAR - Clean White, iOS Minimalist
   ============================================================================ */

.sidebar-ios {
    position: fixed;
    top: 60px;
    left: 0;
    bottom: 0;
    width: 300px;
    z-index: 996;
    padding: 16px 12px;
    overflow-y: auto;
    background: #ffffff;
    border-right: 1px solid #f0f0f0;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scrollbar */
.sidebar-ios::-webkit-scrollbar {
    width: 5px;
}

.sidebar-ios::-webkit-scrollbar-thumb {
    background: #e0e0e0;
    border-radius: 10px;
}

.sidebar-ios::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-nav-ios {
    padding: 0;
    margin: 0;
    list-style: none;
}

/* ============================================================================
   SECTION HEADINGS
   ============================================================================ */

.nav-heading-ios {
    font-size: 10px;
    font-weight: 600;
    color: #8e8e93;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 18px 12px 6px 12px;
    margin: 0;
}

.nav-heading-ios:first-child {
    padding-top: 4px;
}

/* ============================================================================
   NAVIGATION ITEMS
   ============================================================================ */

.nav-item-ios {
    margin-bottom: 1px;
    list-style: none;
}

/* ============================================================================
   NAVIGATION LINKS - Clean, Minimal
   ============================================================================ */

.nav-link-ios,
.nav-link-ios.collapsed {
    display: flex !important;
    align-items: center !important;
    padding: 8px 14px !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #1e3a8a !important;
    text-decoration: none !important;
    background: transparent !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    border: none !important;
}

/* Hover - Very light lift */
.nav-link-ios:hover,
.nav-link-ios.collapsed:hover {
    background: #f4f5fa !important;
    color: #1e3a8a !important;
}

/* ============================================================================
   ACTIVE STATE - Light Rounded Highlight
   ============================================================================ */

.nav-item-ios.active .nav-link-ios {
    background: rgba(116, 185, 255, 0.08) !important;
    border: 1px solid rgba(116, 185, 255, 0.1) !important;
    color: #1e3a8a !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
}

.nav-item-ios.active .nav-link-ios:hover {
    background: rgba(116, 185, 255, 0.12) !important;
    border: 1px solid rgba(116, 185, 255, 0.15) !important;
}

/* ============================================================================
   ICONS
   ============================================================================ */

.nav-icon-wrapper {
    width: 24px !important;
    height: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 10px !important;
    flex-shrink: 0 !important;
    background: transparent !important;
    transition: transform 0.2s ease !important;
}

.nav-icon-wrapper i {
    font-size: 15px !important;
    color: #1e3a8a !important;
}

/* ============================================================================
   NAVIGATION TEXT
   ============================================================================ */

.nav-text {
    flex: 1 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* ============================================================================
   EXTERNAL LINK INDICATOR
   ============================================================================ */

.nav-external-indicator {
    margin-left: 8px !important;
    opacity: 0.4 !important;
    font-size: 10px !important;
    transition: opacity 0.2s ease !important;
    color: #1e3a8a !important;
}

.nav-link-ios:hover .nav-external-indicator {
    opacity: 0.6 !important;
}

/* ============================================================================
   USER INFO SECTION
   ============================================================================ */

.nav-item-user .nav-link-user {
    background: transparent !important;
    border: none !important;
    cursor: default !important;
    padding: 10px 14px !important;
    color: #1e3a8a !important;
    font-weight: 600 !important;
}

.nav-item-user .nav-link-user:hover {
    background: transparent !important;
    transform: none !important;
}

.nav-item-user .nav-icon-wrapper {
    background: transparent !important;
}

.nav-item-user .nav-icon-wrapper:hover {
    transform: none !important;
}

.nav-item-user .nav-text {
    font-weight: 600 !important;
    color: #1e3a8a !important;
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */

@media (max-width: 1199px) {
    .sidebar-ios {
        left: -300px;
    }

    body.toggle-sidebar .sidebar-ios {
        left: 0;
    }
}

/* Hide sidebar completely on mobile - use bottom nav instead */
@media (max-width: 767px) {
    .sidebar-ios {
        display: none !important;
    }
}

/* ============================================================================
   ACCESSIBILITY - REDUCED MOTION
   ============================================================================ */

@media (prefers-reduced-motion: reduce) {
    .nav-link-ios,
    .nav-icon-wrapper,
    .nav-external-indicator {
        transition: none !important;
    }
}
