/* /Layout/MainLayout.razor.rz.scp.css */
/* ===== Sidebar ===== */
.app-sidebar[b-ff7j6zjbf8] {
    border-right: 1px solid rgba(255, 255, 255, 0.06) !important;
    background: #0F172A !important;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-inner[b-ff7j6zjbf8] {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.25rem;
}

/* Logo */
.sidebar-logo[b-ff7j6zjbf8] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    margin-bottom: 1.5rem;
}

.logo-img[b-ff7j6zjbf8] {
    height: 55px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

/* Default: Dark mode */
.logo-dark[b-ff7j6zjbf8] { display: block; }
.logo-light[b-ff7j6zjbf8] { display: none; }

/* Light mode */
.mud-theme-light .logo-dark[b-ff7j6zjbf8] { display: none; }
.mud-theme-light .logo-light[b-ff7j6zjbf8] { display: block; }

.logo-text[b-ff7j6zjbf8] {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.logo-brand[b-ff7j6zjbf8] {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
    color: #F8FAFC;
    letter-spacing: -0.02em;
}

.logo-subtitle[b-ff7j6zjbf8] {
    font-size: 0.65rem;
    font-weight: 500;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Navigation */
.sidebar-nav[b-ff7j6zjbf8] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow-y: auto;
}

.nav-section[b-ff7j6zjbf8] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.nav-section-label[b-ff7j6zjbf8] {
    font-size: 0.65rem;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0 0.75rem;
    margin-bottom: 0.375rem;
}

.nav-link[b-ff7j6zjbf8] {
    border-radius: 8px !important;
    padding: 0.625rem 0.75rem !important;
    margin: 0 !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    color: #94A3B8 !important;
    transition: all 0.15s ease !important;
}

.nav-link:hover[b-ff7j6zjbf8] {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #F8FAFC !important;
}

.nav-link.mud-nav-link-active[b-ff7j6zjbf8] {
    background: rgba(16, 185, 129, 0.1) !important;
    color: #10B981 !important;
}

.nav-link.mud-nav-link-active .mud-icon[b-ff7j6zjbf8] {
    color: #10B981 !important;
}

/* Sidebar Footer */
.sidebar-footer[b-ff7j6zjbf8] {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.btn-new-license[b-ff7j6zjbf8] {
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 0.8125rem !important;
    text-transform: none !important;
    letter-spacing: 0.01em !important;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2) !important;
    transition: all 0.2s ease !important;
}

.btn-new-license:hover[b-ff7j6zjbf8] {
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.35) !important;
    transform: translateY(-1px);
}

/* ===== Topbar ===== */
.app-topbar[b-ff7j6zjbf8] {
    background: rgba(11, 15, 25, 0.85) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    height: 64px !important;
    padding: 0 1.5rem !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
}

.topbar-left[b-ff7j6zjbf8] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.topbar-menu-btn[b-ff7j6zjbf8] {
    display: none;
    color: #94A3B8 !important;
}

.topbar-right[b-ff7j6zjbf8] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
}

.topbar-icon-btn[b-ff7j6zjbf8] {
    color: #94A3B8 !important;
    border-radius: 8px !important;
    transition: all 0.15s ease !important;
}

.topbar-icon-btn:hover[b-ff7j6zjbf8] {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #F8FAFC !important;
}

.topbar-avatar-menu[b-ff7j6zjbf8] {
    color: #94A3B8 !important;
}

.user-menu-info[b-ff7j6zjbf8] {
    padding: 0.25rem 0;
}

.user-menu-name[b-ff7j6zjbf8] {
    font-weight: 600;
    font-size: 0.875rem;
    color: #F8FAFC;
}

.user-menu-email[b-ff7j6zjbf8] {
    font-size: 0.75rem;
    color: #64748B;
}

.user-menu-logout[b-ff7j6zjbf8] {
    color: #EF4444 !important;
}

