/* _content/SalesAppBlazor/Components/Layout/MainLayout.razor.rz.scp.css */
.layout-rtl[b-aeesiwf0vo] {
    display: flex;
    flex-direction: row-reverse; /* ������� ���� */
    height: 100vh;
}

/* Sidebar */
.sidebar[b-aeesiwf0vo] {
    width: 250px;
    background: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
    color: white;
    padding: 1rem;
    transition: transform 0.3s ease;
}

/* ������� */
main[b-aeesiwf0vo] {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* top-row */
.top-row[b-aeesiwf0vo] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

/* Responsive */
@media (max-width: 768px) {
    .layout-rtl[b-aeesiwf0vo] {
        flex-direction: column; /* stacked layout ��� �������� */
    }

    .sidebar[b-aeesiwf0vo] {
        width: 100%;
        height: auto;
        order: -1; /* sidebar ��� ������� */
    }

    main[b-aeesiwf0vo] {
        order: 0; /* ������� ��� sidebar */
    }
}
/* _content/SalesAppBlazor/Components/Layout/NavMenu.razor.rz.scp.css */
.sidebar[b-w39oa9a2zs] {
    width: 260px;
    background: #0f172a;
    color: #94a3b8;
    height: 100vh;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1100;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
}

.sidebar.collapsed[b-w39oa9a2zs] {
    width: 70px;
}

.sidebar-header[b-w39oa9a2zs] {
    height: 70px;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    white-space: nowrap;
}

.brand-icon[b-w39oa9a2zs] {
    font-size: 1.5rem;
    margin-left: 10px;
    animation: pulse-b-w39oa9a2zs 2s infinite;
}

.brand-text[b-w39oa9a2zs] {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    transition: opacity 0.3s;
}

.sidebar.collapsed .brand-text[b-w39oa9a2zs] {
    opacity: 0;
    display: none;
}

.sidebar-menu-container[b-w39oa9a2zs] {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1rem 0;
}

.sidebar-menu-container[b-w39oa9a2zs]::-webkit-scrollbar {
    width: 6px;
}

.sidebar-menu-container[b-w39oa9a2zs]::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-menu-container[b-w39oa9a2zs]::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.menu-section[b-w39oa9a2zs] {
    padding: 1.5rem 1.5rem 0.5rem 1.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
    white-space: nowrap;
}

.sidebar.collapsed .menu-section[b-w39oa9a2zs] {
    opacity: 0;
    height: 0;
    padding: 0;
    overflow: hidden;
}

.nav-item[b-w39oa9a2zs] {
    padding: 0.25rem 1rem;
}

.nav-link[b-w39oa9a2zs] {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
}

.nav-link i[b-w39oa9a2zs] {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
    margin-left: 12px;
    transition: all 0.2s ease;
}

.nav-link .text[b-w39oa9a2zs] {
    font-size: 0.95rem;
    font-weight: 500;
    transition: opacity 0.3s;
}

.sidebar.collapsed .nav-link .text[b-w39oa9a2zs] {
    opacity: 0;
    display: none;
}

.sidebar.collapsed .nav-link i[b-w39oa9a2zs] {
    margin-left: 0;
}

.sidebar.collapsed .nav-link[b-w39oa9a2zs] {
    justify-content: center;
    padding: 0.75rem 0;
}

.nav-link:hover[b-w39oa9a2zs] {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.nav-link.active[b-w39oa9a2zs] {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    color: #fff;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.nav-link.active i[b-w39oa9a2zs] {
    color: #8b5cf6;
}

.toggle-btn[b-w39oa9a2zs] {
    background: none;
    border: none;
    color: #94a3b8;
    margin-right: auto;
}

@keyframes pulse-b-w39oa9a2zs {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); text-shadow: 0 0 10px rgba(99, 102, 241, 0.5); }
    100% { transform: scale(1); }
}

@media (max-width: 768px) {
    .sidebar[b-w39oa9a2zs] {
        transform: translateX(100%) !important; /* Hide off-screen on mobile by default */
        width: 280px !important;
    }
    
    .sidebar.mobile-open[b-w39oa9a2zs] {
        transform: translateX(0) !important; /* Slide in on mobile when opened */
    }

    .sidebar .brand-text[b-w39oa9a2zs],
    .sidebar .nav-link .text[b-w39oa9a2zs],
    .sidebar .menu-section[b-w39oa9a2zs] {
        opacity: 1 !important;
        display: block !important;
    }
}
