/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-16yb6api5e] {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

main[b-16yb6api5e] {
    flex: 1;
    min-width: 0;
    max-width: 100%;
}

.sidebar[b-16yb6api5e] {
    background-color: var(--bg-primary);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.sidebar-backdrop[b-16yb6api5e] {
    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-16yb6api5e] {
    display: none !important;
}

.mobile-menu-btn[b-16yb6api5e] {
    display: none !important;
}

.mobile-only-backdrop[b-16yb6api5e] {
    display: none !important;
}

.sidebar-close-btn[b-16yb6api5e] {
    display: none !important;
}

/* Desktop pe mobile-only logo hidden */
.mobile-only-logo[b-16yb6api5e] {
    display: none !important;
}

/* Desktop pe close btn hidden */

@media (max-width: 640.98px) {

    /* Sidebar RIGHT se slide hoga */
    .sidebar[b-16yb6api5e] {
        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-16yb6api5e] {
        transform: translateX(0);
    }

    .sidebar-header[b-16yb6api5e] {
        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-16yb6api5e] {
        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-16yb6api5e] {
        background: var(--border-color);
        color: var(--primary-color);
    }

    .sidebar-footer[b-16yb6api5e] {
        display: none;
    }

    .topbar-left[b-16yb6api5e] {
        display: none !important;
    }

    .desktop-only-logo[b-16yb6api5e] {
        display: none !important;
    }

    .mobile-only-logo[b-16yb6api5e] {
        display: inline !important;
    }

    .logo-full[b-16yb6api5e] {
        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-16yb6api5e] {
        display: flex !important;
        flex-direction: column;
    }

    .sidebar .sidebar-content[b-16yb6api5e],
    .mobile-sidebar .sidebar-content[b-16yb6api5e] {
        flex: 1;
        overflow-y: auto;
        overflow-x: hidden;
    }

    /* Mobile backdrop sirf mobile pe */
    .mobile-only-backdrop[b-16yb6api5e] {
        display: block !important;
        z-index: 9998;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
    }

    .topbar-nav[b-16yb6api5e] {
        display: none !important;
    }

    /* Mobile hamburger button SHOW */
    .mobile-menu-btn[b-16yb6api5e] {
        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-16yb6api5e],
    article[b-16yb6api5e] {
        padding-left: 0rem !important;
        padding-right: 0rem !important;
    }

    .top-row .user-info[b-16yb6api5e] {
        margin-left: 16rem !important;
    }
}


.top-row[b-16yb6api5e]  a,
.top-row[b-16yb6api5e]  .btn-link {
    white-space: nowrap;
    margin-left: 1.5rem;
    text-decoration: none;
}

.top-row[b-16yb6api5e]  a:hover,
.top-row[b-16yb6api5e]  .btn-link:hover {
    text-decoration: underline;
}

.top-row[b-16yb6api5e]  a:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 640.98px) {
    .top-row[b-16yb6api5e] {
        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-16yb6api5e]  a,
    .top-row[b-16yb6api5e]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-16yb6api5e] {
        flex-direction: row;
        height: 100vh;
        overflow: hidden;
    }

    .sidebar[b-16yb6api5e] {
        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-16yb6api5e] {
        width: 64px;
    }

    .sidebar-header[b-16yb6api5e] {
        height: 60px;
        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.collapsed .sidebar-header[b-16yb6api5e] {
        padding: 0;
        margin-left: 0 !important;
        justify-content: center;
    }

    .logo-full[b-16yb6api5e] {
        font-weight: 800;
        font-size: 1.2rem;
        color: var(--primary-color);
        white-space: nowrap;
        letter-spacing: -0.5px;
    }

    .logo-abbr[b-16yb6api5e] {
        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-16yb6api5e] {
        flex: 1;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .sidebar-footer[b-16yb6api5e] {
        padding: 1rem;
        border-top: 1px solid var(--border-color);
        background: var(--bg-secondary);
    }

    .collapse-toggle-btn[b-16yb6api5e] {
        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-16yb6api5e] {
        background: var(--border-color);
        transform: scale(1.02);
    }

    .top-row[b-16yb6api5e] {
        position: sticky;
        top: 0;
        z-index: 1000;
        display: flex;
        align-items: center;
        background: var(--bg-primary);
        overflow: visible !important;
    }

    .topbar-left[b-16yb6api5e] {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .mobile-toggle-btn[b-16yb6api5e] {
        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-16yb6api5e] {
        padding-left: 0 !important;
    }

    .topbar-nav[b-16yb6api5e] {
        flex: 1;
        display: flex;
        align-items: center;
        height: 100%;
        margin-right: 20px;
    }

    .horizontal-layout .top-row[b-16yb6api5e] {
        height: 3.5rem;
        padding-left: 1.5rem !important;
        border-bottom: 2px solid var(--primary-light);
    }

    .horizontal-layout .sidebar[b-16yb6api5e] {
        display: none;
    }

    .app-title[b-16yb6api5e] {
        font-weight: 700;
        font-size: 1.1rem;
        color: var(--primary-color);
        white-space: nowrap;
    }

    .top-row.auth[b-16yb6api5e]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-16yb6api5e],
    article[b-16yb6api5e] {
        padding-left: 0rem !important;
        padding-right: 0rem !important;
    }

    main[b-16yb6api5e] {
        height: 100vh;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    article.content[b-16yb6api5e] {
        flex: 1;
        overflow-y: auto;
        padding-top: 20px;
        padding-bottom: 20px;
    }

}

#blazor-error-ui[b-16yb6api5e] {
    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-16yb6api5e] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.layout-loading-fullscreen[b-16yb6api5e] {
    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-16yb6api5e] {
    position: relative;
    width: 180px;
    z-index: 1001;
    margin-right: 0;
    overflow: visible !important;
}

.search-input-wrapper[b-16yb6api5e] {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon[b-16yb6api5e] {
    position: absolute;
    left: 12px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.menu-search-input[b-16yb6api5e] {
    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;
}

.menu-search-input:focus[b-16yb6api5e] {
    border-color: var(--border-color);
    background: var(--bg-tertiary);
}

.search-results-dropdown[b-16yb6api5e] {
    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-16yb6api5e 0.2s ease;
}

.search-results-overlay[b-16yb6api5e] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
}

.search-result-item[b-16yb6api5e] {
    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-16yb6api5e],
.search-result-item.selected[b-16yb6api5e] {
    background: var(--bg-tertiary);
    color: var(--primary-color);
    padding-left: 16px;
}

.search-result-item i[b-16yb6api5e] {
    width: 24px;
    font-size: 1.1rem;
}

@keyframes slideDown-b-16yb6api5e {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .menu-search-container[b-16yb6api5e] {
        display: block !important;
        position: absolute !important;
        left: 12px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: calc(100% - 150px) !important;
        max-width: 300px !important;
        margin: 0 !important;
        z-index: 1050 !important;
    }

    .menu-search-input[b-16yb6api5e] {
        width: 100% !important;
        margin: 0 !important;
        font-size: 0.85rem;
        padding: 7px 10px 7px 32px !important;
    }

    .search-results-dropdown[b-16yb6api5e] {
        width: 100%;
        left: 0;
        right: 0;
    }
}


/*.razor css*/

.user-profile-dropdown[b-16yb6api5e] {
    position: relative;
    margin-left: 0;
}

.user-info[b-16yb6api5e] {
    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-16yb6api5e] {
    background: var(--bg-tertiary);
}

.user-avatar[b-16yb6api5e] {
    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-16yb6api5e] {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.user-name[b-16yb6api5e] {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
}

.user-company[b-16yb6api5e] {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

@media (max-width: 576px) {
    .user-info[b-16yb6api5e] {
        padding: 4px 8px;
        gap: 5px;
    }

    .user-avatar[b-16yb6api5e] {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}

.dropdown-backdrop[b-16yb6api5e] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: transparent;
    z-index: 999;
}

.dropdown-menu-custom[b-16yb6api5e] {
    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-16yb6api5e 0.2s ease;
}

.dropdown-header-custom[b-16yb6api5e] {
    padding: 12px 16px;
    background: var(--bg-secondary);
}

.dropdown-header-custom p[b-16yb6api5e] {
    margin: 0 !important;
    font-size: 0.75rem !important;
    color: var(--text-secondary) !important;
}

.dropdown-header-custom strong[b-16yb6api5e] {
    color: var(--text-primary) !important;
    display: block !important;
    margin-top: 2px !important;
    font-weight: 700 !important;
}

.dropdown-item-custom[b-16yb6api5e] {
    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-16yb6api5e] {
    background: var(--bg-tertiary);
    color: var(--primary-color);
}

.dropdown-divider[b-16yb6api5e] {
    height: 1px;
    background: var(--border-color);
    margin: 4px 0;
}

@keyframes slideDown-b-16yb6api5e {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.top-row[b-16yb6api5e] {
    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;
}

@media (max-width: 768px) {
    .top-row[b-16yb6api5e] {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
        justify-content: flex-end;
    }

    .app-title[b-16yb6api5e] {
        font-size: 1rem;
    }
}

.app-title[b-16yb6api5e] {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}


.topbar-left[b-16yb6api5e] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

/* ====================== HORIZONTAL MENU SCROLL FIX ====================== */

.topbar-nav[b-16yb6api5e] {
    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-16yb6api5e] {
    height: 100%;
    width: 100%;
}

.navmenu-container.horizontal .nav-scrollable[b-16yb6api5e] {
    height: 100%;
    width: 100%;
    overflow-x: auto !important;
    overflow-y: visible !important;
    scrollbar-width: thin;
    scrollbar-color: #2563eb transparent;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
}

/* Webkit Scrollbar */
.navmenu-container.horizontal .nav-scrollable[b-16yb6api5e]::-webkit-scrollbar {
    height: 5px;
}

.navmenu-container.horizontal .nav-scrollable[b-16yb6api5e]::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.navmenu-container.horizontal .nav-scrollable[b-16yb6api5e]::-webkit-scrollbar-thumb {
    background: var(--primary-color, #2563eb);
    border-radius: 10px;
}

.navmenu-container.horizontal .nav-scrollable[b-16yb6api5e]::-webkit-scrollbar-thumb:hover {
    background: #1e40af;
}

/* Nav Items Container */
.navmenu-container.horizontal .nav[b-16yb6api5e] {
    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-16yb6api5e] {
    padding: 0 !important;
    margin: 0 2px;
    flex: 0 0 auto;
    white-space: nowrap;
}

.navmenu-container.horizontal .nav-link[b-16yb6api5e] {
    height: 42px !important;
    padding: 0 9px !important;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.topbar-actions[b-16yb6api5e] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    overflow: visible !important;
    /* Fix: Allow search dropdown to be seen */
}

@media (max-width: 576px) {
    .topbar-actions[b-16yb6api5e] {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 8px;
    }
}

.topbar-icon[b-16yb6api5e] {
    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-16yb6api5e] {
    background: var(--border-color);
    transform: scale(1.05);
    color: var(--primary-color);
}

.page[b-16yb6api5e] {
    background-color: var(--bg-secondary) !important;
}

main[b-16yb6api5e] {
    background-color: var(--bg-secondary) !important;
}

.content[b-16yb6api5e] {
    padding-top: 20px;
}

/* Content-area-only loading spinner */
.content-body-wrapper[b-16yb6api5e] {
    position: relative;
    min-height: calc(100vh - 180px);
}

/* Navigation spinner overlay — covers only the main content area (right of sidebar, below topbar) */
.nav-spinner-overlay[b-16yb6api5e] {
    position: fixed;
    top: 60px; /* topbar height — keeps topbar visible */
    /* Offset by sidebar width so sidebar stays visible */
    left: 250px;
    right: 0;
    bottom: 0;
    z-index: 99999;
    pointer-events: all;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* When sidebar is collapsed, adjust left offset */
.vertical-layout.sidebar-collapsed ~ .nav-spinner-overlay[b-16yb6api5e],
.nav-spinner-overlay.sidebar-collapsed[b-16yb6api5e] {
    left: 64px;
}

/* When horizontal layout is active, loader spans full width */
.horizontal-layout ~ .nav-spinner-overlay[b-16yb6api5e] {
    left: 0;
}

/* On mobile / horizontal layout — cover full screen */
@media (max-width: 640.98px) {
    .nav-spinner-overlay[b-16yb6api5e] {
        left: 0;
    }
}

/* Override the LoadingSpinner's fixed positioning so it stays within nav-spinner-overlay */
.nav-spinner-overlay[b-16yb6api5e]  .ls-backdrop,
.nav-spinner-overlay[b-16yb6api5e]  .ai-universe-backdrop {
    position: absolute !important;
    inset: 0 !important;
}

.layout-loading[b-16yb6api5e] {
    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-16yb6api5e] {
    display: flex;
    align-items: center;
    width: 220px;
}

[b-16yb6api5e] .topbar-company-select .e-dropdownlist {
    width: 100% !important;
}

[b-16yb6api5e] .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-16yb6api5e] .custom-topbar-select.e-input-group.e-input-focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px var(--primary-light) !important;
}

[b-16yb6api5e] .custom-topbar-select .e-input {
    color: var(--text-primary) !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
}

[b-16yb6api5e] .custom-topbar-select .e-ddl-icon {
    color: var(--text-secondary) !important;
}

@media (max-width: 768px) {
    .topbar-company-select[b-16yb6api5e] {
        width: 160px;
    }
}

@media (max-width: 480px) {
    .topbar-company-select[b-16yb6api5e] {
        width: 125px;
        margin-right: 5px;
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.top-row[b-fhdtuj73dg] {
    min-height: 3.5rem;
    background-color: rgba(0, 0, 0, 0.4);
}

.navbar-brand[b-fhdtuj73dg] {
    font-size: 1.1rem;
}

.bi[b-fhdtuj73dg] {
    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-fhdtuj73dg] {
    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-fhdtuj73dg] {
    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-fhdtuj73dg] {
    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-fhdtuj73dg] {
    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-fhdtuj73dg] {
    font-size: 0.875rem;
    padding-bottom: 0.5rem;
}

.nav-item:first-of-type[b-fhdtuj73dg] {
    padding-top: 1rem;
}

.nav-item:last-of-type[b-fhdtuj73dg] {
    padding-bottom: 1rem;
}

.nav-item[b-fhdtuj73dg]  .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;
    font-size: 0.875rem !important;
}

.nav-item[b-fhdtuj73dg]  a.active {
    background-color: rgba(var(--primary-rgb, 37, 99, 235), 0.1) !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-fhdtuj73dg]  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-fhdtuj73dg]  .nav-link:hover:not(.active) {
    background-color: var(--bg-tertiary);
    color: var(--primary-color);
    text-decoration: none !important;
}

.nav-scrollable[b-fhdtuj73dg] {
    display: block;
    height: 100%;
    overflow-y: auto;
}

/* Collapsed Sidebar Styles */
.navmenu-container.collapsed .bi[b-fhdtuj73dg] {
    margin-right: 0 !important;
    font-size: 1.25rem;
}

/* Each icon row: fixed height, center icon both axes */
.navmenu-container.collapsed .nav-item[b-fhdtuj73dg] {
    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-fhdtuj73dg]  .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-fhdtuj73dg]  .nav-link>span:first-child,
.navmenu-container.collapsed[b-fhdtuj73dg]  .nav-link .bi,
.navmenu-container.collapsed[b-fhdtuj73dg]  .nav-link [class*='bi-'] {
    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-fhdtuj73dg]  .nav-link.parent-link.active,
.navmenu-container.collapsed[b-fhdtuj73dg]  .nav-link.active {
    background-color: rgba(var(--primary-rgb, 37, 99, 235), 0.12) !important;
    color: var(--primary-color) !important;
}

/* Hover — IDENTICAL box to active */
.navmenu-container.collapsed[b-fhdtuj73dg]  .nav-link:hover:not(.active) {
    background-color: rgba(var(--primary-rgb, 37, 99, 235), 0.08) !important;
    color: var(--primary-color) !important;
}

/* ── Collapsed Flyout Submenu ── */
.collapsed-flyout-wrapper[b-fhdtuj73dg] {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
}

.collapsed-flyout[b-fhdtuj73dg] {
    display: flex;
    position: fixed;
    left: 64px;
    top: 20px;
    max-height: 350px;
    overflow-y: auto;
    overflow-x: hidden;
    /* 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: none;
    scrollbar-color: #f1f5f9 transparent;
}

/* Webkit Scrollbar for flyout */
.collapsed-flyout[b-fhdtuj73dg]::-webkit-scrollbar {
    width: 5px;
}

.collapsed-flyout[b-fhdtuj73dg]::-webkit-scrollbar-track {
    background: transparent;
}

    .collapsed-flyout[b-fhdtuj73dg]::-webkit-scrollbar-thumb {
        background: #f1f5f9;
        border-radius: 10px;
    }

.collapsed-flyout[b-fhdtuj73dg]::-webkit-scrollbar-thumb:hover {
    background: #1e40af;
}

.flyout-label[b-fhdtuj73dg] {
    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-fhdtuj73dg]  .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 !important;
    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-fhdtuj73dg]  .flyout-link:hover {
    background-color: var(--bg-tertiary) !important;
    color: var(--primary-color) !important;
}

.collapsed-flyout[b-fhdtuj73dg]  .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-fhdtuj73dg]  .flyout-link>span,
.collapsed-flyout[b-fhdtuj73dg]  .flyout-link .bi,
.collapsed-flyout[b-fhdtuj73dg]  .flyout-link [class*='bi-'] {
    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-fhdtuj73dg] {
    display: flex;
    justify-content: center;
    width: 100%;
}

.navmenu-container.horizontal[b-fhdtuj73dg] {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    margin-top: 0.6%;
    margin-left: 0%;
}

.navmenu-container.horizontal .nav-scrollable[b-fhdtuj73dg] {
    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-fhdtuj73dg]::-webkit-scrollbar {
    height: 0 !important;
    width: 0 !important;
    background: transparent !important;
}

.navmenu-container.horizontal .nav[b-fhdtuj73dg] {
    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-fhdtuj73dg] {
    padding: 0 !important;
    margin: 0 0px;
    flex: 0 0 auto;
}

.navmenu-container.horizontal[b-fhdtuj73dg]  .nav-link,
.navmenu-container.horizontal .nav-link[b-fhdtuj73dg] {
    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-fhdtuj73dg] {
    margin-right: 0px;
}

.parent-link[b-fhdtuj73dg] {
    cursor: pointer;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0px;
}

.parent-link .toggle-icon[b-fhdtuj73dg] {
    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-fhdtuj73dg] {
    transform: rotate(180deg);
}

.submenu[b-fhdtuj73dg] {
    display: flex;
    flex-direction: column;
    margin-top: 0.2rem;
}

.submenu .nav-link[b-fhdtuj73dg] {
    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.875rem !important;
    opacity: 1 !important;
}

/* Horizontal specific submenu */
.navmenu-container.horizontal .has-children[b-fhdtuj73dg] {
    position: static !important;
}

.navmenu-container.horizontal .submenu.dropdown-menu-custom[b-fhdtuj73dg] {
    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;
    /* Firefox - Hide scrollbar */
    scrollbar-width: none;
    /* Edge/IE - Hide scrollbar */
    -ms-overflow-style: none;
    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-fhdtuj73dg] {
    outline: none;
}

/* Submenu Custom Scrollbar - Hidden completely as requested */
.navmenu-container.horizontal .submenu.dropdown-menu-custom[b-fhdtuj73dg]::-webkit-scrollbar {
    width: 0px;
    display: none;
}

/* Inner items - perfectly fitting the parent padding */
.navmenu-container.horizontal .submenu.dropdown-menu-custom[b-fhdtuj73dg]  .nav-link,
.navmenu-container.horizontal .submenu.dropdown-menu-custom[b-fhdtuj73dg]  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-fhdtuj73dg]  .nav-link.active,
.navmenu-container.horizontal .submenu.dropdown-menu-custom[b-fhdtuj73dg]  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-fhdtuj73dg]  .nav-link:hover:not(.active),
.navmenu-container.horizontal .submenu.dropdown-menu-custom[b-fhdtuj73dg]  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-fhdtuj73dg] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: transparent;
    z-index: 9998;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-le6dc5jak3],
