/* nav-menu.css — LabCare Elite Ultra-Premium Sidebar Styling */

/* =============================================
   1. ROOT SIDEBAR & BASE ELEVATION
   ============================================= */
.sidebar-wrapper {
    width: 270px !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: 100% !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
    color: #1e293b;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    box-shadow: 4px 0 24px -4px rgba(15, 23, 42, 0.05) !important;
    border-right: 1px solid #e2e8f0 !important;
    z-index: 100;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative !important;
    top: 0 !important;
    bottom: 0 !important;
    align-self: stretch !important;
    flex-shrink: 0 !important;
    overflow: visible !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* =============================================
   2. BRANDING ROW
   ============================================= */
.sidebar-branding {
    padding: 16px 16px 14px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    position: relative !important;
}

.logo-box {
    width: 42px !important;
    height: 42px !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 6px 16px -3px rgba(79, 70, 229, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    flex-shrink: 0 !important;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo-box:hover {
    transform: scale(1.05) rotate(-2deg);
}

.logo-box.cursor-pointer {
    cursor: pointer !important;
}

.logo-box .material-symbols-outlined {
    color: #ffffff !important;
    font-size: 23px !important;
}

.main-title {
    font-size: 18px !important;
    font-weight: 800 !important;
    letter-spacing: -0.4px !important;
    color: #0f172a !important;
    font-family: 'Outfit', 'Inter', sans-serif !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
}

.main-title .highlight {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    font-weight: 900 !important;
}

/* Floating Edge Toggle Button (Open / Close) */
.sidebar-toggle-btn {
    position: absolute !important;
    top: 24px !important;
    right: -13px !important;
    width: 26px !important;
    height: 26px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #475569 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12) !important;
    z-index: 1000 !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    padding: 0 !important;
}

.sidebar-toggle-btn:hover {
    background: #4f46e5 !important;
    color: #ffffff !important;
    border-color: #4f46e5 !important;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.4) !important;
    transform: scale(1.14) !important;
}

.sidebar-toggle-btn .material-symbols-outlined {
    font-size: 16px !important;
    color: inherit !important;
}

.logo-box {
    width: 42px !important;
    height: 42px !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 6px 16px -3px rgba(79, 70, 229, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    flex-shrink: 0 !important;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo-box:hover {
    transform: scale(1.05) rotate(-2deg);
}

.logo-box .material-symbols-outlined {
    color: #ffffff !important;
    font-size: 23px !important;
}

.main-title {
    font-size: 18px !important;
    font-weight: 800 !important;
    letter-spacing: -0.4px !important;
    color: #0f172a !important;
    font-family: 'Outfit', 'Inter', sans-serif !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
}

.main-title .highlight {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    font-weight: 900 !important;
}

/* =============================================
   3. SEARCH BOX
   ============================================= */
.sidebar-search-container {
    padding: 12px 14px 6px !important;
}

.sidebar-search-wrapper {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    background: #f1f5f9 !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 0 10px 0 34px !important;
    height: 38px !important;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03) !important;
}

.sidebar-search-wrapper:focus-within {
    background: #ffffff !important;
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.14), 0 2px 4px rgba(15, 23, 42, 0.04) !important;
}

.sidebar-search-wrapper .search-icon {
    position: absolute !important;
    left: 10px !important;
    color: #94a3b8 !important;
    font-size: 18px !important;
    pointer-events: none !important;
    transition: color 0.2s ease !important;
}

.sidebar-search-wrapper:focus-within .search-icon {
    color: #4f46e5 !important;
}

.sidebar-search-input {
    width: 100% !important;
    border: none !important;
    outline: none !important;
    font-size: 13px !important;
    font-weight: 550 !important;
    color: #0f172a !important;
    background: transparent !important;
    font-family: inherit !important;
}

.sidebar-search-input::placeholder {
    color: #94a3b8 !important;
    font-weight: 450 !important;
}

.clear-search-btn {
    background: #e2e8f0 !important;
    border: none !important;
    border-radius: 50% !important;
    width: 20px !important;
    height: 20px !important;
    padding: 0 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #64748b !important;
    transition: all 0.15s ease !important;
}

.clear-search-btn:hover {
    background: #fee2e2 !important;
    color: #ef4444 !important;
}

.clear-search-btn .material-symbols-outlined {
    font-size: 13px !important;
}

/* =============================================
   4. MENU GROUPS & MICRO-TYPOGRAPHY
   ============================================= */
.menu-group {
    margin-bottom: 8px !important;
}

.group-label {
    font-size: 10.5px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    color: #94a3b8 !important;
    padding: 14px 16px 6px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-family: 'Outfit', 'Inter', sans-serif !important;
}

.group-label::after {
    content: "" !important;
    flex: 1 !important;
    height: 1px !important;
    background: linear-gradient(90deg, #e2e8f0 0%, transparent 100%) !important;
}

/* =============================================
   5. NAVIGATION LINKS & MINIMALIST ACTIVE STYLE
   ============================================= */
.v-nav {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    padding: 0 8px !important;
}

.v-nav-link,
.nav-submenu-btn {
    display: flex !important;
    align-items: center !important;
    padding: 7px 10px !important;
    margin: 1px 0 !important;
    border-radius: 11px !important;
    color: #475569 !important;
    text-decoration: none !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    letter-spacing: 0.01em !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    cursor: pointer !important;
}

.v-nav-link:focus,
.v-nav-link:focus-visible,
.nav-submenu-btn:focus,
.nav-submenu-btn:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.v-nav-link .nav-link-text,
.nav-submenu-btn .nav-link-text {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #475569 !important;
    letter-spacing: 0.01em !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    transition: color 0.18s ease !important;
}

.v-nav-link:hover,
.nav-submenu-btn:hover {
    background: rgba(241, 245, 249, 0.85) !important;
    color: #0f172a !important;
    transform: translateX(2px) !important;
}

.v-nav-link:hover .nav-link-text,
.nav-submenu-btn:hover .nav-link-text {
    color: #0f172a !important;
}

/* Active State — Clean Minimalist Indicator (No Heavy Background Box) */
.v-nav-link.active {
    background: transparent !important;
    color: #0f172a !important;
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
    padding-left: 10px !important;
    transform: none !important;
}

.v-nav-link.active .nav-link-text {
    color: #0f172a !important;
    font-weight: 750 !important;
}

.v-nav-link.active .nav-icon-badge {
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.4), 0 3px 8px rgba(79, 70, 229, 0.18) !important;
    transform: scale(1.05) !important;
}

/* Elegant Glowing Active Dot on the right */
.v-nav-link.active::after {
    content: "" !important;
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background: #4f46e5 !important;
    margin-left: auto !important;
    box-shadow: 0 0 8px rgba(79, 70, 229, 0.7) !important;
    flex-shrink: 0 !important;
}

.nav-collapsed .v-nav-link.active::after {
    display: none !important;
}

/* =============================================
   6. MAIN ICON BADGES (DUO-TONE GRADIENT SQUIRCLES)
   ============================================= */
.nav-icon-badge {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    border-radius: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 10px !important;
    flex-shrink: 0 !important;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    box-shadow: 0 1.5px 3px rgba(0, 0, 0, 0.04) !important;
}

.nav-icon-badge .material-symbols-outlined {
    font-size: 19px !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.v-nav-link:hover .nav-icon-badge,
.nav-submenu-btn:hover .nav-icon-badge {
    transform: scale(1.1) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.09) !important;
}

/* Rich Theme-Tuned Duo-Tone Badges */
.badge-blue {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%) !important;
    color: #2563eb !important;
    border: 1px solid rgba(59, 130, 246, 0.25) !important;
}

.badge-emerald {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%) !important;
    color: #059669 !important;
    border: 1px solid rgba(16, 185, 129, 0.25) !important;
}

.badge-indigo {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%) !important;
    color: #4f46e5 !important;
    border: 1px solid rgba(99, 102, 241, 0.25) !important;
}

