/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-485lu35wvf] {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100vw;
    height: 100vh;
    overflow: hidden;
}

main[b-485lu35wvf] {
    flex: 1;
    min-width: 0;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

.sidebar[b-485lu35wvf] {
    background-color: var(--bg-primary);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.sidebar-backdrop[b-485lu35wvf] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    backdrop-filter: blur(2px);
}

/* Mobile-only elements — desktop pe hidden */
.mobile-sidebar[b-485lu35wvf] {
    display: none !important;
}

.mobile-menu-btn[b-485lu35wvf] {
    display: none !important;
}

.mobile-only-backdrop[b-485lu35wvf] {
    display: none !important;
}

.sidebar-close-btn[b-485lu35wvf] {
    display: none !important;
}

/* Desktop pe mobile-only logo hidden */
.mobile-only-logo[b-485lu35wvf] {
    display: none !important;
}

/* Desktop pe close btn hidden */

@media (max-width: 640.98px) {

    /* Sidebar RIGHT se slide hoga */
    .sidebar[b-485lu35wvf] {
        position: fixed;
        top: 0;
        right: 0;
        left: auto;
        width: 280px;
        height: 100vh;
        z-index: 9999;
        /* Sab se upar — topbar se bhi upar */
        transform: translateX(100%);
        transition: transform 0.3s ease;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        background: var(--bg-primary);
    }

        .sidebar.mobile-open[b-485lu35wvf] {
            transform: translateX(0);
        }

    .sidebar-header[b-485lu35wvf] {
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        /* Logo left, X button right */
        border-bottom: 1px solid var(--border-color);
        background: var(--bg-primary);
        flex-shrink: 0;
    }

    /* Close button — mobile pe dikhao */
    .sidebar-close-btn[b-485lu35wvf] {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: var(--bg-tertiary);
        border: 1px solid var(--border-color);
        color: var(--text-primary);
        font-size: 1rem;
        cursor: pointer;
        width: 32px;
        height: 32px;
        margin-right: 0.3rem;
        border-radius: 8px;
        flex-shrink: 0;
        transition: background 0.2s, color 0.2s;
    }

        .sidebar-close-btn:hover[b-485lu35wvf] {
            background: var(--border-color);
            color: var(--primary-color);
        }

    .sidebar-footer[b-485lu35wvf] {
        display: none;
    }

    .topbar-left[b-485lu35wvf] {
        display: none !important;
    }

    .desktop-only-logo[b-485lu35wvf] {
        display: none !important;
    }

    .mobile-only-logo[b-485lu35wvf] {
        display: inline !important;
    }

    .logo-full[b-485lu35wvf] {
        font-weight: 800;
        font-size: 1.2rem;
        color: var(--primary-color);
        white-space: nowrap;
        letter-spacing: -0.5px;
        margin-left: 0.3rem;
    }

    .mobile-sidebar[b-485lu35wvf] {
        display: flex !important;
        flex-direction: column;
    }

        .sidebar .sidebar-content[b-485lu35wvf],
        .mobile-sidebar .sidebar-content[b-485lu35wvf] {
            flex: 1;
            overflow-y: auto;
            overflow-x: hidden;
        }

    /* Mobile backdrop sirf mobile pe */
    .mobile-only-backdrop[b-485lu35wvf] {
        display: block !important;
        z-index: 9998;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
    }

    .topbar-nav[b-485lu35wvf] {
        display: none !important;
    }

    /* Mobile hamburger button SHOW */
    .mobile-menu-btn[b-485lu35wvf] {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: var(--bg-tertiary);
        border: 1px solid var(--border-color);
        color: var(--text-primary);
        font-size: 1.3rem;
        cursor: pointer;
        width: 32px;
        height: 36px;
        border-radius: 8px;
        flex-shrink: 0;
        transition: background 0.2s, color 0.2s;
    }

    .top-row[b-485lu35wvf],
    article[b-485lu35wvf] {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }

        .top-row .user-info[b-485lu35wvf] {
            margin-left: 0 !important;
        }
}


.top-row[b-485lu35wvf]  a,
.top-row[b-485lu35wvf]  .btn-link {
    white-space: nowrap;
    margin-left: 1.5rem;
    text-decoration: none;
}

    .top-row[b-485lu35wvf]  a:hover,
    .top-row[b-485lu35wvf]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-485lu35wvf]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-485lu35wvf] {
        justify-content: flex-end;
        position: sticky;
        top: 0;
        z-index: 90;
        background: var(--bg-primary);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

        .top-row[b-485lu35wvf]  a,
        .top-row[b-485lu35wvf]  .btn-link {
            margin-left: 0;
        }
}

@media (min-width: 641px) {
    .page[b-485lu35wvf] {
        flex-direction: row;
    }

    .sidebar[b-485lu35wvf] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
        transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-x: hidden;
        background-color: var(--bg-primary);
        border-right: 1px solid var(--border-color);
        display: flex;
        flex-direction: column;
        z-index: 1040;
    }

        .sidebar.collapsed[b-485lu35wvf] {
            width: 64px;
        }

    .sidebar-header[b-485lu35wvf] {
        height: 64px;
        display: flex;
        align-items: center;
        padding: 0 1.5rem;
        margin: 0 0.1rem;
        border-bottom: 1px solid var(--border-color);
        background: var(--bg-primary);
        flex-shrink: 0;
        overflow: hidden;
    }

    .sidebar:not(.collapsed) .sidebar-header[b-485lu35wvf] {
        height: 72px;
    }

    .sidebar.collapsed .sidebar-header[b-485lu35wvf] {
        padding: 0;
        margin-left: 0 !important;
        justify-content: center;
    }

    .logo-full[b-485lu35wvf] {
        font-weight: 800;
        font-size: 1.2rem;
        color: var(--primary-color);
        white-space: nowrap;
        letter-spacing: -0.5px;
    }

    .logo-abbr[b-485lu35wvf] {
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--primary-color);
        color: white;
        font-weight: 800;
        border-radius: 8px;
        font-size: 1.1rem;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        margin-left: 0;
    }

    .sidebar-content[b-485lu35wvf] {
        flex: 1;
        overflow-y: auto;
        overflow-x: hidden;
        /* Thin sidebar scrollbar */
        scrollbar-width: thin;
        scrollbar-color: #cbd5e1 #f1f5f9;
    }

        .sidebar-content[b-485lu35wvf]::-webkit-scrollbar {
            width: 6px;
        }

        .sidebar-content[b-485lu35wvf]::-webkit-scrollbar-track {
            background: #f1f5f9;
        }

        .sidebar-content[b-485lu35wvf]::-webkit-scrollbar-thumb {
            background: #cbd5e1;
            border-radius: 3px;
        }

            .sidebar-content[b-485lu35wvf]::-webkit-scrollbar-thumb:hover {
                background: #94a3b8;
            }

    .sidebar-footer[b-485lu35wvf] {
        padding: 1rem;
        border-top: 1px solid var(--border-color);
        background: var(--bg-secondary);
    }

    .collapse-toggle-btn[b-485lu35wvf] {
        width: 100%;
        padding: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--bg-tertiary);
        border: 1px solid var(--border-color);
        border-radius: 8px;
        color: var(--primary-color);
        cursor: pointer;
        transition: all 0.2s;
        font-weight: 600;
        font-size: 0.875rem;
        white-space: nowrap;
    }

        .collapse-toggle-btn:hover[b-485lu35wvf] {
            background: var(--border-color);
            transform: scale(1.02);
        }

    .top-row[b-485lu35wvf] {
        position: sticky;
        top: 0;
        z-index: 1000;
        display: flex;
        align-items: center;
        background: var(--bg-primary);
        overflow: visible !important;
    }

    .topbar-left[b-485lu35wvf] {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .mobile-toggle-btn[b-485lu35wvf] {
        background: none;
        border: none;
        color: var(--text-primary);
        font-size: 1.5rem;
        padding: 0;
        display: flex;
        align-items: center;
        cursor: pointer;
    }

    .main.full-width[b-485lu35wvf] {
        padding-left: 0 !important;
    }

    .topbar-nav[b-485lu35wvf] {
        flex: 1;
        display: flex;
        align-items: center;
        height: 100%;
        margin-right: 20px;
    }

    .horizontal-layout .top-row[b-485lu35wvf] {
        height: 3.5rem;
        padding-left: 1.5rem !important;
        border-bottom: 2px solid var(--primary-light);
    }

    .horizontal-layout .sidebar[b-485lu35wvf] {
        display: none;
    }

    .app-title[b-485lu35wvf] {
        font-weight: 700;
        font-size: 1.1rem;
        color: var(--primary-color);
        white-space: nowrap;
    }

    .top-row.auth[b-485lu35wvf]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-485lu35wvf],
    article[b-485lu35wvf] {
        padding-left: 0rem !important;
        padding-right: 0rem !important;
    }
}