.components-reconnect-repeated-attempt-visible[b-le6dc5jak3],
.components-reconnect-failed-visible[b-le6dc5jak3],
.components-pause-visible[b-le6dc5jak3],
.components-resume-failed-visible[b-le6dc5jak3],
.components-rejoining-animation[b-le6dc5jak3] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-le6dc5jak3],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-le6dc5jak3],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-le6dc5jak3],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-le6dc5jak3],
#components-reconnect-modal.components-reconnect-retrying[b-le6dc5jak3],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-le6dc5jak3],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-le6dc5jak3],
#components-reconnect-modal.components-reconnect-failed[b-le6dc5jak3],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-le6dc5jak3] {
    display: block;
}


#components-reconnect-modal[b-le6dc5jak3] {
    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-le6dc5jak3 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-le6dc5jak3 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-le6dc5jak3 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-le6dc5jak3]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-le6dc5jak3 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-le6dc5jak3 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-le6dc5jak3 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-le6dc5jak3 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-le6dc5jak3] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-le6dc5jak3] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-le6dc5jak3] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-le6dc5jak3] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-le6dc5jak3] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-le6dc5jak3] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-le6dc5jak3] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-le6dc5jak3 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-le6dc5jak3] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-le6dc5jak3 {
    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-8rl7wz14g5] {
    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-8rl7wz14g5] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.video-overlay[b-8rl7wz14g5] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 6, 23, 0.55);
    z-index: 1;
}