.badge-amber {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%) !important;
    color: #d97706 !important;
    border: 1px solid rgba(245, 158, 11, 0.25) !important;
}

.badge-purple {
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%) !important;
    color: #7c3aed !important;
    border: 1px solid rgba(139, 92, 246, 0.25) !important;
}

.badge-teal {
    background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%) !important;
    color: #0d9488 !important;
    border: 1px solid rgba(20, 184, 166, 0.25) !important;
}

.badge-rose {
    background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%) !important;
    color: #e11d48 !important;
    border: 1px solid rgba(244, 63, 94, 0.25) !important;
}

.badge-red {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%) !important;
    color: #dc2626 !important;
    border: 1px solid rgba(239, 68, 68, 0.25) !important;
}

.badge-sky {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%) !important;
    color: #0284c7 !important;
    border: 1px solid rgba(14, 165, 233, 0.25) !important;
}

.badge-orange {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%) !important;
    color: #ea580c !important;
    border: 1px solid rgba(249, 115, 22, 0.25) !important;
}

.badge-fuchsia {
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%) !important;
    color: #9333ea !important;
    border: 1px solid rgba(168, 85, 247, 0.25) !important;
}

.badge-pink {
    background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%) !important;
    color: #db2777 !important;
    border: 1px solid rgba(236, 72, 153, 0.25) !important;
}