#blazor-error-ui[b-485lu35wvf] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-485lu35wvf] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.layout-loading-fullscreen[b-485lu35wvf] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-primary, #020617);
    z-index: 9999;
}

/* Menu Search Styles */
.menu-search-container[b-485lu35wvf] {
    position: relative;
    width: 180px;
    z-index: 1001;
    margin-right: 0;
    overflow: visible !important;
}

.search-input-wrapper[b-485lu35wvf] {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon[b-485lu35wvf] {
    position: absolute;
    left: 12px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.menu-search-input[b-485lu35wvf] {
    width: 180px;
    padding: 8px 12px 8px 36px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-primary);
    outline: none;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

    .menu-search-input:focus[b-485lu35wvf] {
        border-color: var(--border-color);
        background: var(--bg-tertiary);
    }

.search-results-dropdown[b-485lu35wvf] {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 280px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    max-height: 400px;
    overflow-y: auto;
    z-index: 2000;
    /* Extremely high to prevent clipping */
    padding: 8px;
    animation: slideDown-b-485lu35wvf 0.2s ease;
}

.search-results-overlay[b-485lu35wvf] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
}

.search-result-item[b-485lu35wvf] {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    color: var(--text-primary);
    font-size: 0.9rem;
}

    .search-result-item:hover[b-485lu35wvf],
    .search-result-item.active[b-485lu35wvf] {
        background: var(--bg-tertiary);
        color: var(--primary-color);
        padding-left: 16px;
        font-weight: 600;
        box-shadow: inset 3px 0 0 var(--primary-color);
    }

    .search-result-item i[b-485lu35wvf] {
        width: 24px;
        font-size: 1.1rem;
    }

@keyframes slideDown-b-485lu35wvf {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .menu-search-container[b-485lu35wvf] {
        display: block !important;
        position: relative !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        flex: 1 1 auto !important;
        min-width: 70px !important;
        max-width: 130px !important;
        width: auto !important;
        margin: 0 !important;
        z-index: 1050 !important;
    }

    .menu-search-input[b-485lu35wvf] {
        width: 100% !important;
        margin: 0 !important;
        font-size: 0.78rem !important;
        padding: 6px 8px 6px 28px !important;
        height: 32px !important;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }

    .search-icon[b-485lu35wvf] {
        left: 8px !important;
        font-size: 0.8rem !important;
    }

    .search-results-dropdown[b-485lu35wvf] {
        width: 260px;
        max-width: calc(100vw - 20px);
        left: 0;
    }
}

@media (max-width: 480px) {
    .menu-search-container[b-485lu35wvf] {
        flex: 1 1 auto !important;
        min-width: 60px !important;
        max-width: 100px !important;
        width: auto !important;
    }

    .menu-search-input[b-485lu35wvf] {
        font-size: 0.72rem !important;
        padding: 5px 4px 5px 22px !important;
    }

    .search-icon[b-485lu35wvf] {
        left: 6px !important;
        font-size: 0.75rem !important;
    }
}


/*.razor css*/

.user-profile-dropdown[b-485lu35wvf] {
    position: relative;
    margin-left: 0;
}

.user-info[b-485lu35wvf] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
}

    .user-info:hover[b-485lu35wvf] {
        background: var(--bg-tertiary);
    }