.login-container[b-8rl7wz14g5] {
    width: 100%;
    max-width: 500px;
    z-index: 10;
}

/* ── Card ─────────────────────────────────────────────────────────────── */
.login-card[b-8rl7wz14g5] {
    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-8rl7wz14g5] {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

.brand-logo[b-8rl7wz14g5] {
    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-8rl7wz14g5] {
    width: 22px;
    height: 22px;
}

.brand-name[b-8rl7wz14g5] {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
}

/* ── Login content ────────────────────────────────────────────────────── */
.login-content[b-8rl7wz14g5] {
    text-align: center;
}

.login-content h2[b-8rl7wz14g5] {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.4rem;
    letter-spacing: -0.5px;
}

.login-content p[b-8rl7wz14g5] {
    color: #475569;
    font-size: 0.95rem;
    margin-bottom: 1.8rem;
}

/* ── Form group ───────────────────────────────────────────────────────── */
.form-group[b-8rl7wz14g5] {
    margin-bottom: 1.2rem;
    text-align: left;
}

.form-group label[b-8rl7wz14g5] {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.custom-login-input.e-input-group[b-8rl7wz14g5] {
    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-8rl7wz14g5] {
    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-8rl7wz14g5] {
    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-8rl7wz14g5] {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(37, 99, 235, 0.45);
}

.btn-login:disabled[b-8rl7wz14g5] {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ── Footer ───────────────────────────────────────────────────────────── */
.login-footer[b-8rl7wz14g5] {
    text-align: center;
    font-size: 0.875rem;
    color: #94a3b8;
    margin-top: -8px;
}

/* ═══════════════════════════════════════════════════════════════════════
   Forgot-password specific styles
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Step indicator ───────────────────────────────────────────────────── */
.step-indicator[b-8rl7wz14g5] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.step[b-8rl7wz14g5] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.step-num[b-8rl7wz14g5] {
    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-8rl7wz14g5] {
    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-8rl7wz14g5] {
    background: #10b981;
    color: white;
    border-color: #10b981;
}

.step-label[b-8rl7wz14g5] {
    font-size: 0.72rem;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.03em;
    transition: color 0.3s;
}

.step.active .step-label[b-8rl7wz14g5],
.step.done .step-label[b-8rl7wz14g5] {
    color: #1e293b;
}

.step-line[b-8rl7wz14g5] {
    flex: 1;
    height: 2px;
    background: #e2e8f0;
    margin: 0 6px;
    margin-bottom: 20px;
    border-radius: 2px;
    transition: background 0.4s;
}

.step-line.active[b-8rl7wz14g5] {
    background: var(--primary-color, #2563eb);
}

/* ── Error / alert message ────────────────────────────────────────────── */
.alert-msg[b-8rl7wz14g5] {
    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-8rl7wz14g5] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    font-size: 0.85rem;
    color: #64748b;
}

.btn-link[b-8rl7wz14g5] {
    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-8rl7wz14g5] {
    color: #1d4ed8;
}

.btn-link:disabled[b-8rl7wz14g5] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ── Back to login link ───────────────────────────────────────────────── */
.back-link-row[b-8rl7wz14g5] {
    text-align: center;
    margin-top: -8px;
}

.back-link[b-8rl7wz14g5] {
    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-8rl7wz14g5] {
    color: var(--primary-color, #2563eb);
}
/* /Components/Pages/Login.razor.rz.scp.css */
/* =============================================
   InfoHR — Native Syncfusion Login Design
   Standard Inputs + Right-Aligned Icons
   ============================================= */

.login-page[b-pz6jv9kgua] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    position: relative;
    overflow: hidden;
    background: #060b1a;
}

/* =====================
   BACKGROUND
   ===================== */
.video-bg[b-pz6jv9kgua] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.video-overlay[b-pz6jv9kgua] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 6, 23, 0.55);
    z-index: 1;
}

@keyframes bgZoom-b-pz6jv9kgua {
    0%   { transform: scale(1); }
    100% { transform: scale(1.08); }
}



.light-streaks[b-pz6jv9kgua] {
    position: fixed;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.streak[b-pz6jv9kgua] {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
    transform-origin: center;
}

.s1[b-pz6jv9kgua] { width: 300%; height: 1px; top: 25%; left: -100%; transform: rotate(-25deg); animation: streakMove-b-pz6jv9kgua 2s ease-in-out infinite; }
.s2[b-pz6jv9kgua] { width: 250%; height: 1px; top: 55%; left: -80%; transform: rotate(-20deg); animation: streakMove-b-pz6jv9kgua 3s ease-in-out infinite 1s; }
.s3[b-pz6jv9kgua] { width: 280%; height: 1px; top: 80%; left: -90%; transform: rotate(-30deg); animation: streakMove-b-pz6jv9kgua 2.5s ease-in-out infinite 2s; }

@keyframes streakMove-b-pz6jv9kgua {
    0%, 100% { opacity: 0; transform: rotate(-25deg) translateX(0); }
    30%      { opacity: 1; }
    70%      { opacity: 1; }
    100%     { opacity: 0; transform: rotate(-25deg) translateX(60%); }
}

/* =====================
   CARD SHELL (Neon Blue Glow Edge)
   ===================== */
.card-shell[b-pz6jv9kgua] {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 420px;
    animation: cardReveal-b-pz6jv9kgua 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes cardReveal-b-pz6jv9kgua {
    from { opacity: 0; transform: translateY(20px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Bright Cyan/Blue glowing animated border - PROPER MIDDLE THICKNESS */
.card-border-glow[b-pz6jv9kgua] {
    position: absolute;
    inset: -3px; /* Extends exactly 3px outside the card so it is clearly visible */
    border-radius: 36px;
    background: linear-gradient(135deg, #06b6d4, #6366f1, #3b82f6, #06b6d4);
    background-size: 200% 200%;
    filter: blur(3px); /* Tight blur so it's a soft glowing line, not a massive hazy cloud */
    opacity: 1;
    animation: glowRotate-b-pz6jv9kgua 3s linear infinite;
    z-index: 0;
}

@keyframes glowRotate-b-pz6jv9kgua {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.login-card[b-pz6jv9kgua] {
    position: relative;
    background: white;
    border-radius: 34px;
    padding: 48px 42px 36px;
    overflow: hidden;
    /* Clean white solid edge like the image */
    box-shadow: inset 0 0 0 1px rgba(255,255,255,1), 0 20px 40px rgba(0,0,0,0.2);
    z-index: 1;
}

/* =====================
   LOGO (Circular Top Center)
   ===================== */
.logo-section[b-pz6jv9kgua] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

/* =====================
   ANIMATED LOGO
   ===================== */
.anim-container[b-pz6jv9kgua] {
    position: relative;
    width: 280px;
    height: 155px; /* Taller to fit the larger scale */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: cameraZoom-b-pz6jv9kgua 8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    transform: scale(1.05); /* Made significantly bigger as requested */
}

/* Floating Particles */
.particles-container[b-pz6jv9kgua] {
    position: absolute;
    inset: -60px;
    pointer-events: none;
    z-index: 0;
}
.particle[b-pz6jv9kgua] {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #4DA3FF;
    border-radius: 50%;
    filter: blur(1px);
    opacity: 0;
}
.p1[b-pz6jv9kgua] { top: 20%; left: 30%; background: #FF7A00; animation: floatUp-b-pz6jv9kgua 4s ease-in-out infinite 0.5s; }
.p2[b-pz6jv9kgua] { top: 70%; left: 20%; animation: floatUp-b-pz6jv9kgua 5s ease-in-out infinite 1s; }
.p3[b-pz6jv9kgua] { top: 40%; left: 70%; background: #FF7A00; animation: floatUp-b-pz6jv9kgua 4.5s ease-in-out infinite 1.5s; }
.p4[b-pz6jv9kgua] { top: 80%; left: 80%; animation: floatUp-b-pz6jv9kgua 5.5s ease-in-out infinite 0s; }

@keyframes floatUp-b-pz6jv9kgua {
    0% { transform: translateY(20px) scale(0); opacity: 0; }
    50% { opacity: 0.6; transform: translateY(-20px) scale(1.5); }
    100% { transform: translateY(-60px) scale(0); opacity: 0; }
}

/* Circular Ring - Tapering Crescents */
.ring-wrapper[b-pz6jv9kgua] {
    position: relative;
    width: 90px;
    height: 90px; /* Made even bigger as requested */
    margin-bottom: 12px;
    z-index: 2;
}
.crescent[b-pz6jv9kgua] {
    position: absolute;
    inset: 12px; /* Base invisible circle size */
    border-radius: 50%;
    opacity: 0;
    /* This creates the beautiful tapering crescent effect */
}
.crescent-blue[b-pz6jv9kgua] {
    box-shadow: -9px -6px 0 0 #1E4ED8; /* Top-Left crescent */
    transform: rotate(-30deg) scale(0.5);
    animation: swoopBlue-b-pz6jv9kgua 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards 0.5s;
}
.crescent-orange[b-pz6jv9kgua] {
    box-shadow: 9px 6px 0 0 #FF7A00; /* Bottom-Right crescent */
    transform: rotate(-30deg) scale(0.5);
    animation: swoopOrange-b-pz6jv9kgua 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards 0.7s;
}

@keyframes swoopBlue-b-pz6jv9kgua {
    100% { opacity: 1; transform: rotate(0deg) scale(1); }
}
@keyframes swoopOrange-b-pz6jv9kgua {
    100% { opacity: 1; transform: rotate(0deg) scale(1); }
}

.ring-wrapper[b-pz6jv9kgua]::after {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(77, 163, 255, 0.2) 0%, transparent 70%);
    opacity: 0;
    animation: pulseGlow-b-pz6jv9kgua 3s ease-in-out forwards 1.8s;
    z-index: -1;
}
@keyframes pulseGlow-b-pz6jv9kgua {
    0% { opacity: 0; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
    100% { opacity: 0.8; transform: scale(1); }
}

/* iHR Text */
.ihr-text[b-pz6jv9kgua] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    opacity: 0;
    animation: ihrReveal-b-pz6jv9kgua 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 1.2s;
}
.ihr-text .i[b-pz6jv9kgua] { color: #1E4ED8; }
.ihr-text .hr[b-pz6jv9kgua] { color: #FF7A00; }
@keyframes ihrReveal-b-pz6jv9kgua { to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }

/* infoHR Main Text */
.text-wrapper[b-pz6jv9kgua] {
    position: relative;
    overflow: hidden;
    padding: 5px 0;
    z-index: 2;
}
.main-text[b-pz6jv9kgua] {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    opacity: 0;
    transform: translateY(40px);
    animation: slideUp-b-pz6jv9kgua 1s cubic-bezier(0.16, 1, 0.3, 1) forwards 2s;
    position: relative;
}
.main-text span.info[b-pz6jv9kgua] {
    background: linear-gradient(135deg, #1E4ED8, #4DA3FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.main-text span.hr[b-pz6jv9kgua] {
    background: linear-gradient(135deg, #FF7A00, #FF9B40);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
@keyframes slideUp-b-pz6jv9kgua { to { opacity: 1; transform: translateY(0); } }

/* Light Sweep Shine */
.main-text[b-pz6jv9kgua]::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    transform: skewX(-20deg);
    animation: sweepShine-b-pz6jv9kgua 1.5s ease-in-out forwards 3s;
}
@keyframes sweepShine-b-pz6jv9kgua { 0% { left: -100%; } 100% { left: 200%; } }
@keyframes cameraZoom-b-pz6jv9kgua { 0% { transform: scale(1.1); } 100% { transform: scale(0.9); } }

/* =====================
   FORM FIELDS (Native Syncfusion)
   ===================== */
.fields-area[b-pz6jv9kgua] {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.sf-field-wrapper[b-pz6jv9kgua] {
    position: relative;
    width: 100%;
}

/* Force pure black font for the input text as requested */
[b-pz6jv9kgua] .e-input-group.e-outline .e-input {
    color: #000000 !important;
    font-weight: 500 !important;
}

/* Bold and darker color for the placeholder/floating label as requested */
[b-pz6jv9kgua] .e-input-group.e-outline .e-float-text {
    font-weight: 700 !important;
    color: #475569 !important; /* Dark slate */
    font-size: 0.95rem !important;
}

[b-pz6jv9kgua] .e-input-group.e-outline.e-input-focus .e-float-text,
[b-pz6jv9kgua] .e-input-group.e-outline.e-valid-input .e-float-text {
    color: #6366f1 !important; /* Blue when active */
}

/* Fix Google Autofill background hiding Syncfusion's rounded borders */
[b-pz6jv9kgua] input:-webkit-autofill,
[b-pz6jv9kgua] input:-webkit-autofill:hover,
[b-pz6jv9kgua] input:-webkit-autofill:focus,
[b-pz6jv9kgua] input:-webkit-autofill:active,
[b-pz6jv9kgua] .e-input-group.e-outline .e-input:-webkit-autofill {
    transition: background-color 5000s ease-in-out 0s, color 5000s ease-in-out 0s !important;
    -webkit-text-fill-color: #000000 !important;
    background-color: transparent !important;
}

/* Validation */
[b-pz6jv9kgua] .validation-message {
    color: #ef4444 !important;
    font-size: 0.76rem;
    margin-top: 6px;
    padding-left: 12px;
    font-weight: 500;
}

/* =====================
   FORM OPTIONS
   ===================== */
.form-options[b-pz6jv9kgua] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.remember-me[b-pz6jv9kgua] {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #64748b;
    cursor: pointer;
    position: relative;
    padding-left: 28px;
    user-select: none;
    font-weight: 500;
}

.remember-me:hover[b-pz6jv9kgua] { color: #1e293b; }
.remember-me input[b-pz6jv9kgua] { position: absolute; opacity: 0; width: 0; height: 0; }

.chk[b-pz6jv9kgua] {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border-radius: 5px;
    border: 1.5px solid #cbd5e1;
    background: white;
    transition: all 0.2s;
}

.remember-me input:checked ~ .chk[b-pz6jv9kgua] {
    background: #6366f1;
    border-color: #6366f1;
}

.remember-me input:checked ~ .chk[b-pz6jv9kgua]::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1.5px;
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.forgot-link[b-pz6jv9kgua] {
    font-size: 0.85rem;
    font-weight: 600;
    color: #6366f1;
    text-decoration: none;
}
.forgot-link:hover[b-pz6jv9kgua] { color: #4f46e5; text-decoration: underline; }

/* =====================
   BUTTON (Pill Shaped)
   ===================== */
.btn-login[b-pz6jv9kgua] {
    width: 100%;
    height: 54px;
    background: #6366f1;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Inter', system-ui, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    letter-spacing: 0.3px;
    transition: all 0.25s;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
}

.btn-login:hover:not(:disabled)[b-pz6jv9kgua] {
    background: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.btn-login:active:not(:disabled)[b-pz6jv9kgua] { transform: translateY(0) scale(0.98); }
.btn-login:disabled[b-pz6jv9kgua] { opacity: 0.6; cursor: not-allowed; }

.btn-arrow[b-pz6jv9kgua] {
    width: 20px;
    height: 20px;
    transition: transform 0.3s;
}
.btn-login:hover:not(:disabled) .btn-arrow[b-pz6jv9kgua] { transform: translateX(4px); }

.btn-spinner[b-pz6jv9kgua] {
    width: 20px;
    height: 20px;
    border: 2.5px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin-b-pz6jv9kgua 0.6s linear infinite;
}

@keyframes spin-b-pz6jv9kgua { to { transform: rotate(360deg); } }

/* =====================
   LOGIN STATUS BAR
   ===================== */
.login-status-bar[b-pz6jv9kgua] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    border: 1px solid #c7d2fe;
    font-size: 0.82rem;
    font-weight: 600;
    color: #4338ca;
    margin-bottom: 8px;
    animation: statusSlideIn-b-pz6jv9kgua 0.3s ease-out;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.login-status-bar[b-pz6jv9kgua]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.08), transparent);
    animation: statusShimmer-b-pz6jv9kgua 2s ease-in-out infinite;
}

@keyframes statusSlideIn-b-pz6jv9kgua {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes statusShimmer-b-pz6jv9kgua {
    0%   { left: -100%; }
    100% { left: 200%; }
}

.status-spinner[b-pz6jv9kgua] {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(99, 102, 241, 0.25);
    border-top-color: #6366f1;
    border-radius: 50%;
    animation: spin-b-pz6jv9kgua 0.6s linear infinite;
    flex-shrink: 0;
}

/* Signing-in button pulse to reinforce activity */
.btn-signing-in[b-pz6jv9kgua] {
    animation: btnPulse-b-pz6jv9kgua 2s ease-in-out infinite;
}

@keyframes btnPulse-b-pz6jv9kgua {
    0%, 100% { box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3); }
    50%      { box-shadow: 0 6px 30px rgba(99, 102, 241, 0.5); }
}

/* =====================
   FOOTER
   ===================== */
.card-footer[b-pz6jv9kgua] {
    text-align: center;
    font-size: 0.75rem;
    color: #94a3b8;
    margin: 28px 0 0 0;
    font-weight: 500;
}

.app-version[b-pz6jv9kgua] {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 8px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.68rem;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.3px;
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 500px) {
    .login-page[b-pz6jv9kgua] { padding: 16px; }
    .card-shell[b-pz6jv9kgua] { max-width: 100%; }
    .login-card[b-pz6jv9kgua] { padding: 40px 24px 30px; border-radius: 28px; }
    .form-options[b-pz6jv9kgua] { flex-direction: column; gap: 12px; align-items: flex-start; }
}
/* /Components/Pages/Master/EmployeeMaster.razor.rz.scp.css */
/* Upload Drag & Drop Area */
.custom-drag-drop-area[b-xkqv2tvvxg] {
    border: 2px dashed var(--border-color, #ccc);
    border-radius: 8px;
    background-color: #fafafa;
    transition: all 0.3s ease;
}

.custom-drag-drop-area:hover[b-xkqv2tvvxg] {
    border-color: var(--primary-color, #0d6efd);
    background-color: #f1f8ff;
}

.no-file-list .e-upload-actions[b-xkqv2tvvxg], 
.no-file-list .e-upload-files[b-xkqv2tvvxg] {
    display: none !important;
}

/* Horizontal tab styling matching navmenu */
.emp-top-tab .e-tab-header[b-xkqv2tvvxg] {
    background-color: transparent !important;
    border-bottom: 1px solid var(--border-color) !important;
    margin-bottom: 0.5rem;
}

.emp-top-tab .e-tab-header .e-toolbar-item .e-tab-wrap[b-xkqv2tvvxg] {
    color: var(--text-primary) !important;
    background: none !important;
    border: none !important;
    border-radius: 8px !important;
    min-height: 2.8rem;
    display: flex;
    align-items: center;
    transition: all 0.2s;
    font-weight: 500;
    padding: 0 1rem;
}

.emp-top-tab .e-tab-header .e-toolbar-item.e-active .e-tab-wrap[b-xkqv2tvvxg] {
    background-color: rgba(37, 99, 235, 0.1) !important;
    color: var(--primary-color) !important;
    font-weight: 600 !important;
    box-shadow: none !important;
    border-bottom: none !important;
}

.emp-top-tab .e-tab-header .e-toolbar-item .e-tab-wrap .e-tab-text[b-xkqv2tvvxg],
.emp-top-tab .e-tab-header .e-toolbar-item .e-tab-wrap .bi[b-xkqv2tvvxg] {
    color: inherit !important;
    font-weight: inherit !important;
}

.emp-top-tab .e-tab-header .e-toolbar-item:not(.e-active) .e-tab-wrap:hover[b-xkqv2tvvxg] {
    background-color: var(--bg-tertiary) !important;
    color: var(--primary-color) !important;
}

/* Vertical tab styling matching navmenu */
[b-xkqv2tvvxg] .nav-menu-style-tab .e-tab-header {
    background-color: transparent !important;
    border-right: 1px solid var(--border-color) !important;
    width: 240px !important; /* Increased width to prevent text cutoff with new padding */
    min-width: 240px !important;
    padding: 1rem 0 !important; /* Removed horizontal padding to match NavMenu */
}

[b-xkqv2tvvxg] .nav-menu-style-tab .e-tab-header .e-toolbar-items,
[b-xkqv2tvvxg] .nav-menu-style-tab .e-tab-header .e-hscroll-content,
[b-xkqv2tvvxg] .nav-menu-style-tab .e-tab-header .e-hscroll-bar,
[b-xkqv2tvvxg] .nav-menu-style-tab .e-tab-header .e-toolbar-items .e-toolbar-item {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
}

[b-xkqv2tvvxg] .nav-menu-style-tab .e-tab-header .e-toolbar-items {
    gap: 6px; /* Increased gap between tabs */
}

[b-xkqv2tvvxg] .nav-menu-style-tab .e-tab-header .e-toolbar-item {
    width: 100% !important;
    margin-bottom: 2px !important;
    align-items: stretch !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

[b-xkqv2tvvxg] .nav-menu-style-tab .e-tab-header .e-toolbar-item.e-active {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

[b-xkqv2tvvxg] .nav-menu-style-tab .e-tab-header .e-indicator,
[b-xkqv2tvvxg] .nav-menu-style-tab .e-indicator {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
}

/* Base tab item style matching nav-link */
[b-xkqv2tvvxg] .nav-menu-style-tab .e-tab-header .e-toolbar-item .e-tab-wrap {
    color: var(--text-primary) !important;
    background: none !important;
    border: none !important;
    border-radius: 8px !important;
    min-height: 2.8rem !important;
    height: auto !important;
    padding: 0.5rem 0.5rem 0.5rem 1rem !important;
    display: flex !important;
    align-items: center !important;
    transition: all 0.2s !important;
    font-weight: 500 !important;
    width: 100% !important;
    justify-content: flex-start !important;
    font-size: 0.9rem !important;
    line-height: 1.3 !important;
    outline: none !important;
}

/* Active tab matching nav-item a.active */
[b-xkqv2tvvxg] .nav-menu-style-tab .e-tab-header .e-toolbar-item.e-active .e-tab-wrap,
[b-xkqv2tvvxg] .nav-menu-style-tab .e-tab-header .e-toolbar-item.e-active:hover .e-tab-wrap {
    background-color: rgba(37, 99, 235, 0.1) !important;
    color: var(--primary-color) !important;
    font-weight: 600 !important;
    box-shadow: none !important;
    position: relative !important;
    outline: none !important;
}

/* Ensure toolbar item itself NEVER has a background even on hover */
[b-xkqv2tvvxg] .nav-menu-style-tab .e-tab-header .e-toolbar-item:hover,
[b-xkqv2tvvxg] .nav-menu-style-tab .e-tab-header .e-toolbar-item.e-active:hover,
[b-xkqv2tvvxg] .nav-menu-style-tab .e-tab-header .e-toolbar-item:focus {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Indicator line for active tab */
[b-xkqv2tvvxg] .nav-menu-style-tab .e-tab-header .e-toolbar-item.e-active .e-tab-wrap::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    height: 100% !important;
    width: 4px !important;
    background-color: var(--primary-color) !important;
    border-radius: 8px 0 0 8px !important;
}

/* Tab text and icons inherit color from wrap */
[b-xkqv2tvvxg] .nav-menu-style-tab .e-tab-header .e-toolbar-item .e-tab-wrap .e-tab-text,
[b-xkqv2tvvxg] .nav-menu-style-tab .e-tab-header .e-toolbar-item .e-tab-wrap .bi {
    color: inherit !important;
    font-weight: inherit !important;
    font-size: inherit !important;
}

/* Hover effect matching nav-link:hover */
[b-xkqv2tvvxg] .nav-menu-style-tab .e-tab-header .e-toolbar-item:not(.e-active) .e-tab-wrap:hover {
    background-color: var(--bg-tertiary) !important;
    color: var(--primary-color) !important;
}

/* Prevent text cutoff and reset inner backgrounds */
[b-xkqv2tvvxg] .nav-menu-style-tab .e-tab-header .e-toolbar-item .e-text-wrap,
[b-xkqv2tvvxg] .nav-menu-style-tab .e-tab-header .e-toolbar-item .e-tab-text {
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
    line-height: inherit;
    margin: 0 !important; /* Ensure no extra margins break the layout */
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

/* Native Language row - desktop positioning */
.native-lang-row[b-xkqv2tvvxg] {
    margin-top: -1.5rem;
    padding-left: 135px;
}

/* Fixed Footer strictly matching user's other project */
.custom-fixed-footer[b-xkqv2tvvxg] {
    position: fixed;
    bottom: 0;
    left: 260px;
    right: 0;
    height: 50px;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 16px;
    gap: 10px;
    box-shadow: 0 -1px 6px rgba(0, 0, 0, 0.05);
    z-index: 80;
    transition: left 0.3s ease;
}

.sidebar.collapsed ~ * .custom-fixed-footer[b-xkqv2tvvxg] {
    left: 70px;
}

/* Specific styling for salary component table inputs */
.calculated-table-input[b-xkqv2tvvxg] {
    width: 120px;
    text-align: right;
}

.summary-value[b-xkqv2tvvxg] {
    font-weight: bold;
    font-family: var(--font-mono, monospace);
}

/* =============================================
   MOBILE RESPONSIVE OVERRIDES (≤768px)
   ============================================= */
@media (max-width: 768px) {

    /* --- Tab header mobile optimizations --- */
    [b-xkqv2tvvxg] .nav-menu-style-tab .e-tab-header {
        width: 100% !important;
        min-width: 0 !important;
        padding: 0 !important;
        border-right: none !important;
        border-bottom: 1px solid var(--border-color) !important;
    }

    [b-xkqv2tvvxg] .nav-menu-style-tab .e-tab-header .e-toolbar-items,
    [b-xkqv2tvvxg] .nav-menu-style-tab .e-tab-header .e-hscroll-content,
    [b-xkqv2tvvxg] .nav-menu-style-tab .e-tab-header .e-hscroll-bar {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
    }

    [b-xkqv2tvvxg] .nav-menu-style-tab .e-tab-header .e-toolbar-items .e-toolbar-item {
        flex-direction: row !important;
        width: auto !important;
        margin-bottom: 0 !important;
    }

    [b-xkqv2tvvxg] .nav-menu-style-tab .e-tab-header .e-toolbar-items .e-toolbar-item .e-tab-wrap {
        width: auto !important;
        padding: 0.5rem 0.75rem !important;
    }

    [b-xkqv2tvvxg] .nav-menu-style-tab .e-tab-header .e-toolbar-item.e-active .e-tab-wrap {
        background-color: rgba(37, 99, 235, 0.1) !important;
        color: var(--primary-color) !important;
    }
    
    [b-xkqv2tvvxg] .nav-menu-style-tab .e-tab-header .e-toolbar-item.e-active .e-tab-wrap::before {
        display: none !important; /* remove left border on mobile */
    }

    [b-xkqv2tvvxg] .nav-menu-style-tab .e-tab-header .e-toolbar-item .e-tab-text {
        font-size: 0.75rem !important;
        white-space: nowrap !important;
    }

    /* Let tab content use full width */
    [b-xkqv2tvvxg] .nav-menu-style-tab .e-content, [b-xkqv2tvvxg] .emp-top-tab .e-content {
        width: 100% !important;
    }

    [b-xkqv2tvvxg] .emp-top-tab .e-tab-header {
        border-bottom: 1px solid var(--border-color) !important;
    }
    [b-xkqv2tvvxg] .emp-top-tab .e-tab-header .e-toolbar-item.e-active .e-tab-wrap {
        background-color: rgba(37, 99, 235, 0.1) !important;
        color: var(--primary-color) !important;
    }
    [b-xkqv2tvvxg] .emp-top-tab .e-tab-header .e-toolbar-item .e-tab-text {
        font-size: 0.75rem !important;
        white-space: nowrap !important;
    }

    /* --- Profile upload + fields: stack vertically --- */
    .d-flex.gap-3.mb-4[b-xkqv2tvvxg] {
        flex-direction: column !important;
        align-items: center !important;
    }

    .d-flex.gap-3.mb-4 .profile-upload-box[b-xkqv2tvvxg] {
        width: 100px !important;
        height: 120px !important;
        flex-shrink: 0;
    }

    .d-flex.gap-3.mb-4 .flex-grow-1[b-xkqv2tvvxg] {
        width: 100%;
    }

    /* --- Native language row: remove desktop padding --- */
    .native-lang-row[b-xkqv2tvvxg] {
        padding-left: 0 !important;
        margin-top: 0 !important;
    }

    /* --- Tab content padding reduce --- */
    .emp-top-tab .e-content .p-3[b-xkqv2tvvxg] {
        padding: 0.75rem !important;
    }

    /* --- Footer --- */
    .custom-fixed-footer[b-xkqv2tvvxg] {
        left: 0;
        padding: 8px 12px;
        height: auto;
        min-height: 50px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .custom-fixed-footer .e-btn[b-xkqv2tvvxg] {
        font-size: 12px;
        padding: 4px 10px;
    }

    /* --- Page title smaller --- */
    .page-container h5[b-xkqv2tvvxg] {
        font-size: 1rem;
    }


    /* --- Narrow columns expand on mobile --- */
    .col-md-1[b-xkqv2tvvxg] {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    /* --- Add bottom padding to avoid content hidden under fixed footer --- */
    .page-container[b-xkqv2tvvxg] {
        padding-bottom: 70px !important;
    }

    /* --- Checkbox alignment fix --- */
    .e-small.e-checkbox-wrapper[b-xkqv2tvvxg] {
        margin-top: 0 !important;
    }
}

/* Premium Modern Switch */
.premium-switch-container[b-xkqv2tvvxg] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 1rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 0.6rem;
    transition: all 0.2s ease;
}

.premium-switch-container:hover[b-xkqv2tvvxg] {
    background: rgba(0, 0, 0, 0.02);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.premium-switch-label[b-xkqv2tvvxg] {
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--text-primary);
    cursor: pointer;
    margin: 0;
}

.premium-switch[b-xkqv2tvvxg] {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.premium-switch input[b-xkqv2tvvxg] {
    opacity: 0;
    width: 0;
    height: 0;
}

.premium-switch-slider[b-xkqv2tvvxg] {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: .3s;
    border-radius: 24px;
}

.premium-switch-slider[b-xkqv2tvvxg]:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

input:checked + .premium-switch-slider[b-xkqv2tvvxg] {
    background-color: var(--primary-color, #2563eb);
}

input:checked + .premium-switch-slider[b-xkqv2tvvxg]:before {
    transform: translateX(20px);
}

/* Premium Grid Input Styling */
[b-xkqv2tvvxg] .e-grid .e-rowcell .e-numerictextbox, 
[b-xkqv2tvvxg] .e-grid .e-rowcell .e-textbox {
    border-radius: 6px !important;
    background-color: var(--bg-primary) !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

[b-xkqv2tvvxg] .e-grid .e-rowcell .e-numerictextbox.e-input-focus, 
[b-xkqv2tvvxg] .e-grid .e-rowcell .e-textbox.e-input-focus {
    border-color: var(--primary-color, #2563eb) !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}

[b-xkqv2tvvxg] .e-grid .e-rowcell {
    padding-top: 6px !important;
    padding-bottom: 6px !important;
}

/* Shift Calendar Preview Styling */
.calendar-wrapper[b-xkqv2tvvxg] {
    margin-top: 1.5rem;
    background: #ffffff;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.cal-nav[b-xkqv2tvvxg] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f1f5f9;
}

.cal-nav-btn[b-xkqv2tvvxg] {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.cal-nav-btn:hover[b-xkqv2tvvxg] {
    border-color: var(--primary-color, #0d6efd);
    color: var(--primary-color, #0d6efd);
    background: #f8fafc;
}

.cal-month-label[b-xkqv2tvvxg] {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
}

.cal-legend[b-xkqv2tvvxg] {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: #f8fafc;
    border-radius: 8px;
}

.cal-legend-item[b-xkqv2tvvxg] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 500;
    color: #475569;
}

.cal-legend-swatch[b-xkqv2tvvxg] {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.cal-grid[b-xkqv2tvvxg] {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    align-items: start;
}

.cal-day-header[b-xkqv2tvvxg] {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    padding: 6px 0;
}

.cal-cell[b-xkqv2tvvxg] {
    aspect-ratio: 1 / 1 !important;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    transition: all 0.15s ease;
    width: 90% !important;
    height:  46px  !important;
    min-height: unset !important;
    max-height: unset !important;
    padding: 4px !important;
    box-sizing: border-box !important;
}

.cal-cell.empty[b-xkqv2tvvxg] {
    background: transparent;
    border-color: transparent;
}

.cal-cell.no-shift[b-xkqv2tvvxg] {
    background: #f8fafc;
    color: #94a3b8;
}

.cal-cell.no-shift .shift-short[b-xkqv2tvvxg] {
    font-size: 0.65rem;
    color: #cbd5e1;
    margin-top: 1px;
}

.cal-cell.has-shift[b-xkqv2tvvxg] {
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.cal-cell.has-shift:hover[b-xkqv2tvvxg] {
    transform: scale(1.06);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    z-index: 5;
}

.cal-cell.today[b-xkqv2tvvxg] {
    box-shadow: inset 0 0 0 2px var(--primary-color, #0d6efd);
}

.cal-cell .shift-short[b-xkqv2tvvxg] {
    font-size: 0.72rem;
    font-weight: 800;
    margin-top: 1px;
}

.timeline-section-divider[b-xkqv2tvvxg] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 1.5rem 0 1rem;
}

.timeline-section-divider .line[b-xkqv2tvvxg] {
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

.timeline-section-divider .label[b-xkqv2tvvxg] {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
    white-space: nowrap;
}

.timeline-strip[b-xkqv2tvvxg] {
    display: flex;
    overflow-x: auto;
    gap: 4px;
    padding: 0.5rem 0;
    scrollbar-width: thin;
}

.timeline-day[b-xkqv2tvvxg] {
    min-width: 36px;
    height: 48px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
    border: 1px solid #f1f5f9;
}

.timeline-day .td-num[b-xkqv2tvvxg] {
    font-size: 0.8rem;
    font-weight: 700;
}

.timeline-day .td-shift[b-xkqv2tvvxg] {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-top: 1px;
}
/* /Components/Pages/Master/EmployeeShiftRoster.razor.rz.scp.css */
/* ======================================== */
/* MODERN REFERENCE CALENDAR CARD STYLES    */
/* ======================================== */

.modern-cal-wrapper[b-06i1uickbl] {
    max-width: 1020px;
    margin: 0 auto;
}

.modern-cal-card[b-06i1uickbl] {
    background: var(--bg-primary, #ffffff);
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 10px 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

/* Nav Header (Month navigation + Employee Badge inline) */
.cal-nav-header[b-06i1uickbl] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 6px;
    border-bottom: 1px solid #f1f5f9;
    flex-wrap: wrap;
    gap: 8px;
}

.cal-nav-btn[b-06i1uickbl] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.cal-nav-btn:hover[b-06i1uickbl] {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}

.cal-nav-title h4[b-06i1uickbl] {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

/* Employee Profile Badge Panel (Styled and Prominent) */
.emp-profile-badge[b-06i1uickbl] {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 4px 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.emp-avatar-circle[b-06i1uickbl] {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.25);
}

.emp-info-text[b-06i1uickbl] {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.emp-name-text[b-06i1uickbl] {
    font-size: 0.85rem;
    font-weight: 800;
    color: #0f172a;
}

.emp-sub-text[b-06i1uickbl] {
    font-size: 0.7rem;
    font-weight: 600;
    color: #64748b;
}

/* Top Legend Pill Bar */
.cal-legend-bar[b-06i1uickbl] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 8px;
    padding: 5px 12px;
    font-size: 0.72rem;
    color: #475569;
}

.legend-item[b-06i1uickbl] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

.legend-box[b-06i1uickbl] {
    width: 11px;
    height: 11px;
    border-radius: 3px;
    border: 2px solid;
    display: inline-block;
}

.box-morning[b-06i1uickbl] {
    border-color: #10b981;
    background-color: #ecfdf5;
}

.box-general[b-06i1uickbl] {
    border-color: #2563eb;
    background-color: #eff6ff;
}

.box-evening[b-06i1uickbl] {
    border-color: #f59e0b;
    background-color: #fffbeb;
}

.box-night[b-06i1uickbl] {
    border-color: #8b5cf6;
    background-color: #f5f3ff;
}

.box-weekoff[b-06i1uickbl] {
    border-color: #94a3b8;
    background-color: #f1f5f9;
}

.box-holiday[b-06i1uickbl] {
    border-color: #ef4444;
    background-color: #fef2f2;
}

/* 7-Column Grid */
.modern-cal-grid[b-06i1uickbl] {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.weekday-cell[b-06i1uickbl] {
    text-align: center;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    padding: 2px 0 4px 0;
}

/* Day Card Box (Compact to avoid page scrolling) */
.day-card-box[b-06i1uickbl] {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 8px;
    padding: 3px 2px;
    min-height: 52px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: all 0.15s ease;
    cursor: pointer;
    user-select: none;
    position: relative;
}

.day-card-box:hover[b-06i1uickbl] {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.day-card-box.outside-month[b-06i1uickbl] {
    opacity: 0.3;
    cursor: default;
    background: transparent;
    border-color: transparent;
}

.day-card-box.is-today[b-06i1uickbl] {
    box-shadow: 0 0 0 2px #2563eb;
}

.day-card-num[b-06i1uickbl] {
    font-size: 0.8rem;
    font-weight: 700;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 3px;
    line-height: 1;
}

.dot-today[b-06i1uickbl] {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #2563eb;
    display: inline-block;
}

.day-card-body[b-06i1uickbl] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    width: 100%;
}

.empty-dash[b-06i1uickbl] {
    color: #cbd5e1;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Assigned Shift Highlights (Matching Reference Card Style) */
.day-card-box.is-assigned[b-06i1uickbl] {
    background: #eff6ff;
    border: 1.5px solid #60a5fa;
}

.day-card-box.is-assigned .day-card-num[b-06i1uickbl] {
    color: #1d4ed8;
    font-weight: 800;
}

.shift-code-tag[b-06i1uickbl] {
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.1;
    margin-top: 1px;
}

/* Clear, larger shift timing font */
.shift-time-tag[b-06i1uickbl] {
    font-size: 0.74rem;
    font-weight: 700;
    color: #0f172a;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    margin-top: 1px;
    white-space: nowrap;
    letter-spacing: -0.01em;
}

.shift-sub-name[b-06i1uickbl] {
    font-size: 0.68rem;
    font-weight: 700;
    margin-top: 1px;
    max-width: 100%;
}

.ovr-chip[b-06i1uickbl] {
    font-size: 0.58rem;
    font-weight: 800;
    background-color: #fef3c7;
    color: #b45309;
    padding: 0 4px;
    border-radius: 3px;
    margin-top: 1px;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

/* Specific Shift Variants */
.chip-morning.is-assigned[b-06i1uickbl] {
    background: #ecfdf5;
    border-color: #34d399;
}
.chip-morning.is-assigned .day-card-num[b-06i1uickbl],
.chip-morning.is-assigned .shift-code-tag[b-06i1uickbl] {
    color: #047857;
}

.chip-general.is-assigned[b-06i1uickbl] {
    background: #eff6ff;
    border-color: #60a5fa;
}
.chip-general.is-assigned .day-card-num[b-06i1uickbl],
.chip-general.is-assigned .shift-code-tag[b-06i1uickbl] {
    color: #1d4ed8;
}

.chip-evening.is-assigned[b-06i1uickbl] {
    background: #fffbeb;
    border-color: #fbbf24;
}
.chip-evening.is-assigned .day-card-num[b-06i1uickbl],
.chip-evening.is-assigned .shift-code-tag[b-06i1uickbl] {
    color: #b45309;
}

.chip-night.is-assigned[b-06i1uickbl] {
    background: #f5f3ff;
    border-color: #a78bfa;
}
.chip-night.is-assigned .day-card-num[b-06i1uickbl],
.chip-night.is-assigned .shift-code-tag[b-06i1uickbl] {
    color: #6d28d9;
}

.chip-weekoff.is-assigned[b-06i1uickbl] {
    background: #f1f5f9;
    border-color: #cbd5e1;
}
.chip-weekoff.is-assigned .day-card-num[b-06i1uickbl],
.chip-weekoff.is-assigned .shift-code-tag[b-06i1uickbl] {
    color: #64748b;
}

.chip-holiday.is-assigned[b-06i1uickbl] {
    background: #fef2f2;
    border-color: #f87171;
}
.chip-holiday.is-assigned .day-card-num[b-06i1uickbl],
.chip-holiday.is-assigned .shift-code-tag[b-06i1uickbl] {
    color: #b91c1c;
}


.emp-picker-item[b-06i1uickbl] {
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    margin-bottom: 4px;
}

.emp-picker-item:hover[b-06i1uickbl], .emp-picker-item.selected[b-06i1uickbl] {
    background-color: var(--bg-secondary, #f0f7ff);
    border-color: var(--bs-primary, #bfdbfe);
}

/* ======================================== */
/* ROSTER GRID (All Employees × Dates)      */
/* ======================================== */

.roster-grid-card[b-06i1uickbl] {
    background: var(--bg-primary, #ffffff);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.roster-grid-scroll[b-06i1uickbl] {
    max-height: 520px;
    overflow: auto;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 8px;
}

.roster-matrix-table[b-06i1uickbl] {
    font-size: 0.73rem;
    border-collapse: separate;
    border-spacing: 0;
    white-space: nowrap;
}

.roster-matrix-table thead[b-06i1uickbl] {
    position: sticky;
    top: 0;
    z-index: 10;
}

.roster-grid-header th[b-06i1uickbl] {
    background: #f1f5f9;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    color: #475569;
    text-align: center;
    vertical-align: middle;
    padding: 6px 4px;
    border-bottom: 2px solid #cbd5e1;
}

/* Sticky first 3 columns (Code, Name, Dept) */
.sticky-col[b-06i1uickbl] {
    position: sticky;
    background: #ffffff;
    z-index: 5;
}

.roster-grid-header .sticky-col[b-06i1uickbl] {
    background: #f1f5f9;
    z-index: 12;
}

.col-empcode[b-06i1uickbl] {
    left: 0;
    min-width: 80px;
    max-width: 100px;
}

.col-empname[b-06i1uickbl] {
    left: 80px;
    min-width: 160px;
    max-width: 200px;
}

.col-dept[b-06i1uickbl] {
    left: 240px;
    min-width: 120px;
    max-width: 150px;
    border-right: 2px solid #cbd5e1 !important;
}

/* Date column header */
.date-col[b-06i1uickbl] {
    min-width: 56px;
    text-align: center;
}

.date-head-day[b-06i1uickbl] {
    font-size: 0.78rem;
    font-weight: 700;
    color: #1e293b;
}

.date-head-dow[b-06i1uickbl] {
    font-size: 0.6rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
}

.sun-col[b-06i1uickbl] {
    background-color: #fff1f2 !important;
}

/* Shift cells in grid */
.shift-cell[b-06i1uickbl] {
    text-align: center;
    font-weight: 600;
    padding: 4px 2px;
    font-size: 0.7rem;
    vertical-align: middle;
}

.grid-cell-morning[b-06i1uickbl] {
    background-color: #ecfdf5;
    color: #065f46;
}

.grid-cell-general[b-06i1uickbl] {
    background-color: #eff6ff;
    color: #1e40af;
}

.grid-cell-evening[b-06i1uickbl] {
    background-color: #fffbeb;
    color: #92400e;
}

.grid-cell-night[b-06i1uickbl] {
    background-color: #f5f3ff;
    color: #5b21b6;
}

.grid-cell-weekoff[b-06i1uickbl] {
    background-color: #f1f5f9;
    color: #64748b;
    font-style: italic;
}

.grid-cell-holiday[b-06i1uickbl] {
    background-color: #fef2f2;
    color: #991b1b;
    font-weight: 700;
}

.grid-cell-empty[b-06i1uickbl] {
    color: #cbd5e1;
}

.roster-matrix-table tbody tr:hover td[b-06i1uickbl] {
    background-color: #f0f7ff;
}

.roster-matrix-table tbody tr:hover .sticky-col[b-06i1uickbl] {
    background-color: #e0efff;
}

.roster-matrix-table tbody tr:nth-child(even) td.sticky-col[b-06i1uickbl] {
    background-color: #fafbfc;
}
/* /Components/Pages/Master/PayPeriods.razor.rz.scp.css */
/* No isolated CSS. Relying on global/shared CSS like other master pages. */
/* /Components/Pages/Rights.razor.rz.scp.css */
.sticky-footer-rights[b-omhllz512y] {
    position: fixed;
    bottom: 1.5rem;
    right: 2rem;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color, #e5e7eb) !important;
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.rights-grid-container[b-omhllz512y] {
    max-height: calc(100vh - 380px);
    overflow-y: auto;
}

.rights-grid-container thead th[b-omhllz512y] {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: var(--bg-primary, #ffffff);
}
/* /Components/Pages/UserPermissions.razor.rz.scp.css */
.sticky-footer-rights[b-pzdulas5xa] {
    position: fixed;
    bottom: 1.5rem;
    right: 2rem;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color, #e5e7eb) !important;
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.rights-grid-container[b-pzdulas5xa] {
    max-height: calc(100vh - 380px);
    overflow-y: auto;
}

    .rights-grid-container thead th[b-pzdulas5xa] {
        position: sticky;
        top: 0;
        z-index: 10;
        background-color: var(--bg-primary, #ffffff);
    }
/* /Components/Shared/UI/ExportDialog.razor.rz.scp.css */
.export-dialog-content[b-y2hir9m1dc] {
    padding: 16px 0;
}

.export-info[b-y2hir9m1dc] {
    background: var(--bg-tertiary);
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-color);
}

.export-info p[b-y2hir9m1dc] {
    margin: 6px 0;
    font-size: 14px;
    color: var(--text-primary);
}

.export-options[b-y2hir9m1dc] {
    margin-bottom: 24px;
}

.export-option[b-y2hir9m1dc] {
    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-y2hir9m1dc] {
    background: var(--bg-tertiary);
}

.export-option input[type="radio"][b-y2hir9m1dc] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.export-option label[b-y2hir9m1dc] {
    cursor: pointer;
    font-size: 14px;
    color: var(--text-primary);
    margin: 0;
    flex: 1;
}

.custom-range-inputs[b-y2hir9m1dc] {
    margin-left: 32px;
    margin-top: 12px;
    padding: 16px;
    background: var(--bg-tertiary);
    border-radius: 6px;
}

.range-input-group[b-y2hir9m1dc] {
    margin-bottom: 12px;
}

.range-input-group label[b-y2hir9m1dc] {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--text-secondary);
}

.range-info[b-y2hir9m1dc] {
    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-y2hir9m1dc] {
    background: rgba(37, 99, 235, 0.1);
    color: #60a5fa;
}

.export-format[b-y2hir9m1dc] {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.export-format label[b-y2hir9m1dc] {
    display: block;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--text-primary);
}

.format-buttons[b-y2hir9m1dc] {
    display: flex;
    gap: 12px;
}

.format-buttons button[b-y2hir9m1dc] {
    flex: 1;
}

/* Column Selection Section */
.column-selection-section[b-y2hir9m1dc] {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.section-header[b-y2hir9m1dc] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.section-header h4[b-y2hir9m1dc] {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.selection-actions[b-y2hir9m1dc] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.link-button[b-y2hir9m1dc] {
    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-y2hir9m1dc] {
    background: var(--bg-tertiary);
    text-decoration: underline;
}

.separator[b-y2hir9m1dc] {
    color: var(--text-tertiary);
    font-size: 12px;
}

.columns-grid[b-y2hir9m1dc] {
    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-y2hir9m1dc] {
    padding: 6px 8px;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.column-checkbox-item:hover[b-y2hir9m1dc] {
    background: var(--bg-secondary);
}

.selection-info[b-y2hir9m1dc] {
    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-y2hir9m1dc] {
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
}
