/* /Components/Dialogs/AddEmployeeDialog.razor.rz.scp.css */
/* Dialog title */
.dialog-title[b-f173m8rx3x] {
    display: flex;
    align-items: center;
    gap: 10px;
}

[b-f173m8rx3x] .dialog-title-icon {
    color: #1976d2 !important;
    font-size: 1.4rem !important;
}

/* BSS lookup spinner row */
.lookup-status[b-f173m8rx3x] {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Role selector */
.role-selector[b-f173m8rx3x] {
    display: flex;
    gap: 12px;
}

.role-option[b-f173m8rx3x] {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}

.role-option:hover[b-f173m8rx3x] {
    border-color: #93c5fd;
    background: #f0f7ff;
}

.role-option.role-selected[b-f173m8rx3x] {
    border-color: #1976d2;
    background: #e8f0fd;
}

.role-label[b-f173m8rx3x] {
    font-weight: 600;
    font-size: 0.875rem;
    color: #1a2035;
}

.role-desc[b-f173m8rx3x] {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 2px;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* ── AppBar brand area ───────────────────────────────────────────
   div.appbar-brand is our own HTML element so it gets the Blazor
   scope attribute — ::deep works for MudBlazor children inside it.
   ─────────────────────────────────────────────────────────────── */
.appbar-brand[b-ru097ci6m6] {
    display: flex;
    align-items: center;
    gap: 6px;
}

[b-ru097ci6m6] .brand-logo {
    border-radius: 4px;
    display: block;
}

[b-ru097ci6m6] .brand-title {
    color: #1976d2 !important;
    font-weight: 700 !important;
    letter-spacing: -0.3px !important;
}

/* ── Profile area ────────────────────────────────────────────────
   div.profile-area is our HTML element — all ::deep rules below
   are scoped to it automatically.
   ─────────────────────────────────────────────────────────────── */
.profile-area[b-ru097ci6m6] {
    position: relative;
}

.profile-trigger[b-ru097ci6m6] {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 8px;
    user-select: none;
    transition: background 0.15s;
}

.profile-trigger:hover[b-ru097ci6m6] {
    background-color: rgba(0, 0, 0, 0.04);
}

[b-ru097ci6m6] .profile-avatar {
    background-color: #1976d2 !important;
    width: 36px !important;
    height: 36px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
}

.profile-info[b-ru097ci6m6] {
    line-height: 1.3;
}

.profile-name[b-ru097ci6m6] {
    color: #1a2035;
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
}

.profile-email[b-ru097ci6m6] {
    color: #888;
    font-size: 0.72rem;
    white-space: nowrap;
}

[b-ru097ci6m6] .profile-chevron {
    color: #999 !important;
    font-size: 1.1rem !important;
}

.profile-backdrop[b-ru097ci6m6] {
    position: fixed;
    inset: 0;
    z-index: 1299;
}

[b-ru097ci6m6] .profile-dropdown {
    position: absolute !important;
    right: 0 !important;
    top: calc(100% + 6px) !important;
    z-index: 1300 !important;
    min-width: 220px !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

.profile-logout[b-ru097ci6m6] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    cursor: pointer;
    background: #ffffff;
    transition: background 0.15s;
}

.profile-logout:hover[b-ru097ci6m6] {
    background: #fff5f5;
}

[b-ru097ci6m6] .logout-icon {
    color: #ef4444 !important;
    font-size: 1.2rem !important;
}

[b-ru097ci6m6] .logout-text {
    color: #ef4444 !important;
    font-size: 0.875rem !important;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.nav-container[b-4tplg1oaay] {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0.5em;
}

.nav-item[b-4tplg1oaay] {
    width: 95% !important;
    display: flex;
    flex-direction: column;
}

.nav-footer[b-4tplg1oaay] {
    margin-top: auto;
    padding-bottom: 8px;
}
/* /Components/Pages/AccessControl.razor.rz.scp.css */
/* ── Page header ─────────────────────────────────────────────── */
.page-header[b-b8juvritkg] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

[b-b8juvritkg] .page-title {
    font-weight: 700 !important;
    color: #1a2035 !important;
}

[b-b8juvritkg] .page-subtitle {
    color: #6b7280 !important;
    margin-top: 2px !important;
}

/* ── Stat cards ──────────────────────────────────────────────── */
.stat-row[b-b8juvritkg] {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card[b-b8juvritkg] {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px 20px;
}

.stat-value[b-b8juvritkg] {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a2035;
    line-height: 1;
}

.stat-label[b-b8juvritkg] {
    font-size: 0.78rem;
    color: #6b7280;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

[b-b8juvritkg] .stat-icon {
    font-size: 1.8rem !important;
    border-radius: 8px;
    padding: 8px;
}

[b-b8juvritkg] .stat-icon--total   { color: #1976d2 !important; background: #e8f0fd; }
[b-b8juvritkg] .stat-icon--active  { color: #16a34a !important; background: #dcfce7; }
[b-b8juvritkg] .stat-icon--admin   { color: #7c3aed !important; background: #ede9fe; }
[b-b8juvritkg] .stat-icon--inactive{ color: #dc2626 !important; background: #fee2e2; }

/* ── Filter bar ──────────────────────────────────────────────── */
.filter-bar[b-b8juvritkg] {
    margin-bottom: 16px;
    background: transparent !important;
}

.filter-input[b-b8juvritkg] {
    max-width: 360px;
}

/* ── Table card ──────────────────────────────────────────────── */
.table-card[b-b8juvritkg] {
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
    overflow: hidden;
}

/* ── Employee cell ───────────────────────────────────────────── */
.employee-cell[b-b8juvritkg] {
    display: flex;
    align-items: center;
    gap: 12px;
}

[b-b8juvritkg] .employee-avatar {
    width: 36px !important;
    height: 36px !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    background-color: #1976d2 !important;
    flex-shrink: 0;
}

.employee-name[b-b8juvritkg] {
    font-weight: 600;
    font-size: 0.875rem;
    color: #1a2035;
}

.employee-email[b-b8juvritkg] {
    font-size: 0.78rem;
    color: #6b7280;
}

.employee-email--solo[b-b8juvritkg] {
    font-size: 0.875rem;
    color: #1a2035;
}

/* ── Action cell ─────────────────────────────────────────────── */
.action-cell[b-b8juvritkg] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}

/* ── Empty / loading state ───────────────────────────────────── */
.empty-state[b-b8juvritkg] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 48px 0;
    color: #9ca3af;
}

[b-b8juvritkg] .empty-icon {
    font-size: 2.5rem !important;
    color: #d1d5db !important;
}

/* ── Misc ────────────────────────────────────────────────────── */
.text-muted[b-b8juvritkg] {
    color: #6b7280 !important;
    font-size: 0.82rem !important;
}
/* /Components/Pages/AffiliateLink.razor.rz.scp.css */
/* ── Page Header ──────────────────────────────────────────────────────────── */
.page-header[b-8hi7drmai3] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    gap: 16px;
}

.page-title[b-8hi7drmai3] {
    font-weight: 600;
    margin-bottom: 4px;
}

.page-subtitle[b-8hi7drmai3] {
    color: #757575;
    font-size: 0.875rem;
}

/* ── Filter Bar ────────────────────────────────────────────────────────────── */
.filter-bar[b-8hi7drmai3] {
    padding: 0;
    margin-bottom: 12px;
    color: var(--mud-palette-text-primary);
    background-color: var(--mud-palette-surface);
    border-radius: var(--mud-default-borderradius);
    transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
}


.filter-input[b-8hi7drmai3] {
    width: 100%;
}

/* ── Table Card ─────────────────────────────────────────────────────────────
   Height = 100vh
           - 64px   AppBar
           - 48px   MudContainer py-6 (24 top + 24 bottom)
           - 80px   page header + its margin-bottom
           - 72px   filter bar (56px input) + its margin-bottom (12px) + 4px extra
           - 24px   bottom breathing room
   = calc(100vh - 288px)
   Table card is a flex column so grid takes all space minus the pager row.
────────────────────────────────────────────────────────────────────────────── */
.table-card[b-8hi7drmai3] {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 325px);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden; /* card never scrolls — grid handles it internally */
    margin-bottom: 10px;
}

/* ── Column Header ─────────────────────────────────────────────────────────── */
.col-header[b-8hi7drmai3] {
    display: flex;
    align-items: center;
    gap: 5px;
}

.col-flag[b-8hi7drmai3] {
    font-size: 1.25rem;
    line-height: 1;
}

.col-label[b-8hi7drmai3] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #3399ff;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

/* ── Link Cell ─────────────────────────────────────────────────────────────── */
.link-cell[b-8hi7drmai3] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.link-chip[b-8hi7drmai3] {
    font-size: 0.875rem;
    color: #1976d2;
    max-width: 340px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ── Misc ──────────────────────────────────────────────────────────────────── */
.partner-name[b-8hi7drmai3] {
    font-weight: 500;
    color: #212121;
}

.text-muted[b-8hi7drmai3] {
    color: #9e9e9e;
}

.empty-icon[b-8hi7drmai3] {
    font-size: 48px;
    color: #bdbdbd;
    margin-bottom: 12px;
}

.empty-state[b-8hi7drmai3] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    color: #757575;
}

/* ── MudDataGrid overrides ─────────────────────────────────────────────────── */

/* 1. Grid fills all table-card space above the pager */
[b-8hi7drmai3] .mud-data-grid {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

/* 2. Inner scroll zone fills the grid, header sticks here */
[b-8hi7drmai3] .mud-table-container {
    flex: 1;
    min-height: 0;
    overflow-y: auto !important;
    height: auto !important;
}

[b-8hi7drmai3] .mud-table-head th {
    position: sticky;
    top: 0;
    z-index: 2;
    background-color: #e6f2ff !important;
}

[b-8hi7drmai3] .mud-table-row:hover {
    background-color: #fafafa;
}

[b-8hi7drmai3] .mud-table-cell {
    border-bottom: 1px solid #eeeeee;
    text-wrap-mode: nowrap;
}
/* ── Custom Pager ──────────────────────────────────────────────────────────── */
.custom-pager[b-8hi7drmai3] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0; /* never shrink — grid takes all remaining space */
    height: 53px;
    padding: 0 16px;
    /*border-top: 1px solid #e0e0e0;
    background: #fff;*/
    gap: 12px;
}

.pagination-controls[b-8hi7drmai3] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.items-per-page[b-8hi7drmai3] {
    display: flex;
    align-items: center;
    gap: 8px;
}

[b-8hi7drmai3] .mud-button-filled {
    min-width: auto !important;
    border-radius: 6px;
    padding: 4px 10px;
}

[b-8hi7drmai3] .mud-button-outlined {
    min-width: auto;
    border-radius: 6px;
    padding: 4px 10px;
}

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .page-header[b-8hi7drmai3] {
        flex-direction: column;
        align-items: stretch;
    }

    .custom-pager[b-8hi7drmai3] {
        height: auto;
        padding: 10px 16px;
        flex-wrap: wrap;
    }

    .link-chip[b-8hi7drmai3] {
        max-width: 160px;
    }
}
/* /Components/Pages/Login.razor.rz.scp.css */
/* ── Wrapper ─────────────────────────────────────────────────── */
.login-wrapper[b-mqi1yb3k44] {
    display: flex;
    min-height: 100vh;
}

/* ── Left Panel ──────────────────────────────────────────────── */
.left-panel[b-mqi1yb3k44] {
    flex: 0 0 50%;
    background: linear-gradient(160deg, #1a56db 0%, #003DA5 60%, #0066CC 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.left-content[b-mqi1yb3k44] {
    max-width: 400px;
}

.logo-box[b-mqi1yb3k44] {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0 0;
}

/* MudImage inside .logo-box — ::deep works because .logo-box has scope attr */
[b-mqi1yb3k44] .login-logo {
    display: block;
    border-radius: 6px;
}

/* MudText — ::deep works because .left-panel (HTML div) has scope attr */
[b-mqi1yb3k44] .portal-title {
    color: #fff !important;
    font-weight: 700 !important;
    margin-top: 1.25rem !important;
}

[b-mqi1yb3k44] .portal-subtitle {
    color: rgba(255, 255, 255, 0.75) !important;
    margin-top: 0.5rem !important;
    max-width: 340px;
    line-height: 1.6 !important;
}

.feature-list[b-mqi1yb3k44] {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.feature-item[b-mqi1yb3k44] {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

/* MudIcon inside .feature-item */
[b-mqi1yb3k44] .feature-check-icon {
    color: #fff !important;
    font-size: 1.1rem !important;
}

.feature-title[b-mqi1yb3k44] {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
}

.feature-desc[b-mqi1yb3k44] {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.82rem;
    margin-top: 2px;
}

/* ── Right Panel ─────────────────────────────────────────────── */
.right-panel[b-mqi1yb3k44] {
    flex: 0 0 50%;
    background: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.login-card[b-mqi1yb3k44] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2.5rem;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

/* MudText inside .login-card — ::deep works because .login-card has scope attr */
[b-mqi1yb3k44] .card-title {
    font-weight: 700 !important;
    color: #1a1a2e !important;
}

[b-mqi1yb3k44] .card-subtitle {
    color: #6b7280 !important;
    margin-top: 0.4rem !important;
}

[b-mqi1yb3k44] .login-alert {
    border-radius: 8px !important;
}

/* ── Google sign-in button ───────────────────────────────────── */
.google-btn[b-mqi1yb3k44] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 1.75rem;
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: #1a56db;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Google Sans', Roboto, Arial, sans-serif;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 6px rgba(26, 86, 219, 0.35);
}

.google-btn:hover:not(:disabled)[b-mqi1yb3k44] {
    background: #1648c0;
    box-shadow: 0 4px 12px rgba(26, 86, 219, 0.45);
    color: #fff;
}

.google-btn:disabled[b-mqi1yb3k44] {
    opacity: 0.75;
    cursor: not-allowed;
}

/* ── Spinner ─────────────────────────────────────────────────── */
.spinner[b-mqi1yb3k44] {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin-b-mqi1yb3k44 0.7s linear infinite;
    flex-shrink: 0;
}

@keyframes spin-b-mqi1yb3k44 {
    to { transform: rotate(360deg); }
}

/* ── Footer note ─────────────────────────────────────────────── */
.login-note[b-mqi1yb3k44] {
    margin-top: 1.25rem;
    text-align: center;
    font-size: 0.78rem;
    color: #9ca3af;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 768px) {
    .login-wrapper[b-mqi1yb3k44] {
        flex-direction: column;
    }

    .left-panel[b-mqi1yb3k44],
    .right-panel[b-mqi1yb3k44] {
        flex: none;
        padding: 2rem;
    }
}