.user-avatar[b-485lu35wvf] {
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.user-details[b-485lu35wvf] {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.user-name[b-485lu35wvf] {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
}

.user-company[b-485lu35wvf] {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

@media (max-width: 576px) {
    .user-info[b-485lu35wvf] {
        padding: 4px 8px;
        gap: 5px;
    }

    .user-avatar[b-485lu35wvf] {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}

.dropdown-backdrop[b-485lu35wvf] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: transparent;
    z-index: 999;
}

.dropdown-menu-custom[b-485lu35wvf] {
    position: fixed;
    top: 65px;
    right: 1rem;
    width: 220px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 1050;
    overflow: hidden;
    animation: slideDown-b-485lu35wvf 0.2s ease;
}

.dropdown-header-custom[b-485lu35wvf] {
    padding: 12px 16px;
    background: var(--bg-secondary);
}

    .dropdown-header-custom p[b-485lu35wvf] {
        margin: 0 !important;
        font-size: 0.75rem !important;
        color: var(--text-secondary) !important;
    }

    .dropdown-header-custom strong[b-485lu35wvf] {
        color: var(--text-primary) !important;
        display: block !important;
        margin-top: 2px !important;
        font-weight: 700 !important;
    }

.dropdown-item-custom[b-485lu35wvf] {
    width: 100% !important;
    padding: 12px 16px !important;
    display: flex !important;
    align-items: center !important;
    border: none !important;
    background: transparent !important;
    color: var(--text-primary) !important;
    font-size: 0.875rem !important;
    cursor: pointer !important;
    text-align: left !important;
    transition: background 0.2s !important;
    font-weight: 600 !important;
}

    .dropdown-item-custom:hover[b-485lu35wvf] {
        background: var(--bg-tertiary);
        color: var(--primary-color);
    }

.dropdown-divider[b-485lu35wvf] {
    height: 1px;
    background: var(--border-color);
    margin: 4px 0;
}

@keyframes slideDown-b-485lu35wvf {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.top-row[b-485lu35wvf] {
    background-color: var(--bg-primary) !important;
    border-bottom: 1px solid var(--border-color) !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    position: relative;
    z-index: 99 !important;
    min-width: 0;
    max-width: 100%;
    width: 100%;
}

@media (max-width: 768px) {
    .top-row[b-485lu35wvf] {
        padding-left: 0.35rem !important;
        padding-right: 0.35rem !important;
        justify-content: flex-end;
        min-width: 0;
        max-width: 100%;
        width: 100%;
    }

    .app-title[b-485lu35wvf] {
        font-size: 1rem;
    }
}

.app-title[b-485lu35wvf] {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}


.topbar-left[b-485lu35wvf] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

/* ====================== HORIZONTAL MENU SCROLL FIX ====================== */

.topbar-nav[b-485lu35wvf] {
    flex: 1;
    min-width: 0;
    height: 100%;
    margin: 0 10px;
    overflow: visible;
    /* Changed to visible to not clip dropdown */
    max-width: calc(100% - 380px);
    /* Adjust according to your right side elements */
    position: relative;
    /* Key part! Allows dropdowns to escape the scrollable area below if static positioned */
}

.navmenu-container.horizontal[b-485lu35wvf] {
    height: 100%;
    width: 100%;
}

    .navmenu-container.horizontal .nav-scrollable[b-485lu35wvf] {
        height: 100%;
        width: 100%;
        overflow-x: auto !important;
        overflow-y: visible !important;
        scrollbar-width: thin;
        scrollbar-color: #cbd5e1 #f1f5f9;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
    }

        /* Webkit Scrollbar */
        .navmenu-container.horizontal .nav-scrollable[b-485lu35wvf]::-webkit-scrollbar {
            height: 6px;
        }

        .navmenu-container.horizontal .nav-scrollable[b-485lu35wvf]::-webkit-scrollbar-track {
            background: #f1f5f9;
        }

        .navmenu-container.horizontal .nav-scrollable[b-485lu35wvf]::-webkit-scrollbar-thumb {
            background: #cbd5e1;
            border-radius: 3px;
        }

            .navmenu-container.horizontal .nav-scrollable[b-485lu35wvf]::-webkit-scrollbar-thumb:hover {
                background: #94a3b8;
            }

    /* Nav Items Container */
    .navmenu-container.horizontal .nav[b-485lu35wvf] {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center;
        gap: 6px;
        width: max-content !important;
        min-width: 100%;
        padding: 0 8px;
    }

    /* Individual items */
    .navmenu-container.horizontal .nav-item[b-485lu35wvf] {
        padding: 0 !important;
        margin: 0 2px;
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .navmenu-container.horizontal .nav-link[b-485lu35wvf] {
        height: 42px !important;
        padding: 0 9px !important;
        white-space: nowrap;
        display: flex;
        align-items: center;
    }

.topbar-actions[b-485lu35wvf] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    overflow: visible !important;
    /* Fix: Allow search dropdown to be seen */
    min-width: 0;
}

@media (max-width: 576px) {
    .topbar-actions[b-485lu35wvf] {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 4px;
        min-width: 0;
        max-width: 100%;
        width: 100%;
    }
}

.topbar-icon[b-485lu35wvf] {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font-size: 1.1rem;
}

    .topbar-icon:hover[b-485lu35wvf] {
        background: var(--border-color);
        transform: scale(1.05);
        color: var(--primary-color);
    }

.page[b-485lu35wvf] {
    background-color: var(--bg-secondary) !important;
}

main[b-485lu35wvf] {
    background-color: var(--bg-secondary) !important;
}

.content[b-485lu35wvf] {
    padding-top: 20px;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    /* Thin content scrollbar */
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
}

    .content[b-485lu35wvf]::-webkit-scrollbar {
        width: 6px;
    }

    .content[b-485lu35wvf]::-webkit-scrollbar-track {
        background: #f1f5f9;
    }

    .content[b-485lu35wvf]::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 3px;
    }

        .content[b-485lu35wvf]::-webkit-scrollbar-thumb:hover {
            background: #94a3b8;
        }

.layout-loading[b-485lu35wvf] {
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(100vh - 60px);
    width: 100%;
    background: var(--bg-secondary);
}

/* Custom Topbar Company Select Styles */
.topbar-company-select[b-485lu35wvf] {
    display: flex;
    align-items: center;
    width: 220px;
}

.topbar-fy-select[b-485lu35wvf] {
    display: flex;
    align-items: center;
    width: 125px;
}

.topbar-plant-select[b-485lu35wvf] {
    display: flex;
    align-items: center;
    width: 110px;
}

[b-485lu35wvf] .topbar-company-select .e-dropdownlist,
[b-485lu35wvf] .topbar-fy-select .e-dropdownlist,
[b-485lu35wvf] .topbar-plant-select .e-dropdownlist {
    width: 100% !important;
}

[b-485lu35wvf] .custom-topbar-select.e-input-group {
    border-radius: 8px !important;
    border: 1px solid var(--border-color) !important;
    background: var(--bg-tertiary) !important;
    padding: 0 8px !important;
    height: 36px !important;
    transition: all 0.2s ease !important;
}

    [b-485lu35wvf] .custom-topbar-select.e-input-group.e-input-focus,
    [b-485lu35wvf] .custom-topbar-select.e-input-group:focus,
    [b-485lu35wvf] .custom-topbar-select.e-input-group:focus-within {
        border-color: var(--border-color) !important;
        box-shadow: none !important;
        outline: none !important;
    }

[b-485lu35wvf] .custom-topbar-select .e-input {
    color: var(--text-primary) !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
}

[b-485lu35wvf] .custom-topbar-select .e-ddl-icon {
    color: var(--text-secondary) !important;
}

[b-485lu35wvf] .topbar-fy-select .e-input-group {
    padding: 0 4px !important;
}

[b-485lu35wvf] .topbar-fy-select .e-input {
    padding-left: 4px !important;
    padding-right: 2px !important;
    font-size: 0.82rem !important;
}

[b-485lu35wvf] .topbar-fy-select .e-input-group-icon,
[b-485lu35wvf] .topbar-fy-select .e-ddl-icon,
[b-485lu35wvf] .topbar-plant-select .e-input-group-icon,
[b-485lu35wvf] .topbar-plant-select .e-ddl-icon {
    width: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
}

[b-485lu35wvf] .topbar-plant-select .e-input-group {
    padding: 0 4px !important;
}

[b-485lu35wvf] .topbar-plant-select .e-input {
    padding-left: 4px !important;
    padding-right: 2px !important;
    font-size: 0.82rem !important;
}

@media (max-width: 768px) {
    .topbar-company-select[b-485lu35wvf] {
        flex: 0 1 auto;
        min-width: 75px;
        max-width: 130px;
        width: auto;
    }

    .topbar-fy-select[b-485lu35wvf] {
        flex: 0 1 auto;
        min-width: 65px;
        max-width: 100px;
        width: auto;
    }

    .topbar-plant-select[b-485lu35wvf] {
        flex: 0 1 auto;
        min-width: 75px;
        max-width: 120px;
        width: auto;
    }

    [b-485lu35wvf] .custom-topbar-select.e-input-group {
        height: 32px !important;
        padding: 0 4px !important;
    }

    [b-485lu35wvf] .custom-topbar-select .e-input {
        font-size: 0.78rem !important;
        text-overflow: ellipsis;
    }
}

@media (max-width: 480px) {
    .topbar-company-select[b-485lu35wvf] {
        flex: 0 1 auto;
        min-width: 60px;
        max-width: 90px;
        width: auto;
        margin-right: 1px;
    }

    .topbar-fy-select[b-485lu35wvf] {
        flex: 0 1 auto;
        min-width: 55px;
        max-width: 80px;
        width: auto;
        margin-right: 1px;
    }

    [b-485lu35wvf] .custom-topbar-select .e-input {
        font-size: 0.72rem !important;
    }
}

/* ====================== WORKSPACE LOADER OVERLAY ====================== */
/* position: absolute + z-index inside relative parent (.content) ensures
   the loader covers only the workarea, leaving topbar and sidebar accessible */
.workspace-loader-overlay[b-485lu35wvf] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    background: transparent;
    pointer-events: all;
}

[b-485lu35wvf] .workspace-loader-overlay .ai-universe-backdrop {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: var(--bg-secondary) !important;
    opacity: 0.9;
    backdrop-filter: blur(4px) !important;
    z-index: 999 !important;
}

/* ====================== CUSTOM LOGO STYLING ====================== */
.logo-img-container[b-485lu35wvf],
.logo-svg-container[b-485lu35wvf] {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center horizontally */
    height: 100%;
    width: 100%;
}

.logo-full-container[b-485lu35wvf] {
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
}

.sidebar-company-logo[b-485lu35wvf] {
    max-height: 60px;
    max-width: 220px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
    margin: 0 auto;
    transform: scale(1.35); /* Zoom in to fill horizontal space and make details readable */
}

.sidebar-company-logo-mini[b-485lu35wvf] {
    max-height: 44px;
    max-width: 44px;
    object-fit: contain;
    border-radius: 4px;
}

.logo-abbr.logo-svg-container[b-485lu35wvf],
.logo-abbr.logo-img-container[b-485lu35wvf] {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center !important; /* Centered in collapsed mode */
    background: transparent;
    border-radius: 8px;
}

    .logo-abbr.logo-svg-container[b-485lu35wvf]  svg {
        width: 32px;
        height: 32px;
        fill: white;
    }

.logo-full-container.logo-svg-container[b-485lu35wvf]  svg {
    max-height: 60px;
    max-width: 220px;
    transform: scale(1.35);
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.top-row[b-01ggiwv6tf] {
    min-height: 3.5rem;
    background-color: rgba(0, 0, 0, 0.4);
}

.navbar-brand[b-01ggiwv6tf] {
    font-size: 1.1rem;
}

.bi[b-01ggiwv6tf] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-01ggiwv6tf] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%231e293b' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-01ggiwv6tf] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%231e293b' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-01ggiwv6tf] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%231e293b' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.bi-gear-fill-nav-menu[b-01ggiwv6tf] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%231e293b' class='bi bi-gear-fill' viewBox='0 0 16 16'%3E%3Cpath d='M9.405 1.05c-.413-1.4-2.397-1.4-2.81 0l-.1.34a1.464 1.464 0 0 1-2.105.872l-.31-.17c-1.283-.698-2.686.705-1.987 1.987l.17.311c.586 1.066.077 2.399-.872 2.105l-.34-.1c-1.4.413-1.4 2.397 0 2.81l.34.1a1.464 1.464 0 0 1 .872 2.105l-.17.31c-.699 1.283.705 2.686 1.987 1.987l.311-.17a1.464 1.464 0 0 1 2.105.872l.1.34c.413 1.4 2.397 1.4 2.81 0l.1-.34a1.464 1.464 0 0 1 2.105-.872l.31.17c1.283.699 2.686-.705 1.987-1.987l-.17-.311a1.464 1.464 0 0 1 .872-2.105l.34.1c1.4-.413 1.4-2.397 0-2.81l-.34-.1a1.464 1.464 0 0 1-.872-2.105l.17-.31c.699-1.283-.705-2.686-1.987-1.987l-.311.17a1.464 1.464 0 0 1-2.105-.872l-.1-.34zM8 10.93a2.929 2.929 0 1 1 0-5.86 2.929 2.929 0 0 1 0 5.858z'/%3E%3C/svg%3E");
}