.badge-green {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%) !important;
    color: #16a34a !important;
    border: 1px solid rgba(34, 197, 94, 0.25) !important;
}

.badge-slate {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
    color: #475569 !important;
    border: 1px solid rgba(100, 116, 139, 0.25) !important;
}

.badge-cyan {
    background: linear-gradient(135deg, #ecfeff 0%, #cffafe 100%) !important;
    color: #0891b2 !important;
    border: 1px solid rgba(6, 182, 212, 0.25) !important;
}

.badge-install {
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%) !important;
    color: #0284c7 !important;
    border: 1px solid rgba(2, 132, 199, 0.3) !important;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.15) !important;
}

.v-nav-link:hover .badge-install,
.nav-install-link:hover .badge-install {
    background: linear-gradient(135deg, #0284c7 0%, #4f46e5 100%) !important;
    color: #ffffff !important;
    border-color: #0284c7 !important;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35) !important;
}

.nav-install-link {
    width: 100% !important;
    border: none !important;
    background: transparent !important;
    text-align: left !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    padding: 9px 12px !important;
    border-radius: 12px !important;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
    color: #1e293b !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    position: relative !important;
}

.nav-install-link:hover {
    background: linear-gradient(90deg, rgba(2, 132, 199, 0.08) 0%, rgba(79, 70, 229, 0.08) 100%) !important;
    color: #0284c7 !important;
    transform: translateX(3px) !important;
}

.nav-install-chip {
    margin-left: auto !important;
    font-size: 10px !important;
    font-weight: 750 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    padding: 2px 7px !important;
    border-radius: 6px !important;
    background: linear-gradient(135deg, #0284c7 0%, #4f46e5 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25) !important;
}

.nav-collapsed .nav-install-chip {
    display: none !important;
}

.nav-collapsed .nav-install-link {
    padding: 0 !important;
    justify-content: center !important;
}

.nav-collapsed .nav-install-link:hover {
    transform: scale(1.05) !important;
}

/* =============================================
   7. SUBMENU TREE HIERARCHY & VIVID ICONS
   ============================================= */
.nav-submenu-items {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    margin-top: 3px !important;
    margin-bottom: 4px !important;
    padding-left: 10px !important;
    border-left: 2px solid #e2e8f0 !important;
    margin-left: 25px !important;
    overflow: hidden !important;
    max-height: 0 !important;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.nav-submenu-items.is-expanded {
    max-height: 1200px !important;
}

.v-nav-link.submenu-item {
    font-size: 13px !important;
    font-weight: 550 !important;
    padding: 6px 10px 6px 8px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #64748b !important;
    transition: all 0.18s ease !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

.v-nav-link.submenu-item:focus,
.v-nav-link.submenu-item:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.v-nav-link.submenu-item .nav-link-text {
    font-size: 13px !important;
    font-weight: 550 !important;
    color: #64748b !important;
}

.v-nav-link.submenu-item:hover {
    background: rgba(241, 245, 249, 0.8) !important;
    transform: translateX(3px) !important;
}

.v-nav-link.submenu-item:hover .nav-link-text {
    color: #0f172a !important;
}

.v-nav-link.submenu-item.active {
    background: transparent !important;
    color: #0f172a !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.v-nav-link.submenu-item.active .nav-link-text {
    color: #0f172a !important;
    font-weight: 750 !important;
}

.v-nav-link.submenu-item.active .sub-icon {
    transform: scale(1.18) !important;
    box-shadow: 0 0 0 1.5px rgba(99, 102, 241, 0.35) !important;
}

.v-nav-link.submenu-item.active::after {
    content: "" !important;
    width: 5px !important;
    height: 5px !important;
    border-radius: 50% !important;
    background: #6366f1 !important;
    margin-left: auto !important;
    box-shadow: 0 0 6px rgba(99, 102, 241, 0.6) !important;
    flex-shrink: 0 !important;
}

/* Submenu Icon Pill Base */
.sub-icon {
    font-size: 16px !important;
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    border-radius: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.v-nav-link.submenu-item:hover .sub-icon {
    transform: scale(1.16) !important;
}

/* Submenu Icon Duotone Badges */
.sub-icon-blue {
    color: #2563eb !important;
    background: rgba(37, 99, 235, 0.1) !important;
}

.sub-icon-purple {
    color: #7c3aed !important;
    background: rgba(124, 58, 237, 0.1) !important;
}

.sub-icon-pink {
    color: #db2777 !important;
    background: rgba(219, 39, 119, 0.1) !important;
}

.sub-icon-red {
    color: #dc2626 !important;
    background: rgba(220, 38, 38, 0.1) !important;
}

.sub-icon-amber {
    color: #d97706 !important;
    background: rgba(217, 119, 6, 0.1) !important;
}

.sub-icon-emerald {
    color: #059669 !important;
    background: rgba(5, 150, 105, 0.1) !important;
}

.sub-icon-cyan {
    color: #0891b2 !important;
    background: rgba(8, 145, 178, 0.1) !important;
}

.sub-icon-indigo {
    color: #4f46e5 !important;
    background: rgba(79, 70, 229, 0.1) !important;
}

.sub-icon-slate {
    color: #64748b !important;
    background: rgba(100, 116, 139, 0.1) !important;
}

.sub-icon-teal {
    color: #0d9488 !important;
    background: rgba(13, 148, 136, 0.1) !important;
}

.sub-icon-orange {
    color: #ea580c !important;
    background: rgba(234, 88, 12, 0.1) !important;
}

.sub-icon-fuchsia {
    color: #9333ea !important;
    background: rgba(147, 51, 234, 0.1) !important;
}

.sub-icon-sky {
    color: #0284c7 !important;
    background: rgba(2, 132, 199, 0.1) !important;
}

.sub-icon-green {
    color: #16a34a !important;
    background: rgba(22, 163, 74, 0.1) !important;
}

.sub-icon-rose {
    color: #e11d48 !important;
    background: rgba(225, 29, 72, 0.1) !important;
}

.sub-icon-violet {
    color: #8b5cf6 !important;
    background: rgba(139, 92, 246, 0.1) !important;
}

/* Submenu Arrow Icon */
.nav-submenu-icon {
    font-size: 17px !important;
    color: #94a3b8 !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease !important;
}

.nav-submenu-btn:hover .nav-submenu-icon {
    color: #4f46e5 !important;
}

.nav-submenu-icon.is-expanded {
    transform: rotate(90deg) !important;
    color: #4f46e5 !important;
}

/* =============================================
   8. FOOTER & LUXURY USER PROFILE CARD
   ============================================= */
.sidebar-footer {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 50 !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, #f8fafc 100%) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-top: 1px solid #e2e8f0 !important;
    padding: 12px 14px !important;
    box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.04) !important;
}

.user-profile-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.profile-card-inner {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04) !important;
    border-radius: 14px !important;
    padding: 10px 12px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.profile-card-inner:hover {
    border-color: rgba(99, 102, 241, 0.35) !important;
    box-shadow: 0 8px 22px rgba(99, 102, 241, 0.1) !important;
    transform: translateY(-2px) !important;
}

.profile-user-info {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
}

.profile-avatar {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    border-radius: 11px !important;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 15px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3) !important;
    font-family: 'Outfit', 'Inter', sans-serif !important;
}

.profile-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    min-width: 0 !important;
    flex: 1 !important;
}

.profile-name {
    font-size: 13px !important;
    font-weight: 750 !important;
    color: #0f172a !important;
    margin: 0 !important;
    line-height: 1.3 !important;
    font-family: 'Outfit', 'Inter', sans-serif !important;
}

.profile-role-pill {
    background: #e0e7ff !important;
    color: #4338ca !important;
    font-size: 9.5px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    padding: 2px 7px !important;
    border-radius: 20px !important;
    width: fit-content !important;
    display: inline-block !important;
    margin-top: 1px !important;
}

.profile-divider {
    height: 1px !important;
    background: #f1f5f9 !important;
    margin: 2px 0 !important;
    width: 100% !important;
}

.profile-logout-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    width: 100% !important;
    padding: 7px 12px !important;
    border-radius: 9px !important;
    border: 1px solid rgba(225, 29, 72, 0.15) !important;
    background: #fff1f2 !important;
    color: #e11d48 !important;
    cursor: pointer !important;
    font-size: 12.5px !important;
    font-weight: 650 !important;
    transition: all 0.2s ease !important;
}

.profile-logout-btn:hover {
    background: #ffe4e6 !important;
    color: #be123c !important;
    border-color: rgba(225, 29, 72, 0.3) !important;
    box-shadow: 0 3px 10px rgba(225, 29, 72, 0.15) !important;
    transform: translateY(-1px) !important;
}

.profile-logout-btn .logout-icon {
    font-size: 16px !important;
    color: inherit !important;
}

@keyframes spin-logout {
    100% {
        transform: rotate(360deg);
    }
}

.profile-version-badge {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding-top: 5px !important;
    cursor: default !important;
}

.profile-version-badge .version-text {
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #94a3b8 !important;
    letter-spacing: 0.04em !important;
    font-family: 'JetBrains Mono', 'Roboto Mono', Menlo, Consolas, monospace !important;
    transition: all 0.2s ease !important;
    padding: 2px 9px !important;
    border-radius: 6px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    line-height: 1.3 !important;
    user-select: none !important;
}

.profile-version-badge:hover .version-text {
    color: #4f46e5 !important;
    background: #eef2ff !important;
    border-color: rgba(99, 102, 241, 0.3) !important;
}

/* =============================================
   9. COLLAPSED NAV COMPACT STYLES (PIXEL-PERFECT)
   ============================================= */
.sidebar-wrapper.nav-collapsed {
    width: 68px !important;
}

.nav-collapsed .sidebar-header-toggle-btn {
    display: none !important;
}

.nav-collapsed .sidebar-branding {
    padding: 14px 0 !important;
    justify-content: center !important;
    align-items: center !important;
}

.nav-collapsed .logo-box {
    width: 38px !important;
    height: 38px !important;
    margin: 0 auto !important;
    border-radius: 11px !important;
}

.nav-collapsed .sidebar-toggle-btn {
    right: -13px !important;
    top: 20px !important;
}

.nav-collapsed .sidebar-collapsed-search {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    color: #64748b !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 8px auto 4px auto !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.nav-collapsed .sidebar-collapsed-search:hover {
    background: #eef2ff !important;
    color: #4f46e5 !important;
    border-color: #a5b4fc !important;
    transform: scale(1.06) !important;
}

.nav-collapsed .group-label {
    display: none !important;
}

.nav-collapsed .v-nav {
    padding: 0 !important;
    align-items: center !important;
    width: 100% !important;
    gap: 4px !important;
}

.nav-collapsed .v-nav-link,
.nav-collapsed .nav-submenu-btn {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    margin: 2px auto !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border: none !important;
}

.nav-collapsed .v-nav-link:hover,
.nav-collapsed .nav-submenu-btn:hover {
    background: rgba(241, 245, 249, 0.95) !important;
    transform: scale(1.05) !important;
}

.nav-collapsed .nav-icon-badge {
    margin: 0 !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
}

.nav-collapsed .nav-icon-badge .material-symbols-outlined {
    font-size: 20px !important;
}

.nav-collapsed .v-nav-link.active {
    background: rgba(99, 102, 241, 0.08) !important;
}

.nav-collapsed .v-nav-link.active .nav-icon-badge {
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.5), 0 3px 8px rgba(79, 70, 229, 0.2) !important;
}

