/* _content/SafinAhmedERP.Web/Components/ContextualSearch.razor.rz.scp.css */
.contextual-search[b-agzncq60mx] {
    width: 100%;
}

.input-group[b-agzncq60mx] {
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-fast);
}

    .input-group:hover[b-agzncq60mx], .input-group:focus-within[b-agzncq60mx] {
        box-shadow: var(--shadow-md);
    }

.input-group-text[b-agzncq60mx] {
    background-color: var(--card-bg-color);
    border-color: var(--border-color);
}

.form-control[b-agzncq60mx] {
    border-color: var(--border-color);
}

.badge[b-agzncq60mx] {
    font-weight: 500;
    font-size: 0.7rem;
}

/* RTL Support */
[dir="rtl"] .input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback)[b-agzncq60mx] {
    margin-right: -1px;
    margin-left: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: var(--border-radius-sm);
    border-bottom-left-radius: var(--border-radius-sm);
}

[dir="rtl"] .input-group > :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating)[b-agzncq60mx] {
    margin-left: -1px;
    margin-right: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: var(--border-radius-sm);
    border-bottom-right-radius: var(--border-radius-sm);
}
/* _content/SafinAhmedERP.Web/Components/Layout/MainLayout.razor.rz.scp.css */
/* Enhanced MainLayout Visual Styles - Design Only */
.page[b-h1x4v4bwkb] {
    position: relative;
    display: flex;
    flex-direction: row;
    height: 100vh;
    overflow: hidden;
    font-family: 'Inter', 'Tajawal', 'IBM Plex Sans Arabic', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #f8fafc;
}