.nav-item[b-01ggiwv6tf] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

.nav-item:first-of-type[b-01ggiwv6tf] {
    padding-top: 1rem;
}

.nav-item:last-of-type[b-01ggiwv6tf] {
    padding-bottom: 1rem;
}

.nav-item[b-01ggiwv6tf]  .nav-link {
    color: var(--text-primary);
    background: none;
    border: none;
    border-radius: 8px;
    min-height: 2.8rem;
    height: auto;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-right: 0.5rem;
    line-height: 1.3;
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 2px;
    transition: all 0.2s;
    font-weight: 500;
    padding-left: 1rem;
    text-decoration: none !important;
}

.nav-item[b-01ggiwv6tf]  a.active {
    background-color: var(--active-menu-bg) !important;
    color: var(--primary-color) !important;
    font-weight: 600;
    box-shadow: none !important;
    position: relative;
}

/* Active vertical menu item indicator line */
.navmenu-container.vertical:not(.collapsed) .nav-item[b-01ggiwv6tf]  a.active:not(.parent-link)::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background-color: var(--primary-color);
    border-radius: 8px 0 0 8px;
}

/* .nav-item ::deep a.active .bi inherits color from parent link */

.nav-item[b-01ggiwv6tf]  .nav-link:hover:not(.active) {
    background-color: var(--bg-tertiary);
    color: var(--primary-color);
    text-decoration: none !important;
}

.nav-item[b-01ggiwv6tf]  .nav-link .bi,
.nav-item[b-01ggiwv6tf]  .nav-link .fa,
.nav-item[b-01ggiwv6tf]  .nav-link [class*='bi-'],
.nav-item[b-01ggiwv6tf]  .nav-link [class*='fa-'] {
    color: #64748b !important; /* Soft, one shade lighter (slate-500) */
    opacity: 0.8;
    transition: color 0.2s, opacity 0.2s;
}

.nav-item[b-01ggiwv6tf]  .nav-link:hover .bi,
.nav-item[b-01ggiwv6tf]  .nav-link:hover .fa,
.nav-item[b-01ggiwv6tf]  .nav-link:hover [class*='bi-'],
.nav-item[b-01ggiwv6tf]  .nav-link:hover [class*='fa-'] {
    color: var(--primary-color) !important;
    opacity: 1;
}

.nav-item[b-01ggiwv6tf]  a.active .bi,
.nav-item[b-01ggiwv6tf]  a.active .fa,
.nav-item[b-01ggiwv6tf]  a.active [class*='bi-'],
.nav-item[b-01ggiwv6tf]  a.active [class*='fa-'] {
    color: var(--primary-color) !important;
    opacity: 1;
}

.navmenu-container.collapsed[b-01ggiwv6tf]  .nav-link .bi,
.navmenu-container.collapsed[b-01ggiwv6tf]  .nav-link .fa,
.navmenu-container.collapsed[b-01ggiwv6tf]  .nav-link [class*='bi-'],
.navmenu-container.collapsed[b-01ggiwv6tf]  .nav-link [class*='fa-'] {
    color: #64748b !important;
    opacity: 0.8;
}

.navmenu-container.collapsed[b-01ggiwv6tf]  .nav-link.active .bi,
.navmenu-container.collapsed[b-01ggiwv6tf]  .nav-link.active .fa,
.navmenu-container.collapsed[b-01ggiwv6tf]  .nav-link.active [class*='bi-'],
.navmenu-container.collapsed[b-01ggiwv6tf]  .nav-link.active [class*='fa-'] {
    color: var(--primary-color) !important;
    opacity: 1;
}

.navmenu-container.collapsed[b-01ggiwv6tf]  .nav-link:hover:not(.active) .bi,
.navmenu-container.collapsed[b-01ggiwv6tf]  .nav-link:hover:not(.active) .fa,
.navmenu-container.collapsed[b-01ggiwv6tf]  .nav-link:hover:not(.active) [class*='bi-'],
.navmenu-container.collapsed[b-01ggiwv6tf]  .nav-link:hover:not(.active) [class*='fa-'] {
    color: var(--primary-color) !important;
    opacity: 1;
}

.nav-scrollable[b-01ggiwv6tf] {
    display: block;
    height: 100%;
    overflow-y: auto;
}

/* Collapsed Sidebar Styles */
.navmenu-container.collapsed .bi[b-01ggiwv6tf] {
    margin-right: 0 !important;
    font-size: 1.25rem;
}