.nav-collapsed .v-nav-link.active::after {
    display: none !important;
}

.nav-collapsed .nav-submenu-icon {
    display: none !important;
}

.nav-collapsed .nav-submenu-items {
    display: none !important;
}

.nav-collapsed .menu-scroll {
    padding: 4px 0 130px 0 !important;
    scrollbar-width: none !important;
}

.nav-collapsed .menu-scroll::-webkit-scrollbar {
    display: none !important;
}

.nav-collapsed .sidebar-footer {
    padding: 8px 6px !important;
    background: #ffffff !important;
    border-top: 1px solid #e2e8f0 !important;
}

.nav-collapsed .user-profile-card {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
}

.nav-collapsed .profile-card-inner {
    width: 48px !important;
    max-width: 48px !important;
    padding: 6px 4px !important;
    border-radius: 12px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 6px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

.nav-collapsed .profile-user-info {
    justify-content: center !important;
    padding: 0 !important;
    width: 100% !important;
}

.nav-collapsed .profile-avatar {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    border-radius: 9px !important;
    font-size: 13px !important;
    margin: 0 auto !important;
}

.nav-collapsed .profile-info {
    display: none !important;
}

.nav-collapsed .profile-divider {
    width: 22px !important;
    height: 1px !important;
    background: #e2e8f0 !important;
    margin: 0 auto !important;
}

.nav-collapsed .profile-logout-btn {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    border-radius: 8px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #fff1f2 !important;
    color: #e11d48 !important;
    border: 1px solid rgba(225, 29, 72, 0.15) !important;
}

.nav-collapsed .profile-logout-btn .logout-icon {
    margin: 0 !important;
    font-size: 16px !important;
}

.nav-collapsed .logout-text {
    display: none !important;
}

.nav-collapsed .profile-version-badge {
    padding-top: 2px !important;
}

.nav-collapsed .profile-version-badge .version-text {
    font-size: 8.5px !important;
    padding: 1.5px 3px !important;
    letter-spacing: 0 !important;
    border-radius: 4px !important;
    max-width: 44px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
}

/* =============================================
   10. BRANCH SELECTION POPUP
   ============================================= */
.branch-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    animation: bm-fadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    padding: 16px;
}