/* Enhanced Sidebar Design */
.sidebar[b-h1x4v4bwkb] {
    width: 280px;
    background: linear-gradient(180deg, #006747 0%, #004533 100%);
    color: white;
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 20px rgba(0, 103, 71, 0.15);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

    .sidebar.show[b-h1x4v4bwkb] {
        transform: translateX(0);
    }

/* Modern Main Content */
.main-content[b-h1x4v4bwkb] {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: calc(100% - 280px);
    overflow-x: hidden;
    margin-left: 280px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f8fafc;
}

/* Enhanced Navbar Header */
.navbar-header[b-h1x4v4bwkb] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    height: 70px;
    background: rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.navbar-brand[b-h1x4v4bwkb] {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    overflow: hidden;
    white-space: nowrap;
    transition: all 0.3s ease;
}

    .navbar-brand:hover[b-h1x4v4bwkb] {
        color: #a7c4bc;
        text-decoration: none;
        transform: scale(1.02);
    }

.navbar-logo[b-h1x4v4bwkb] {
    height: 36px;
    width: 36px;
    margin-right: 12px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

    .navbar-logo:hover[b-h1x4v4bwkb] {
        transform: scale(1.05);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    }

.brand-text[b-h1x4v4bwkb] {
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* Modern Header */
.header[b-h1x4v4bwkb] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 100;
}

.header-title[b-h1x4v4bwkb] {
    font-size: 1.5rem;
    font-weight: 700;
    color: #006747;
    margin: 0;
    line-height: 1.2;
}

.header-actions[b-h1x4v4bwkb] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-actions > *[b-h1x4v4bwkb] {
    display: flex;
    align-items: center;
}

/* Enhanced Buttons */
.btn[b-h1x4v4bwkb] {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-icon-only[b-h1x4v4bwkb] {
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 103, 71, 0.1);
    color: #006747;
    border: 1px solid rgba(0, 103, 71, 0.2);
}

    .btn-icon-only:hover[b-h1x4v4bwkb] {
        background: rgba(0, 103, 71, 0.2);
        border-color: rgba(0, 103, 71, 0.3);
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(0, 103, 71, 0.15);
    }

.btn-outline-primary[b-h1x4v4bwkb] {
    background: rgba(0, 103, 71, 0.08);
    border: 1px solid rgba(0, 103, 71, 0.2);
    color: #006747;
}

    .btn-outline-primary:hover[b-h1x4v4bwkb] {
        background: rgba(0, 103, 71, 0.15);
        border-color: rgba(0, 103, 71, 0.3);
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(0, 103, 71, 0.15);
    }

.btn-primary[b-h1x4v4bwkb] {
    background: linear-gradient(135deg, #006747 0%, #004533 100%);
    color: white;
    border: none;
}

    .btn-primary:hover[b-h1x4v4bwkb] {
        background: linear-gradient(135deg, #004533 0%, #002f26 100%);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 103, 71, 0.3);
    }

.btn-success[b-h1x4v4bwkb] {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
}

    .btn-success:hover[b-h1x4v4bwkb] {
        background: linear-gradient(135deg, #218838 0%, #1e7e34 100%);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
    }

/* Enhanced Containers */
.branch-selector-container[b-h1x4v4bwkb],
.exchange-rate-wrapper[b-h1x4v4bwkb],
.contextual-search-container[b-h1x4v4bwkb] {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 0.25rem 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.header-actions .branch-selector-container[b-h1x4v4bwkb],
.header-actions .exchange-rate-wrapper[b-h1x4v4bwkb],
.header-actions .contextual-search-container[b-h1x4v4bwkb],
.header-actions .language-dropdown[b-h1x4v4bwkb],
.header-actions .user-dropdown[b-h1x4v4bwkb] {
    height: 40px;
    box-sizing: border-box;
}

.header-actions .exchange-rate-wrapper[b-h1x4v4bwkb] {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.header-actions .btn[b-h1x4v4bwkb] {
    height: 40px;
    padding: 0 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

.header-actions .btn.btn-icon-only[b-h1x4v4bwkb] {
    width: 40px;
    padding: 0;
}

.header-actions .branch-selector-btn[b-h1x4v4bwkb],
.header-actions .dropdown-toggle[b-h1x4v4bwkb] {
    height: 34px;
    display: inline-flex;
    align-items: center;
}

.header-actions .exchange-rate-container[b-h1x4v4bwkb] {
    height: 34px;
    display: inline-flex;
    align-items: center;
}

.header-actions .contextual-search .input-group[b-h1x4v4bwkb],
.header-actions .contextual-search .form-control[b-h1x4v4bwkb],
.header-actions .contextual-search .input-group-text[b-h1x4v4bwkb] {
    height: 34px;
}

/* Enhanced Dropdowns */
.dropdown[b-h1x4v4bwkb] {
    position: relative;
}

.dropdown-toggle[b-h1x4v4bwkb] {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .dropdown-toggle:hover[b-h1x4v4bwkb] {
        background: white;
        border-color: rgba(0, 103, 71, 0.2);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        transform: translateY(-1px);
    }

.dropdown-menu[b-h1x4v4bwkb] {
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

    .dropdown-menu.show[b-h1x4v4bwkb] {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

.dropdown-item[b-h1x4v4bwkb] {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: #495057;
    text-decoration: none;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 0.9rem;
}

    .dropdown-item:hover[b-h1x4v4bwkb] {
        background: rgba(0, 103, 71, 0.08);
        color: #006747;
    }

    .dropdown-item.active[b-h1x4v4bwkb] {
        background: rgba(0, 103, 71, 0.12);
        color: #006747;
        font-weight: 500;
    }

.dropdown-divider[b-h1x4v4bwkb] {
    height: 1px;
    background: rgba(0, 0, 0, 0.08);
    margin: 0.5rem 0;
}

/* User Avatar Enhancements */
.user-dropdown .avatar[b-h1x4v4bwkb] {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

    .user-dropdown .avatar:hover[b-h1x4v4bwkb] {
        transform: scale(1.05);
        border-color: white;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

/* Content Wrapper */
.content-wrapper[b-h1x4v4bwkb] {
    padding: 1.5rem;
    flex: 1;
    overflow-y: auto;
    background: #f8fafc;
    position: relative;
}

/* Enhanced Footer */
.footer[b-h1x4v4bwkb] {
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(20px);
    color: #6c757d;
    font-size: 0.85rem;
}

    .footer .d-flex[b-h1x4v4bwkb] {
        display: flex;
    }

    .footer .justify-content-between[b-h1x4v4bwkb] {
        justify-content: space-between;
    }

    .footer .align-items-center[b-h1x4v4bwkb] {
        align-items: center;
    }

/* Enhanced Loading Overlay */
.loading-overlay[b-h1x4v4bwkb] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn-b-h1x4v4bwkb 0.3s ease;
}

.spinner[b-h1x4v4bwkb] {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(0, 103, 71, 0.1);
    border-top: 3px solid #006747;
    border-radius: 50%;
    animation: modernSpin-b-h1x4v4bwkb 1s linear infinite;
}

.loading-text[b-h1x4v4bwkb] {
    margin-top: 1rem;
    font-size: 1rem;
    color: #006747;
    font-weight: 500;
}

/* Utility Classes */
.me-sm[b-h1x4v4bwkb] {
    margin-right: 0.5rem;
}

.me-md[b-h1x4v4bwkb] {
    margin-right: 1rem;
}

.ms-sm[b-h1x4v4bwkb] {
    margin-left: 0.5rem;
}

.d-flex[b-h1x4v4bwkb] {
    display: flex;
}

.align-items-center[b-h1x4v4bwkb] {
    align-items: center;
}

.d-md-none[b-h1x4v4bwkb] {
    display: none;
}

/* Enhanced Error UI */
#blazor-error-ui[b-h1x4v4bwkb] {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    bottom: 0;
    box-shadow: 0 -4px 20px rgba(220, 53, 69, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: none;
    left: 0;
    padding: 1rem 1.5rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

    #blazor-error-ui .dismiss[b-h1x4v4bwkb] {
        cursor: pointer;
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(255, 255, 255, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.3);
        color: white;
        padding: 0.5rem;
        border-radius: 50%;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
    }

        #blazor-error-ui .dismiss:hover[b-h1x4v4bwkb] {
            background: rgba(255, 255, 255, 0.3);
            border-color: rgba(255, 255, 255, 0.5);
        }

    #blazor-error-ui .reload[b-h1x4v4bwkb] {
        color: white;
        text-decoration: none;
        margin-right: 1rem;
        padding: 0.5rem 1rem;
        background: rgba(255, 255, 255, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 6px;
        transition: all 0.2s ease;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
    }

        #blazor-error-ui .reload:hover[b-h1x4v4bwkb] {
            background: rgba(255, 255, 255, 0.3);
            border-color: rgba(255, 255, 255, 0.5);
            text-decoration: none;
            color: white;
        }

/* Animations */
@keyframes modernSpin-b-h1x4v4bwkb {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn-b-h1x4v4bwkb {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* RTL Support */
[dir="rtl"] .sidebar[b-h1x4v4bwkb] {
    left: auto;
    right: 0;
}

[dir="rtl"] .main-content[b-h1x4v4bwkb] {
    margin-left: 0;
    margin-right: 280px;
}

[dir="rtl"] .navbar-logo[b-h1x4v4bwkb] {
    margin-right: 0;
    margin-left: 12px;
}

[dir="rtl"] .dropdown-menu[b-h1x4v4bwkb] {
    right: auto;
    left: 0;
}

[dir="rtl"] .me-sm[b-h1x4v4bwkb] {
    margin-right: 0;
    margin-left: 0.5rem;
}

[dir="rtl"] .me-md[b-h1x4v4bwkb] {
    margin-right: 0;
    margin-left: 1rem;
}

[dir="rtl"] .ms-sm[b-h1x4v4bwkb] {
    margin-left: 0;
    margin-right: 0.5rem;
}

[dir="rtl"] #blazor-error-ui .dismiss[b-h1x4v4bwkb] {
    right: auto;
    left: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar[b-h1x4v4bwkb] {
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

        .sidebar.show[b-h1x4v4bwkb] {
            transform: translateX(0);
        }

    .main-content[b-h1x4v4bwkb] {
        margin-left: 0;
        width: 100%;
    }

    .d-md-none[b-h1x4v4bwkb] {
        display: flex;
    }

    .header[b-h1x4v4bwkb] {
        padding: 0 1rem;
    }

    .content-wrapper[b-h1x4v4bwkb] {
        padding: 1rem;
    }

    .header-actions[b-h1x4v4bwkb] {
        gap: 0.5rem;
    }

    .contextual-search-container[b-h1x4v4bwkb] {
        display: none;
    }

    [dir="rtl"] .sidebar[b-h1x4v4bwkb] {
        transform: translateX(100%);
    }

        [dir="rtl"] .sidebar.show[b-h1x4v4bwkb] {
            transform: translateX(0);
        }

    [dir="rtl"] .main-content[b-h1x4v4bwkb] {
        margin-right: 0;
    }
}

@media (max-width: 480px) {
    .header[b-h1x4v4bwkb] {
        height: 60px;
    }

    .navbar-header[b-h1x4v4bwkb] {
        height: 60px;
        padding: 0.75rem 1rem;
    }

    .header-title[b-h1x4v4bwkb] {
        font-size: 1.25rem;
    }

    .content-wrapper[b-h1x4v4bwkb] {
        padding: 0.75rem 0.5rem;
    }
}

/* Focus Styles for Accessibility */
.dropdown-toggle:focus[b-h1x4v4bwkb],
.btn:focus[b-h1x4v4bwkb],
.dropdown-item:focus[b-h1x4v4bwkb] {
    outline: 2px solid #006747;
    outline-offset: 2px;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *[b-h1x4v4bwkb] {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
/* _content/SafinAhmedERP.Web/Components/Layout/NavMenu.razor.rz.scp.css */
/* Enhanced NavMenu Visual Styles - Design Only */
.navbar-menu[b-1ynpsfahku] {
    display: flex;
    flex-direction: column;
    padding: 0.5rem 0;
    height: calc(100vh - 70px);
    background: linear-gradient(180deg, #006747 0%, #004533 100%);
}

/* Main navigation area with enhanced scrolling */
.nav-main[b-1ynpsfahku] {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

    .nav-main[b-1ynpsfahku]::-webkit-scrollbar {
        width: 4px;
    }

    .nav-main[b-1ynpsfahku]::-webkit-scrollbar-track {
        background: transparent;
    }

    .nav-main[b-1ynpsfahku]::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.3);
        border-radius: 2px;
    }

        .nav-main[b-1ynpsfahku]::-webkit-scrollbar-thumb:hover {
            background: rgba(255, 255, 255, 0.5);
        }

/* Enhanced footer area */
.nav-footer[b-1ynpsfahku] {
    padding: 1rem 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: auto;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

/* Enhanced logout styling */
.logout-item[b-1ynpsfahku] {
    margin: 0.25rem 0.5rem;
}

.logout-link[b-1ynpsfahku] {
    display: flex;
    align-items: center;
    padding: 0.875rem 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.2);
    position: relative;
    overflow: hidden;
}

    .logout-link[b-1ynpsfahku]::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(220, 53, 69, 0.1), rgba(220, 53, 69, 0.05));
        opacity: 0;
        transition: opacity 0.3s ease;
        border-radius: 12px;
    }

    .logout-link:hover[b-1ynpsfahku]::before {
        opacity: 1;
    }

    .logout-link:hover[b-1ynpsfahku] {
        background: rgba(220, 53, 69, 0.25);
        border-color: rgba(220, 53, 69, 0.4);
        color: white;
        transform: translateX(4px);
        box-shadow: 0 4px 12px rgba(220, 53, 69, 0.2);
    }

/* Enhanced navigation items */
.nav-item[b-1ynpsfahku] {
    margin: 0.125rem 0.75rem;
    position: relative;
}

.nav-link[b-1ynpsfahku] {
    display: flex;
    align-items: center;
    padding: 0.875rem 1rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    font-weight: 500;
    font-size: 0.9rem;
}

    .nav-link[b-1ynpsfahku]::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
        opacity: 0;
        transition: opacity 0.3s ease;
        border-radius: 12px;
    }

    .nav-link:hover[b-1ynpsfahku]::before {
        opacity: 1;
    }

    .nav-link:hover[b-1ynpsfahku] {
        background: rgba(255, 255, 255, 0.15);
        color: white;
        transform: translateX(4px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .nav-link.active[b-1ynpsfahku] {
        background: rgba(255, 255, 255, 0.2);
        color: white;
        font-weight: 600;
        border-left: 3px solid #a7c4bc;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

        .nav-link.active[b-1ynpsfahku]::before {
            opacity: 1;
        }

/* Enhanced navigation icons */
.nav-icon[b-1ynpsfahku] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    margin-right: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.nav-link:hover .nav-icon[b-1ynpsfahku] {
    transform: scale(1.1);
}

.nav-text[b-1ynpsfahku] {
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

/* Enhanced divider */
.nav-divider[b-1ynpsfahku] {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    margin: 1rem 1.5rem;
    position: relative;
}

    .nav-divider[b-1ynpsfahku]::before {
        content: '';
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 4px;
        height: 4px;
        background: rgba(255, 255, 255, 0.4);
        border-radius: 50%;
    }

/* Enhanced dropdown styling */
.nav-dropdown[b-1ynpsfahku] {
    position: relative;
}

.nav-dropdown-toggle[b-1ynpsfahku] {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-dropdown-icon[b-1ynpsfahku] {
    margin-left: auto;
    font-size: 0.7rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: rgba(255, 255, 255, 0.6);
}

.nav-dropdown.open .nav-dropdown-icon[b-1ynpsfahku] {
    transform: rotate(180deg);
    color: rgba(255, 255, 255, 0.9);
}

/* Enhanced dropdown menu container */
.nav-dropdown-menu[b-1ynpsfahku] {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0.5rem 0;
    padding-left: 0.5rem;
    border-left: 2px solid rgba(255, 255, 255, 0.15);
    margin-left: 1rem;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 0 12px 12px 0;
    backdrop-filter: blur(10px);
}

.nav-dropdown.open .nav-dropdown-menu[b-1ynpsfahku] {
    max-height: 600px;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* Enhanced dropdown item styling */
.nav-dropdown-item[b-1ynpsfahku] {
    display: flex !important;
    align-items: center !important;
    padding: 0.75rem 1rem !important;
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    margin: 0.25rem 0 !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    position: relative !important;
    overflow: hidden !important;
}

    .nav-dropdown-item[b-1ynpsfahku]::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
        opacity: 0;
        transition: opacity 0.3s ease;
        border-radius: 8px;
    }

    .nav-dropdown-item:hover[b-1ynpsfahku]::before {
        opacity: 1;
    }

    .nav-dropdown-item:hover[b-1ynpsfahku] {
        background: rgba(255, 255, 255, 0.2) !important;
        color: white !important;
        text-decoration: none !important;
        transform: translateX(4px) !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    }

    .nav-dropdown-item.active[b-1ynpsfahku] {
        background: rgba(255, 255, 255, 0.25) !important;
        color: white !important;
        border-left: 2px solid #a7c4bc !important;
        font-weight: 600 !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    }

        .nav-dropdown-item.active[b-1ynpsfahku]::before {
            opacity: 1;
        }

    /* Override any browser default link styling */
    .nav-dropdown-item:link[b-1ynpsfahku],
    .nav-dropdown-item:visited[b-1ynpsfahku],
    .nav-dropdown-item:hover[b-1ynpsfahku],
    .nav-dropdown-item:active[b-1ynpsfahku] {
        color: rgba(255, 255, 255, 0.8) !important;
        text-decoration: none !important;
    }

    .nav-dropdown-item:hover[b-1ynpsfahku] {
        color: white !important;
    }

    /* Style for the icons and text within dropdown items */
    .nav-dropdown-item .nav-icon[b-1ynpsfahku] {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 20px !important;
        margin-right: 10px !important;
        font-size: 0.9rem !important;
        color: rgba(255, 255, 255, 0.7) !important;
        transition: all 0.3s ease !important;
    }

    .nav-dropdown-item:hover .nav-icon[b-1ynpsfahku] {
        color: white !important;
        transform: scale(1.1) !important;
    }

    .nav-dropdown-item .nav-text[b-1ynpsfahku] {
        font-size: 0.85rem !important;
        color: rgba(255, 255, 255, 0.8) !important;
        transition: all 0.3s ease !important;
    }

    .nav-dropdown-item:hover .nav-text[b-1ynpsfahku] {
        color: white !important;
    }

    .nav-dropdown-item.active .nav-icon[b-1ynpsfahku],
    .nav-dropdown-item.active .nav-text[b-1ynpsfahku] {
        color: white !important;
    }

/* Special styling for collapsed sidebar state */
:global(.sidebar.collapsed) .nav-text[b-1ynpsfahku] {
    opacity: 0;
    width: 0;
    overflow: hidden;
}

/* Enhanced collapsed sidebar dropdown positioning */
:global(.sidebar.collapsed) .nav-dropdown-menu[b-1ynpsfahku] {
    position: absolute;
    left: 70px;
    top: 0;
    margin-left: 0;
    background: linear-gradient(180deg, #006747 0%, #004533 100%);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    min-width: 220px;
    z-index: 1000;
    backdrop-filter: blur(20px);
}

:global(.sidebar.collapsed) .nav-dropdown.open .nav-dropdown-menu[b-1ynpsfahku] {
    padding: 0.75rem;
}

:global(.sidebar.collapsed) .nav-dropdown-item[b-1ynpsfahku] {
    margin: 0.25rem 0 !important;
}

    :global(.sidebar.collapsed) .nav-dropdown-item .nav-text[b-1ynpsfahku] {
        opacity: 1 !important;
        width: auto !important;
        overflow: visible !important;
    }

/* RTL support for dropdown items */
[dir="rtl"] .nav-icon[b-1ynpsfahku] {
    margin-right: 0;
    margin-left: 12px;
}

[dir="rtl"] .nav-dropdown-menu[b-1ynpsfahku] {
    margin-left: 0;
    margin-right: 1rem;
    padding-left: 0;
    padding-right: 0.5rem;
    border-left: none;
    border-right: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px 0 0 12px;
}

[dir="rtl"] .nav-dropdown-item[b-1ynpsfahku] {
    border-left: none !important;
    border-right: 2px solid rgba(255, 255, 255, 0.1) !important;
}

    [dir="rtl"] .nav-dropdown-item.active[b-1ynpsfahku] {
        border-left: none !important;
        border-right: 2px solid #a7c4bc !important;
    }

    [dir="rtl"] .nav-dropdown-item .nav-icon[b-1ynpsfahku] {
        margin-right: 0 !important;
        margin-left: 10px !important;
    }

[dir="rtl"] .nav-dropdown-icon[b-1ynpsfahku] {
    margin-left: 0;
    margin-right: auto;
}

[dir="rtl"] .nav-link.active[b-1ynpsfahku] {
    border-left: none;
    border-right: 3px solid #a7c4bc;
}

[dir="rtl"] .nav-link:hover[b-1ynpsfahku],
[dir="rtl"] .nav-dropdown-item:hover[b-1ynpsfahku] {
    transform: translateX(-4px) !important;
}

[dir="rtl"] .logout-link:hover[b-1ynpsfahku] {
    transform: translateX(-4px);
}

/* RTL support for collapsed sidebar dropdowns */
[dir="rtl"]:global(.sidebar.collapsed) .nav-dropdown-menu[b-1ynpsfahku] {
    left: auto;
    right: 70px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .nav-main[b-1ynpsfahku] {
        padding-top: 1rem;
    }

    .nav-dropdown-item .nav-text[b-1ynpsfahku] {
        opacity: 1 !important;
        width: auto !important;
    }
}

/* Focus styles for accessibility */
.nav-link:focus[b-1ynpsfahku],
.nav-dropdown-item:focus[b-1ynpsfahku],
.nav-dropdown-toggle:focus[b-1ynpsfahku],
.logout-link:focus[b-1ynpsfahku] {
    outline: 2px solid #a7c4bc;
    outline-offset: 2px;
}

/* Smooth scroll behavior */
.nav-main[b-1ynpsfahku] {
    scroll-behavior: smooth;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *[b-1ynpsfahku] {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
/* _content/SafinAhmedERP.Web/Components/Pages/ExchangeRate/ExchangeRateDialog.razor.rz.scp.css */
/* Simple Exchange Rate Dialog Styles */

/* Tab buttons */
.exchange-tabs[b-ydtc9phiws] {
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 1rem;
}

/* Content sections */
.rates-content[b-ydtc9phiws],
.currencies-content[b-ydtc9phiws] {
    margin-top: 1rem;
}

/* Simple card styling */
.card[b-ydtc9phiws] {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.card-header[b-ydtc9phiws] {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    padding: 1rem;
}

.card-body[b-ydtc9phiws] {
    padding: 1rem;
}

/* Table styling */
.table[b-ydtc9phiws] {
    margin-bottom: 0;
}

    .table th[b-ydtc9phiws] {
        background-color: #006747;
        color: white;
        border: none;
    }

    .table td[b-ydtc9phiws] {
        vertical-align: middle;
    }

/* Form styling */
.form-label[b-ydtc9phiws] {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control:focus[b-ydtc9phiws],
.form-select:focus[b-ydtc9phiws] {
    border-color: #006747;
    box-shadow: 0 0 0 0.2rem rgba(0, 103, 71, 0.25);
}

/* Button styling */
.btn-primary[b-ydtc9phiws] {
    background-color: #006747;
    border-color: #006747;
}

    .btn-primary:hover[b-ydtc9phiws] {
        background-color: #005339;
        border-color: #005339;
    }

.btn-success[b-ydtc9phiws] {
    background-color: #28a745;
    border-color: #28a745;
}

/* Loading spinner */
.spinner-border[b-ydtc9phiws] {
    width: 1rem;
    height: 1rem;
}

/* Alert styling */
.alert[b-ydtc9phiws] {
    border-radius: 0.375rem;
}

.alert-info[b-ydtc9phiws] {
    background-color: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

/* Badge styling */
.badge[b-ydtc9phiws] {
    font-size: 0.75em;
    padding: 0.35em 0.65em;
}

/* Responsive */
@media (max-width: 768px) {
    .exchange-tabs[b-ydtc9phiws] {
        text-align: center;
    }

        .exchange-tabs .btn[b-ydtc9phiws] {
            margin-bottom: 0.5rem;
            width: 100%;
        }

    .d-flex.justify-content-between[b-ydtc9phiws] {
        flex-direction: column;
        align-items: stretch !important;
        gap: 1rem;
    }

    .table-responsive[b-ydtc9phiws] {
        font-size: 0.875rem;
    }
}
/* _content/SafinAhmedERP.Web/Components/Pages/Supplier/SupplierDialog.razor.rz.scp.css */
/* Custom styles for ExchangeRateDialog.razor */

.modal-backdrop[b-fjf9h1lj02] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000; /* Higher z-index to ensure it appears above other elements */
}

.modal[b-fjf9h1lj02] {
    position: relative;
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 800px; /* Adjusted max-width */
    margin: 1.75rem;
    animation: modalFadeIn-b-fjf9h1lj02 0.3s ease-out;
    z-index: 2001; /* Ensure modal is above the backdrop */
    overflow: visible; /* Ensure content is visible */
    max-height: 90vh; /* Limit height to 90% of viewport */
    display: flex;
    flex-direction: column;
}

@keyframes modalFadeIn-b-fjf9h1lj02 {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header[b-fjf9h1lj02] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.modal-title[b-fjf9h1lj02] {
    margin: 0;
    font-weight: 600;
    color: #2c3e50;
}

.modal-close[b-fjf9h1lj02] {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    margin: 0;
    color: #777777;
}

.modal-body[b-fjf9h1lj02] {
    padding: 1rem;
    overflow-y: auto; /* Add scroll if content is too long */
    max-height: calc(90vh - 120px); /* Adjust based on header and footer height */
}

.modal-footer[b-fjf9h1lj02] {
    padding: 1rem;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

/* Tab styling for the exchange rate dialog */
.nav-tabs[b-fjf9h1lj02] {
    display: flex;
    border-bottom: 1px solid #dee2e6;
    list-style: none;
    padding-left: 0;
    margin-bottom: 1rem;
}

.nav-item[b-fjf9h1lj02] {
    margin-bottom: -1px;
}

.nav-link[b-fjf9h1lj02] {
    border: 1px solid transparent;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
    color: #495057;
    padding: 0.5rem 1rem;
    text-decoration: none;
    background-color: transparent;
    cursor: pointer;
}

    .nav-link.active[b-fjf9h1lj02] {
        color: #3498db;
        background-color: #fff;
        border-color: #dee2e6 #dee2e6 #fff;
    }

    .nav-link:hover:not(.active)[b-fjf9h1lj02] {
        border-color: #e9ecef #e9ecef #dee2e6;
    }

/* RTL Support */
html[dir="rtl"] .modal-footer[b-fjf9h1lj02] {
    justify-content: flex-start;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .modal[b-fjf9h1lj02] {
        margin: 1rem;
        max-width: calc(100% - 2rem);
    }

    .modal-body[b-fjf9h1lj02] {
        padding: 0.75rem;
    }
}
/* _content/SafinAhmedERP.Web/Components/UserProfile.razor.rz.scp.css */
.user-profile[b-66g8xtmcjy] {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 0.5rem;
    transition: all var(--transition-normal);
}

.user-profile-content[b-66g8xtmcjy] {
    display: flex;
    align-items: center;
}

.user-avatar[b-66g8xtmcjy] {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    flex-shrink: 0;
    overflow: hidden;
}

    .user-avatar img[b-66g8xtmcjy] {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.user-initials[b-66g8xtmcjy] {
    font-size: 1.2rem;
    font-weight: 500;
    color: white;
}

.user-info[b-66g8xtmcjy] {
    flex: 1;
    overflow: hidden;
    transition: opacity var(--transition-fast), width var(--transition-fast);
}

.user-name[b-66g8xtmcjy] {
    font-weight: 500;
    color: white;
    margin-bottom: 0.125rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-role[b-66g8xtmcjy] {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Collapsed state */
.user-profile.collapsed .user-info[b-66g8xtmcjy] {
    opacity: 0;
    width: 0;
    display: none;
}

.user-profile.collapsed .user-avatar[b-66g8xtmcjy] {
    margin-right: 0;
}

/* RTL Support */
[dir="rtl"] .user-avatar[b-66g8xtmcjy] {
    margin-right: 0;
    margin-left: 0.75rem;
}

[dir="rtl"] .user-profile.collapsed .user-avatar[b-66g8xtmcjy] {
    margin-left: 0;
}