/* Each icon row: fixed height, center icon both axes */
.navmenu-container.collapsed .nav-item[b-01ggiwv6tf] {
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
    height: 52px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* The icon link itself — 44×44 square, perfectly centered */
.navmenu-container.collapsed[b-01ggiwv6tf]  .nav-link {
    color: var(--text-primary) !important;
    background: transparent;
    border: none !important;
    border-radius: 8px !important;
    height: 44px !important;
    width: 44px !important;
    min-width: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    transition: background 0.2s, color 0.2s;
    text-decoration: none !important;
}

/* Icon spans — no extra margin, perfectly centered inside the 44px box */
.navmenu-container.collapsed[b-01ggiwv6tf]  .nav-link>span:first-child,
.navmenu-container.collapsed[b-01ggiwv6tf]  .nav-link .bi,
.navmenu-container.collapsed[b-01ggiwv6tf]  .nav-link [class*='bi-'],
.navmenu-container.collapsed[b-01ggiwv6tf]  .nav-link .fa,
.navmenu-container.collapsed[b-01ggiwv6tf]  .nav-link [class*='fa-'] {
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1;
}

/* Active — same 44×44 box, theme background */
.navmenu-container.collapsed[b-01ggiwv6tf]  .nav-link.parent-link.active,
.navmenu-container.collapsed[b-01ggiwv6tf]  .nav-link.active {
    background-color: var(--active-menu-bg) !important;
    color: var(--primary-color) !important;
}

/* Hover — IDENTICAL box to active */
.navmenu-container.collapsed[b-01ggiwv6tf]  .nav-link:hover:not(.active) {
    background-color: color-mix(in srgb, var(--primary-color) 10%, var(--bg-primary)) !important;
    color: var(--primary-color) !important;
}

/* ── Collapsed Flyout Submenu ── */
.collapsed-flyout-wrapper[b-01ggiwv6tf] {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
}

.collapsed-flyout[b-01ggiwv6tf] {
    display: flex;
    position: fixed;
    overflow-y: auto !important;
    overflow-x: hidden !important; /* No horizontal scroll */
    /* sidebar width when collapsed */
    min-width: 200px;
    background: var(--bg-primary, #ffffff);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 9999;
    padding: 6px;
    flex-direction: column;
    scrollbar-width: thin !important;
    scrollbar-color: #cbd5e1 #f1f5f9 !important;
}

/* Thin vertical scrollbar with default browser colors for collapsed flyout */
.collapsed-flyout[b-01ggiwv6tf]::-webkit-scrollbar {
    width: 6px !important;
    height: 0px !important;
}

.collapsed-flyout[b-01ggiwv6tf]::-webkit-scrollbar-track {
    background: #f1f5f9 !important;
}

.collapsed-flyout[b-01ggiwv6tf]::-webkit-scrollbar-thumb {
    background: #cbd5e1 !important;
    border-radius: 3px !important;
}

.collapsed-flyout[b-01ggiwv6tf]::-webkit-scrollbar-thumb:hover {
    background: #94a3b8 !important;
}

.flyout-label[b-01ggiwv6tf] {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-color);
    padding: 6px 12px 4px;
    border-bottom: 1px solid var(--border-color, #e2e8f0);
    margin-bottom: 4px;
}

/* ── Flyout child links ── */
.collapsed-flyout[b-01ggiwv6tf]  .flyout-link {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    height: 2.4rem !important;
    padding: 10px 10px !important;
    margin: 1px !important;
    margin-bottom: 5px !important;
    border-radius: 8px !important;
    font-size: 0.875rem;
    color: var(--text-primary) !important;
    text-decoration: none !important;
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap !important;
    background: transparent !important;
    gap: 10px;
}

.collapsed-flyout[b-01ggiwv6tf]  .flyout-link:hover {
    background-color: var(--bg-tertiary) !important;
    color: var(--primary-color) !important;
}

.collapsed-flyout[b-01ggiwv6tf]  .flyout-link.active {
    background-color: rgba(var(--primary-rgb, 37, 99, 235), 0.1) !important;
    color: var(--primary-color) !important;
    font-weight: 600;
}

.collapsed-flyout[b-01ggiwv6tf]  .flyout-link>span,
.collapsed-flyout[b-01ggiwv6tf]  .flyout-link .bi,
.collapsed-flyout[b-01ggiwv6tf]  .flyout-link [class*='bi-'],
.collapsed-flyout[b-01ggiwv6tf]  .flyout-link .fa,
.collapsed-flyout[b-01ggiwv6tf]  .flyout-link [class*='fa-'] {
    font-size: 0.8rem !important;
    flex-shrink: 0;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.navmenu-container.collapsed .navbar-brand[b-01ggiwv6tf] {
    display: flex;
    justify-content: center;
    width: 100%;
}

.navmenu-container.horizontal[b-01ggiwv6tf] {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    margin-top: 0.6%;
    margin-left: 0%;
}

.navmenu-container.horizontal .nav-scrollable[b-01ggiwv6tf] {
    height: 100%;
    width: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    overflow-x: auto;
    overflow-y: visible;
    /* Firefox — scrollbar completely hidden */
    scrollbar-width: none;
    /* IE/Edge legacy */
    -ms-overflow-style: none;
}

/* Chrome / Safari / Edge (Chromium) — scrollbar completely hidden */
.navmenu-container.horizontal .nav-scrollable[b-01ggiwv6tf]::-webkit-scrollbar {
    height: 0 !important;
    width: 0 !important;
    background: transparent !important;
}

.navmenu-container.horizontal .nav[b-01ggiwv6tf] {
    display: flex;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: center !important;
    /* JS override karega flex-start jab scroll ho */
    height: 100%;
    width: max-content;
    margin-left: auto !important;
    margin-right: auto !important;
    min-width: 100%;
    /* Important */
    padding: 0 8px;
}

.navmenu-container.horizontal .nav-item[b-01ggiwv6tf] {
    padding: 0 !important;
    margin: 0 0px;
    flex: 0 0 auto;
}

.navmenu-container.horizontal[b-01ggiwv6tf]  .nav-link,
.navmenu-container.horizontal .nav-link[b-01ggiwv6tf] {
    justify-content: flex-start !important;
    height: 40px !important;
    white-space: nowrap;
    width: max-content !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.navmenu-container.horizontal .bi[b-01ggiwv6tf] {
    margin-right: 0px;
}

.parent-link[b-01ggiwv6tf] {
    cursor: pointer;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0px;
    font-weight: 650 !important; /* Keep parent items bolder */
}

/* Make main parent menu items darker when not active and not hovered */
.nav-item[b-01ggiwv6tf]  .nav-link.parent-link:not(.active):not(:hover),
.parent-link:not(.active):not(:hover)[b-01ggiwv6tf] {
    color: #0f172a !important; /* Darker text */
}

/* Make main parent icons darker as well when not active and not hovered */
.nav-item[b-01ggiwv6tf]  .nav-link.parent-link:not(.active):not(:hover) .bi,
.nav-item[b-01ggiwv6tf]  .nav-link.parent-link:not(.active):not(:hover) .fa,
.nav-item[b-01ggiwv6tf]  .nav-link.parent-link:not(.active):not(:hover) [class*='bi-'],
.nav-item[b-01ggiwv6tf]  .nav-link.parent-link:not(.active):not(:hover) [class*='fa-'] {
    color: #334155 !important; /* Darker slate icon */
    opacity: 1 !important;
}

.parent-link .toggle-icon[b-01ggiwv6tf] {
    transition: transform 0.25s ease;
    font-size: 0.75rem;
    flex-shrink: 0;
    /* Size fixed rahe */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    /* Fixed width for stable rotation */
    height: 20px;
}

.parent-link.expanded .toggle-icon[b-01ggiwv6tf] {
    transform: rotate(180deg);
}

.submenu[b-01ggiwv6tf] {
    display: flex;
    flex-direction: column;
    margin-top: 0.2rem;
}

.submenu .nav-link[b-01ggiwv6tf] {
    min-height: 2.2rem !important;
    height: auto !important;
    padding-top: 0.4rem !important;
    padding-bottom: 0.4rem !important;
    padding-right: 0.5rem !important;
    line-height: 1.3;
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Horizontal specific submenu */
.navmenu-container.horizontal .has-children[b-01ggiwv6tf] {
    position: static !important;
}

.navmenu-container.horizontal .submenu.dropdown-menu-custom[b-01ggiwv6tf] {
    position: fixed;
    min-width: 240px;
    width: max-content !important;
    background: var(--bg-primary, #ffffff);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    z-index: 9999;
    padding: 2px !important;
    display: flex;
    flex-direction: column;
    max-height: 40%;
    /* ~5 items ke baad scroll */
    overflow-y: auto !important;
    overflow-x: hidden !important;
    scrollbar-width: thin !important;
    scrollbar-color: #cbd5e1 #f1f5f9 !important;
    user-select: none;
    /* Text selection disable for dragging */
}

/* Hide focus outline since it's focused programmatically for keyboard support */
.navmenu-container.horizontal .submenu.dropdown-menu-custom:focus[b-01ggiwv6tf] {
    outline: none;
}

/* Submenu Custom Scrollbar - Thin vertical scrollbar with default colors */
.navmenu-container.horizontal .submenu.dropdown-menu-custom[b-01ggiwv6tf]::-webkit-scrollbar {
    width: 6px !important;
    height: 0px !important;
}

.navmenu-container.horizontal .submenu.dropdown-menu-custom[b-01ggiwv6tf]::-webkit-scrollbar-track {
    background: #f1f5f9 !important;
}

.navmenu-container.horizontal .submenu.dropdown-menu-custom[b-01ggiwv6tf]::-webkit-scrollbar-thumb {
    background: #cbd5e1 !important;
    border-radius: 3px !important;
}

.navmenu-container.horizontal .submenu.dropdown-menu-custom[b-01ggiwv6tf]::-webkit-scrollbar-thumb:hover {
    background: #94a3b8 !important;
}

/* Inner items - perfectly fitting the parent padding */
.navmenu-container.horizontal .submenu.dropdown-menu-custom[b-01ggiwv6tf]  .nav-link,
.navmenu-container.horizontal .submenu.dropdown-menu-custom[b-01ggiwv6tf]  a {
    -webkit-user-drag: none;
    user-drag: none;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    color: var(--text-primary) !important;
    border-radius: 8px !important;
    margin: 2px 0 !important;
    /* No horizontal margin, rely on parent padding */
    width: auto !important;
    align-self: stretch !important;
    /* Fill parent's content box */
    box-sizing: border-box !important;
    padding: 10px 16px !important;
    min-height: 2.8rem !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    background: transparent !important;
    transition: background 0.15s ease, color 0.15s ease, padding 0.1s ease !important;
    white-space: nowrap;
    text-decoration: none !important;
}

/* Active & Hover states */
.navmenu-container.horizontal .submenu.dropdown-menu-custom[b-01ggiwv6tf]  .nav-link.active,
.navmenu-container.horizontal .submenu.dropdown-menu-custom[b-01ggiwv6tf]  a.active {
    background-color: rgba(var(--primary-rgb, 37, 99, 235), 0.1) !important;
    margin: 2px 0 !important;
    color: var(--primary-color) !important;
    box-shadow: none !important;
}

.navmenu-container.horizontal .submenu.dropdown-menu-custom[b-01ggiwv6tf]  .nav-link:hover:not(.active),
.navmenu-container.horizontal .submenu.dropdown-menu-custom[b-01ggiwv6tf]  a:hover:not(.active) {
    background-color: var(--bg-tertiary) !important;
    color: var(--primary-color) !important;
    margin: 2px 0 !important;
}

/* .dropdown-menu-custom ::deep a.active .bi inherits primary color from parent */

.dropdown-backdrop[b-01ggiwv6tf] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: transparent;
    z-index: 9998;
}

/* ── Dark Mode Overrides for Navigation Menu ── */
[data-theme="dark"] .nav-item[b-01ggiwv6tf]  .nav-link.parent-link:not(.active):not(:hover),
[data-theme="dark"] .parent-link:not(.active):not(:hover)[b-01ggiwv6tf] {
    color: var(--text-primary) !important; /* Make parent menu text white in dark mode like child menu */
}

[data-theme="dark"] .nav-item[b-01ggiwv6tf]  .nav-link:not(.active):not(:hover) .bi,
[data-theme="dark"] .nav-item[b-01ggiwv6tf]  .nav-link:not(.active):not(:hover) .fa,
[data-theme="dark"] .nav-item[b-01ggiwv6tf]  .nav-link:not(.active):not(:hover) [class*='bi-'],
[data-theme="dark"] .nav-item[b-01ggiwv6tf]  .nav-link:not(.active):not(:hover) [class*='fa-'],
[data-theme="dark"] .navmenu-container.collapsed[b-01ggiwv6tf]  .nav-link:not(.active):not(:hover) .bi,
[data-theme="dark"] .navmenu-container.collapsed[b-01ggiwv6tf]  .nav-link:not(.active):not(:hover) .fa,
[data-theme="dark"] .navmenu-container.collapsed[b-01ggiwv6tf]  .nav-link:not(.active):not(:hover) [class*='bi-'],
[data-theme="dark"] .navmenu-container.collapsed[b-01ggiwv6tf]  .nav-link:not(.active):not(:hover) [class*='fa-'],
[data-theme="dark"] .collapsed-flyout[b-01ggiwv6tf]  .flyout-link:not(.active):not(:hover) .bi,
[data-theme="dark"] .collapsed-flyout[b-01ggiwv6tf]  .flyout-link:not(.active):not(:hover) .fa,
[data-theme="dark"] .collapsed-flyout[b-01ggiwv6tf]  .flyout-link:not(.active):not(:hover) [class*='bi-'],
[data-theme="dark"] .collapsed-flyout[b-01ggiwv6tf]  .flyout-link:not(.active):not(:hover) [class*='fa-'],
[data-theme="dark"] .toggle-icon[b-01ggiwv6tf] {
    color: #e2e8f0 !important; /* Off-white icons in dark mode */
    opacity: 0.9 !important;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-2o3npb4n26],
.components-reconnect-repeated-attempt-visible[b-2o3npb4n26],
.components-reconnect-failed-visible[b-2o3npb4n26],
.components-pause-visible[b-2o3npb4n26],
.components-resume-failed-visible[b-2o3npb4n26],
.components-rejoining-animation[b-2o3npb4n26] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-2o3npb4n26],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-2o3npb4n26],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-2o3npb4n26],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-2o3npb4n26],
#components-reconnect-modal.components-reconnect-retrying[b-2o3npb4n26],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-2o3npb4n26],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-2o3npb4n26],
#components-reconnect-modal.components-reconnect-failed[b-2o3npb4n26],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-2o3npb4n26] {
    display: block;
}