.bm-dot {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: bm-float linear infinite;
}

.bm-dot-1 {
    width: 10px;
    height: 10px;
    background: rgba(59, 130, 246, 0.45);
    top: 18%;
    left: 12%;
    animation-duration: 9s;
}

.bm-dot-2 {
    width: 7px;
    height: 7px;
    background: rgba(37, 99, 235, 0.4);
    top: 65%;
    left: 8%;
    animation-duration: 12s;
    animation-delay: -3s;
}

.bm-dot-3 {
    width: 12px;
    height: 12px;
    background: rgba(14, 165, 233, 0.35);
    top: 30%;
    right: 10%;
    animation-duration: 14s;
    animation-delay: -6s;
}

.bm-dot-4 {
    width: 6px;
    height: 6px;
    background: rgba(99, 102, 241, 0.45);
    top: 75%;
    right: 14%;
    animation-duration: 10s;
    animation-delay: -2s;
}

.bm-dot-5 {
    width: 9px;
    height: 9px;
    background: rgba(59, 130, 246, 0.35);
    top: 50%;
    left: 20%;
    animation-duration: 16s;
    animation-delay: -8s;
}

.bm-dot-6 {
    width: 5px;
    height: 5px;
    background: rgba(37, 99, 235, 0.4);
    top: 12%;
    right: 25%;
    animation-duration: 11s;
    animation-delay: -4s;
}