.user-menu-logout .mud-icon[b-ff7j6zjbf8] {
    margin-right: 0.5rem;
}

/* ===== Main Content ===== */
.app-main[b-ff7j6zjbf8] {
    background: #0B0F19;
    min-height: 100vh;
}

.app-content[b-ff7j6zjbf8] {
    padding-top: 64px;
    min-height: 100vh;
}

.app-content-inner[b-ff7j6zjbf8] {
    padding: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
    .topbar-menu-btn[b-ff7j6zjbf8] {
        display: flex !important;
    }
}

@media (max-width: 600px) {
    .app-content-inner[b-ff7j6zjbf8] {
        padding: 1rem;
    }

    .sidebar-logo[b-ff7j6zjbf8] {
        padding: 0.5rem 0.5rem;
    }

    .logo-subtitle[b-ff7j6zjbf8] {
        display: none;
    }
}

/* ===== MudBlazor Overrides ===== */
.mud-drawer[b-ff7j6zjbf8] {
    border-right: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.mud-nav-link[b-ff7j6zjbf8] {
    border-radius: 8px !important;
}

.mud-button-root[b-ff7j6zjbf8] {
    text-transform: none !important;
}

.mud-paper[b-ff7j6zjbf8] {
    background: rgba(255, 255, 255, 0.03) !important;
}

/* Fix popover z-index */
.mud-popover[b-ff7j6zjbf8] {
    z-index: 9999 !important;
}

.mud-popover-open[b-ff7j6zjbf8] {
    z-index: 9999 !important;
}
/* /Layout/NavMenu.razor.rz.scp.css */
.licentia-nav-menu[b-jx784x2x0r] {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.licentia-nav-menu-header[b-jx784x2x0r] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
}

.licentia-nav-logo[b-jx784x2x0r] {
    width: 40px;
    height: 40px;
    background-color: #006c49;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.licentia-nav-brand[b-jx784x2x0r] {
    font-size: 24px;
    font-weight: 700;
    color: #0b1c30;
    margin: 0;
}

.licentia-nav-subtitle[b-jx784x2x0r] {
    font-size: 12px;
    font-weight: 500;
    color: #45464d;
    margin: 0;
}

.licentia-nav-links[b-jx784x2x0r] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.licentia-nav-links .mud-nav-link[b-jx784x2x0r] {
    border-radius: 8px;
    padding: 12px 16px;
    transition: all 0.2s;
}

.licentia-nav-links .mud-nav-link:hover[b-jx784x2x0r] {
    background-color: #dce9ff;
}

.licentia-nav-links .mud-nav-link-active[b-jx784x2x0r] {
    color: #006c49;
    font-weight: 600;
    background-color: rgba(108, 248, 187, 0.2);
}

.licentia-nav-footer[b-jx784x2x0r] {
    margin-top: auto;
    padding-top: 24px;
}

.licentia-nav-footer .mud-button[b-jx784x2x0r] {
    border-radius: 12px;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 6px -1px rgba(0, 108, 73, 0.2);
}

/* Dark Mode */
.mud-theme-dark .licentia-nav-logo[b-jx784x2x0r] {
    background-color: #4edea3;
}

.mud-theme-dark .licentia-nav-brand[b-jx784x2x0r] {
    color: #dae2fd;
}

.mud-theme-dark .licentia-nav-subtitle[b-jx784x2x0r] {
    color: #bbcabf;
}

.mud-theme-dark .licentia-nav-links .mud-nav-link:hover[b-jx784x2x0r] {
    background-color: #222a3d;
}

/* Responsive */
@media (max-width: 640.98px) {
    .licentia-nav-menu-header[b-jx784x2x0r] {
        margin-bottom: 24px;
    }

    .licentia-nav-brand[b-jx784x2x0r] {
        font-size: 20px;
    }
}

@media (min-width: 641px) {
    .collapse[b-jx784x2x0r] {
        display: block;
    }
}