#components-reconnect-modal[b-2o3npb4n26] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-2o3npb4n26 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-2o3npb4n26 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-2o3npb4n26 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-2o3npb4n26]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-2o3npb4n26 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-2o3npb4n26 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-2o3npb4n26 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-2o3npb4n26 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-2o3npb4n26] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-2o3npb4n26] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-2o3npb4n26] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-2o3npb4n26] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-2o3npb4n26] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-2o3npb4n26] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-2o3npb4n26] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-2o3npb4n26 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-2o3npb4n26] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-2o3npb4n26 {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/ForgotPassword.razor.rz.scp.css */
/* ── Base page layout ─────────────────────────────────────────────────── */
.login-page[b-hrnmqaay5q] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: 'Inter', system-ui, sans-serif;
    position: relative;
    overflow: hidden;
}

.video-bg[b-hrnmqaay5q] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.video-overlay[b-hrnmqaay5q] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 6, 23, 0.55);
    z-index: 1;
}

.login-container[b-hrnmqaay5q] {
    width: 100%;
    max-width: 400px;
    z-index: 10;
}

/* ── Card ─────────────────────────────────────────────────────────────── */
.login-card[b-hrnmqaay5q] {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 32px;
    padding: 50px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: center;
}

/* ── Brand ────────────────────────────────────────────────────────────── */
.brand-section[b-hrnmqaay5q] {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

.brand-logo[b-hrnmqaay5q] {
    width: 40px;
    height: 40px;
    background: var(--primary-color, #2563eb);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.brand-logo svg[b-hrnmqaay5q] {
    width: 22px;
    height: 22px;
}

.brand-name[b-hrnmqaay5q] {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
}

/* ── Login content ────────────────────────────────────────────────────── */
.login-content[b-hrnmqaay5q] {
    text-align: center;
}

.login-content h2[b-hrnmqaay5q] {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.4rem;
    letter-spacing: -0.5px;
}

.login-content p[b-hrnmqaay5q] {
    color: #475569;
    font-size: 0.95rem;
    margin-bottom: 1.8rem;
}

/* ── Form group ───────────────────────────────────────────────────────── */
.form-group[b-hrnmqaay5q] {
    margin-bottom: 1.2rem;
    text-align: left;
}

.form-group label[b-hrnmqaay5q] {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.custom-login-input.e-input-group[b-hrnmqaay5q] {
    border-radius: 12px !important;
    border: 2px solid #e2e8f0 !important;
    background: rgba(248, 250, 252, 0.8) !important;
    padding: 2px 10px !important;
    transition: all 0.2s !important;
    height: 52px !important;
}

.custom-login-input.e-input-group.e-input-focus[b-hrnmqaay5q] {
    border-color: var(--primary-color, #2563eb) !important;
    background: white !important;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1) !important;
}

/* ── Login button ─────────────────────────────────────────────────────── */
.btn-login[b-hrnmqaay5q] {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary-color, #2563eb), #4f46e5);
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
}

.btn-login:hover:not(:disabled)[b-hrnmqaay5q] {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(37, 99, 235, 0.45);
}

.btn-login:disabled[b-hrnmqaay5q] {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ── Footer ───────────────────────────────────────────────────────────── */
.login-footer[b-hrnmqaay5q] {
    text-align: center;
    font-size: 0.875rem;
    color: #94a3b8;
    margin-top: -8px;
}

/* ═══════════════════════════════════════════════════════════════════════
   Forgot-password specific styles
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Step indicator ───────────────────────────────────────────────────── */
.step-indicator[b-hrnmqaay5q] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.step[b-hrnmqaay5q] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.step-num[b-hrnmqaay5q] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    background: #e2e8f0;
    color: #94a3b8;
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
}

.step.active .step-num[b-hrnmqaay5q] {
    background: var(--primary-color, #2563eb);
    color: white;
    border-color: var(--primary-color, #2563eb);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18);
}

.step.done .step-num[b-hrnmqaay5q] {
    background: #10b981;
    color: white;
    border-color: #10b981;
}

.step-label[b-hrnmqaay5q] {
    font-size: 0.72rem;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.03em;
    transition: color 0.3s;
}

.step.active .step-label[b-hrnmqaay5q],
.step.done .step-label[b-hrnmqaay5q] {
    color: #1e293b;
}

.step-line[b-hrnmqaay5q] {
    flex: 1;
    height: 2px;
    background: #e2e8f0;
    margin: 0 6px;
    margin-bottom: 20px;
    border-radius: 2px;
    transition: background 0.4s;
}

.step-line.active[b-hrnmqaay5q] {
    background: var(--primary-color, #2563eb);
}

/* ── Error / alert message ────────────────────────────────────────────── */
.alert-msg[b-hrnmqaay5q] {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #dc2626;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: left;
}

/* ── Resend OTP row ───────────────────────────────────────────────────── */
.resend-row[b-hrnmqaay5q] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    font-size: 0.85rem;
    color: #64748b;
}

.btn-link[b-hrnmqaay5q] {
    background: none;
    border: none;
    color: var(--primary-color, #2563eb);
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    font-size: 0.85rem;
    text-decoration: underline;
}

.btn-link:hover[b-hrnmqaay5q] {
    color: #1d4ed8;
}

.btn-link:disabled[b-hrnmqaay5q] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ── Back to login link ───────────────────────────────────────────────── */
.back-link-row[b-hrnmqaay5q] {
    text-align: center;
    margin-top: -8px;
}

.back-link[b-hrnmqaay5q] {
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.back-link:hover[b-hrnmqaay5q] {
    color: var(--primary-color, #2563eb);
}

/* Custom logo sizing and formatting */
.brand-logo.has-custom-logo[b-hrnmqaay5q] {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
}

.brand-logo.has-custom-logo img[b-hrnmqaay5q] {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.brand-logo.has-custom-logo svg[b-hrnmqaay5q] {
    width: 100%;
    height: 100%;
    padding: 6px;
}

/* Custom company image logo container */
.brand-logo.has-custom-image-logo[b-hrnmqaay5q] {
    width: 160px;
    height: 160px;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    margin-top: -50px;
    margin-bottom: -50px;
}

.brand-logo.has-custom-image-logo img[b-hrnmqaay5q] {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
/* /Components/Pages/Login.razor.rz.scp.css */
.login-page[b-9w4gcp7241] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: 'Inter', system-ui, sans-serif;
    position: relative;
    overflow: hidden;
}

.video-bg[b-9w4gcp7241] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.video-overlay[b-9w4gcp7241] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 6, 23, 0.55);
    z-index: 1;
}

.login-container[b-9w4gcp7241] {
    width: 100%;
    max-width: 400px;
    z-index: 10;
}

.login-card[b-9w4gcp7241] {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 32px;
    padding: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}

.brand-name[b-9w4gcp7241] {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
}

.login-content h2[b-9w4gcp7241] {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.login-content p[b-9w4gcp7241] {
    color: #475569;
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

.form-group label[b-9w4gcp7241] {
    color: #1e293b !important;
    font-weight: 700;
}

.custom-login-input.e-input-group[b-9w4gcp7241] {
    background: rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 16px !important;
    color: #1e293b !important;
}

[b-9w4gcp7241] .custom-login-input .e-input {
    color: #1e293b !important;
    background-color: transparent !important;
}

[b-9w4gcp7241] .custom-login-input .e-input::placeholder {
    color: rgba(0, 0, 0, 0.4) !important;
}

/* Global autofill fix for transparent background */
[b-9w4gcp7241] input:-webkit-autofill,
[b-9w4gcp7241] input:-webkit-autofill:hover,
[b-9w4gcp7241] input:-webkit-autofill:focus,
[b-9w4gcp7241] input:-webkit-autofill:active,
[b-9w4gcp7241] .e-input:-webkit-autofill,
[b-9w4gcp7241] .e-input:-webkit-autofill:hover,
[b-9w4gcp7241] .e-input:-webkit-autofill:focus,
[b-9w4gcp7241] .e-input:-webkit-autofill:active,
[b-9w4gcp7241] .custom-login-input .e-input:-webkit-autofill,
[b-9w4gcp7241] .custom-login-input .e-input:-webkit-autofill:hover,
[b-9w4gcp7241] .custom-login-input .e-input:-webkit-autofill:focus,
[b-9w4gcp7241] .custom-login-input .e-input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s, color 5000s ease-in-out 0s !important;
    -webkit-text-fill-color: #1e293b !important;
    background-color: transparent !important;
}

.remember-me[b-9w4gcp7241],
.forgot-password[b-9w4gcp7241] {
    color: #1e293b !important;
    font-weight: 600;
}

.forgot-password:hover[b-9w4gcp7241] {
    text-decoration: underline;
    color: var(--primary-color, #2563eb) !important;
}

.login-footer p[b-9w4gcp7241] {
    color: #64748b;
    font-weight: 500;
}

.btn-login[b-9w4gcp7241] {
    background: linear-gradient(135deg, var(--primary-color, #2563eb), #4f46e5) !important;
    border-radius: 18px !important;
    height: 56px !important;
    font-size: 1.1rem !important;
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.5) !important;
}

.login-container[b-9w4gcp7241] {
    width: 100%;
    max-width: 400px;
    z-index: 2;
}

.login-card[b-9w4gcp7241] {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 32px;
    padding: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.brand-section[b-9w4gcp7241] {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

.brand-logo[b-9w4gcp7241] {
    width: 40px;
    height: 40px;
    background: var(--primary-color, #2563eb);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-name[b-9w4gcp7241] {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
}

.brand-name span[b-9w4gcp7241] {
    color: var(--primary-color, #2563eb);
}

.login-content[b-9w4gcp7241] {
    text-align: center;
}

.login-content h2[b-9w4gcp7241] {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.login-content p[b-9w4gcp7241] {
    color: #64748b;
    margin-bottom: 2rem;
}

.form-group[b-9w4gcp7241] {
    margin-bottom: 0.9rem;
    text-align: left;
}

.form-group label[b-9w4gcp7241] {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.8rem;
}

.custom-login-input.e-input-group[b-9w4gcp7241] {
    border-radius: 12px !important;
    border: 2px solid #e2e8f0 !important;
    background: rgba(248, 250, 252, 0.8) !important;
    padding: 2px 10px !important;
    transition: all 0.2s !important;
    height: 52px !important;
}

.custom-login-input.e-input-group.e-input-focus[b-9w4gcp7241] {
    border-color: var(--primary-color, #2563eb) !important;
    border-top-color: transparent !important;
    background: white !important;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1) !important;
}

/* Error (not focused): full red border - no notch so label doesn't look cut */
.custom-login-input.e-input-group.e-error[b-9w4gcp7241],
.custom-login-input.e-input-group.invalid[b-9w4gcp7241] {
    border-color: var(--error-color, #ef4444) !important;
    box-shadow: none !important;
}

/* Error + focused: transparent top so pseudo-elements create the notch */
.custom-login-input.e-input-group.e-error.e-input-focus[b-9w4gcp7241],
.custom-login-input.e-input-group.invalid.e-input-focus[b-9w4gcp7241] {
    border-color: var(--error-color, #ef4444) !important;
    border-top-color: transparent !important;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1) !important;
}

.form-options[b-9w4gcp7241] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}

.remember-me[b-9w4gcp7241] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: #64748b;
    cursor: pointer;
}

.forgot-password[b-9w4gcp7241] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color, #2563eb);
    text-decoration: none;
}

.btn-login[b-9w4gcp7241] {
    width: 100%;
    padding: 16px;
    background: var(--primary-color, #2563eb);
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.2);
}

.btn-login:hover[b-9w4gcp7241] {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.3);
}

.login-footer[b-9w4gcp7241] {
    text-align: center;
    font-size: 0.875rem;
    color: #94a3b8;
}

/* Custom logo sizing and formatting */
.brand-logo.has-custom-logo[b-9w4gcp7241] {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
}

.brand-logo.has-custom-logo img[b-9w4gcp7241] {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.brand-logo.has-custom-logo svg[b-9w4gcp7241] {
    width: 100%;
    height: 100%;
    padding: 6px;
}

/* Custom company image logo container */
.brand-logo.has-custom-image-logo[b-9w4gcp7241] {
    width: 160px;
    height: 160px;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    margin-top: -50px;
    margin-bottom: -50px;
}

.brand-logo.has-custom-image-logo img[b-9w4gcp7241] {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
/* /Components/Pages/Security/CompanyTypeMenu.razor.rz.scp.css */
.grid-container[b-p5cgf36tns] {
    padding: 0px;
}

.grid-header[b-p5cgf36tns] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.grid-title[b-p5cgf36tns] {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.toolbar-section[b-p5cgf36tns] {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.grid-actions[b-p5cgf36tns] {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    align-items: center;
}

/* Beautiful Empty State */
.empty-state[b-p5cgf36tns] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    background: var(--bg-primary);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    text-align: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    margin-top: 1rem;
}

.empty-state-icon[b-p5cgf36tns] {
    font-size: 3.5rem;
    color: var(--text-tertiary);
    background: var(--bg-secondary);
    width: 6rem;
    height: 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
}

.empty-state h3[b-p5cgf36tns] {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.empty-state p[b-p5cgf36tns] {
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-width: 28rem;
    margin: 0;
}

/* Grid Row Styling */
[b-p5cgf36tns] .e-grid {
    border-radius: 12px !important;
    overflow: hidden !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
}

[b-p5cgf36tns] .e-headercell {
    background-color: var(--bg-secondary) !important;
    color: var(--text-primary) !important;
    font-weight: 700 !important;
    border-bottom: 2px solid var(--border-color) !important;
}

[b-p5cgf36tns] .e-row {
    transition: background-color 0.15s ease !important;
}

[b-p5cgf36tns] .e-row:hover {
    background-color: var(--bg-hover) !important;
}

/* Form inputs & dropdowns standard */
.form-label[b-p5cgf36tns] {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    display: inline-block;
}
/* /Components/Shared/UI/ExportDialog.razor.rz.scp.css */
.export-dialog-content[b-nmb42v5cue] {
    padding: 16px 0;
}

.export-info[b-nmb42v5cue] {
    background: var(--bg-tertiary);
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-color);
}

.export-info p[b-nmb42v5cue] {
    margin: 6px 0;
    font-size: 14px;
    color: var(--text-primary);
}

.export-options[b-nmb42v5cue] {
    margin-bottom: 24px;
}

.export-option[b-nmb42v5cue] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    margin-bottom: 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.export-option:hover[b-nmb42v5cue] {
    background: var(--bg-tertiary);
}

.export-option input[type="radio"][b-nmb42v5cue] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.export-option label[b-nmb42v5cue] {
    cursor: pointer;
    font-size: 14px;
    color: var(--text-primary);
    margin: 0;
    flex: 1;
}

.custom-range-inputs[b-nmb42v5cue] {
    margin-left: 32px;
    margin-top: 12px;
    padding: 16px;
    background: var(--bg-tertiary);
    border-radius: 6px;
}

.range-input-group[b-nmb42v5cue] {
    margin-bottom: 12px;
}

.range-input-group label[b-nmb42v5cue] {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--text-secondary);
}

.range-info[b-nmb42v5cue] {
    margin-top: 12px;
    padding: 8px 12px;
    background: #eff6ff;
    border-left: 3px solid #2563eb;
    border-radius: 4px;
    font-size: 13px;
    color: #1e40af;
    font-weight: 500;
}

[data-theme="dark"] .range-info[b-nmb42v5cue] {
    background: rgba(37, 99, 235, 0.1);
    color: #60a5fa;
}

.export-format[b-nmb42v5cue] {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.export-format label[b-nmb42v5cue] {
    display: block;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--text-primary);
}

.format-buttons[b-nmb42v5cue] {
    display: flex;
    gap: 12px;
}

.format-buttons button[b-nmb42v5cue] {
    flex: 1;
}

/* Column Selection Section */
.column-selection-section[b-nmb42v5cue] {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.section-header[b-nmb42v5cue] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.section-header h4[b-nmb42v5cue] {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.selection-actions[b-nmb42v5cue] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.link-button[b-nmb42v5cue] {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 13px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.link-button:hover[b-nmb42v5cue] {
    background: var(--bg-tertiary);
    text-decoration: underline;
}

.separator[b-nmb42v5cue] {
    color: var(--text-tertiary);
    font-size: 12px;
}

.columns-grid[b-nmb42v5cue] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 12px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    max-height: 250px;
    overflow-y: auto;
}

.column-checkbox-item[b-nmb42v5cue] {
    padding: 6px 8px;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.column-checkbox-item:hover[b-nmb42v5cue] {
    background: var(--bg-secondary);
}

.selection-info[b-nmb42v5cue] {
    margin-top: 12px;
    padding: 8px 12px;
    background: #f0fdf4;
    border-left: 3px solid #10b981;
    border-radius: 4px;
    font-size: 13px;
    color: #047857;
    font-weight: 500;
}

[data-theme="dark"] .selection-info[b-nmb42v5cue] {
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
}