@keyframes bm-float {
    0% {
        transform: translateY(0px);
        opacity: 0.5;
    }

    50% {
        transform: translateY(-16px);
        opacity: 0.9;
    }

    100% {
        transform: translateY(0px);
        opacity: 0.5;
    }
}

.branch-modal-card {
    background: #ffffff;
    border-radius: 22px;
    width: 100%;
    max-width: 430px;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    animation: bm-slideUp 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: visible;
    box-shadow: 0 25px 60px -12px rgba(15, 23, 42, 0.28), 0 0 0 1px rgba(226, 232, 240, 0.85);
}

.bm-close-top-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.bm-close-top-btn span {
    font-size: 18px;
}

.bm-close-top-btn:hover {
    background: #fee2e2;
    color: #ef4444;
    border-color: #fecaca;
    transform: rotate(90deg);
}

.bm-header-badge-container {
    display: flex;
    justify-content: center;
    margin-top: -28px;
    position: relative;
    z-index: 5;
}

.bm-header-badge {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px -4px rgba(37, 99, 235, 0.45), 0 0 0 5px #ffffff;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.bm-header-badge span {
    font-size: 28px;
}

.bm-header-badge:hover {
    transform: scale(1.05) rotate(-3deg);
}

.branch-modal-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 28px 12px;
    gap: 6px;
}

.branch-modal-header h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.3px;
    font-family: 'Outfit', 'Inter', sans-serif;
}

.branch-modal-header p {
    font-size: 0.82rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
    font-family: 'Outfit', 'Inter', sans-serif;
    max-width: 320px;
}

.branch-modal-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 6px 24px 20px;
}

.bm-branch-row {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 13px 16px;
    transition: all 0.2s ease;
}

.bm-branch-row:hover {
    border-color: #cbd5e1;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.bm-branch-row-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #dbeafe;
    flex-shrink: 0;
}

.bm-branch-row-icon span {
    font-size: 20px;
}

.bm-branch-row-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    min-width: 0;
}

.bm-branch-row-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    font-family: 'Outfit', 'Inter', sans-serif;
}

.bm-branch-row-val-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.bm-branch-row-value {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
    font-family: 'Outfit', 'Inter', sans-serif;
    letter-spacing: 0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bm-branch-active-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #ecfdf5;
    color: #059669;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 9999px;
    border: 1px solid rgba(16, 185, 129, 0.25);
    flex-shrink: 0;
}

.bm-pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    animation: bm-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes bm-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(0.85);
    }
}

.bm-field-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.bm-field-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #475569;
    font-family: 'Outfit', 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 5px;
}

.bm-field-label span {
    font-size: 17px;
    color: #2563eb;
}

.bm-select {
    width: 100%;
    padding: 12px 42px 12px 15px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f172a;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    outline: none;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%232563eb' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.2' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");
    background-position: right 14px center;
    background-repeat: no-repeat;
    background-size: 1.15rem;
    font-family: 'Outfit', 'Inter', sans-serif;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.bm-select:hover {
    border-color: #93c5fd;
    background-color: #ffffff;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.08);
}

.bm-select:focus {
    border-color: #2563eb;
    background-color: #ffffff;
    box-shadow: 0 0 0 3.5px rgba(37, 99, 235, 0.15);
}

.bm-warn-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #fffbeb;
    border: 1.5px solid #fef3c7;
    border-radius: 12px;
    color: #b45309;
    font-size: 0.84rem;
    font-weight: 600;
    font-family: 'Outfit', 'Inter', sans-serif;
}

.bm-warn-row span.material-symbols-outlined {
    color: #f59e0b;
    font-size: 20px;
}

.branch-modal-footer {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 24px 22px;
}

.bm-btn-confirm {
    width: 100%;
    padding: 13px 20px;
    font-size: 0.92rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #ffffff;
    border: 1px solid #0f172a;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Outfit', 'Inter', sans-serif;
    letter-spacing: 0.01em;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.28);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.bm-btn-confirm span {
    font-size: 20px;
}

.bm-btn-confirm:hover:not(:disabled) {
    background: #000000;
    border-color: #000000;
    transform: translateY(-1.5px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.4);
}

.bm-btn-confirm:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
}

.bm-btn-confirm:disabled {
    background: #f1f5f9;
    color: #94a3b8;
    border: 1px solid #e2e8f0;
    box-shadow: none;
    cursor: not-allowed;
}

.bm-btn-cancel {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 9px 16px;
    border-radius: 10px;
    font-size: 0.84rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    font-family: 'Outfit', 'Inter', sans-serif;
    text-align: center;
    transition: all 0.18s ease;
    width: 100%;
}

.bm-btn-cancel:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}

@keyframes bm-fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes bm-slideUp {
    from {
        transform: translateY(20px) scale(0.97);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* =============================================
   11. VISIBLE VERTICAL SCROLLBAR (OVERFLOW-Y)
   ============================================= */
.menu-scroll {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    scrollbar-width: thin !important;
    scrollbar-color: #cbd5e1 transparent !important;
}

.menu-scroll::-webkit-scrollbar {
    width: 6px !important;
    display: block !important;
}

.menu-scroll::-webkit-scrollbar-track {
    background: transparent !important;
}

.menu-scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1 !important;
    border-radius: 10px !important;
    transition: background 0.2s ease !important;
}

.menu-scroll::-webkit-scrollbar-thumb:hover {
    background: #94a3b8 !important;
}

.menu-scroll:hover::-webkit-scrollbar-thumb {
    background: #a5b4fc !important;
}