/* /Pages/Admin.razor.rz.scp.css */
/* ==========================================================================
   Admin Dashboard Styles - Modern Operational Command Design
   ========================================================================== */

:root[b-0jwotq9q16],
.admin-page-container[b-0jwotq9q16],
.admin-workspace[b-0jwotq9q16],
.admin-login-shell[b-0jwotq9q16] {
    --brand-green: #047857;
    --brand-green-hover: #065f46;
    --brand-green-light: #ecfdf5;
    --brand-dark: #064e3b;
    --surface-color: #ffffff;
    --bg-color: #f8fafc;
    --border-color: #e2e8f0;
    --border-subtle: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --color-pending: #f59e0b;
    --color-pending-bg: #fffbeb;
    --color-pending-border: #fde68a;
    --color-resolved: #10b981;
    --color-resolved-bg: #ecfdf5;
    --color-resolved-border: #a7f3d0;
    --color-invalid: #ef4444;
    --color-invalid-bg: #fef2f2;
    --color-invalid-border: #fecaca;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.06);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
}

.admin-page-container[b-0jwotq9q16] {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    margin: 0;
    height: calc(100vh - 46px - 0.9rem);
    max-height: calc(100vh - 46px - 0.9rem);
    box-sizing: border-box;
    overflow: hidden;
    flex: 1 1 0%;
    min-height: 0;
}

@supports selector(:has(*)) {
    .admin-page-container[b-0jwotq9q16] {
        height: 100%;
        max-height: 100%;
    }
}

/* --- Modernized Unified Command Bar --- */
.admin-command-bar[b-0jwotq9q16] {
    position: relative;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    min-height: 48px;
    padding: 0.4rem 0.75rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
    margin-bottom: 0.5rem;
    flex-shrink: 0;
}

.command-bar-left[b-0jwotq9q16] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-width: 0;
}

.command-title-row[b-0jwotq9q16] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.command-title-row h2[b-0jwotq9q16] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.command-live-badge[b-0jwotq9q16] {
    font-size: 0.72rem;
    font-weight: 700;
    color: #059669;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    white-space: nowrap;
}

/* --- iOS/macOS Style Segmented Switcher --- */
.segmented-control[b-0jwotq9q16] {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    background: #f1f5f9;
    padding: 0.2rem;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    position: relative;
    max-width: 100%;
    overflow: visible;
    box-sizing: border-box;
}

.segmented-control[b-0jwotq9q16]::-webkit-scrollbar {
    display: none;
}

.segmented-btn[b-0jwotq9q16] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.8rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #475569;
    background: transparent;
    border: none;
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.segmented-btn:hover[b-0jwotq9q16] {
    color: #0f172a;
    background: rgba(255, 255, 255, 0.6);
}

.segmented-btn.active[b-0jwotq9q16] {
    color: #0f172a !important;
    background: #ffffff !important;
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.seg-count[b-0jwotq9q16] {
    font-size: 0.7rem;
    font-weight: 800;
    background: #e2e8f0;
    color: #334155;
    padding: 0.1rem 0.4rem;
    border-radius: 9999px;
}

.segmented-btn.active .seg-count[b-0jwotq9q16] {
    background: #047857;
    color: #ffffff;
}

.seg-count.tx-seg[b-0jwotq9q16] {
    background: #ede9fe;
    color: #6d28d9;
}

.segmented-btn.active .seg-count.tx-seg[b-0jwotq9q16] {
    background: #7c3aed;
    color: #ffffff;
}

/* Dropdown Backdrop & More Tabs Menu */
.dropdown-backdrop[b-0jwotq9q16] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    background: transparent;
}

.more-tabs-dropdown[b-0jwotq9q16] {
    position: relative;
}

.more-tabs-menu[b-0jwotq9q16] {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 1060;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.22), 0 4px 8px -2px rgba(0, 0, 0, 0.06);
    padding: 0.35rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 200px;
    animation: fadeIn-b-0jwotq9q16 0.15s ease;
}

.more-menu-item[b-0jwotq9q16] {
    padding: 0.45rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
    background: transparent;
    border: none;
    border-radius: 6px;
    text-align: left;
    cursor: pointer;
    transition: all 0.15s ease;
}

.more-menu-item:hover[b-0jwotq9q16], .more-menu-item.active[b-0jwotq9q16] {
    background: #f1f5f9;
    color: #047857;
}

/* Right Command Actions */
.command-bar-right[b-0jwotq9q16] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-shrink: 0;
}

.cmd-action-btn[b-0jwotq9q16] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    height: 32px;
    padding: 0 0.8rem;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    border: 1px solid transparent;
    white-space: nowrap;
}

.cmd-action-btn.reset-btn[b-0jwotq9q16] {
    background: #f8fafc;
    color: #475569;
    border-color: #cbd5e1;
}

.cmd-action-btn.reset-btn:hover[b-0jwotq9q16] {
    background: #f1f5f9;
    color: #0f172a;
}

.cmd-action-btn.export-btn[b-0jwotq9q16] {
    background: #ecfdf5;
    color: #047857;
    border-color: #a7f3d0;
}

.cmd-action-btn.export-btn:hover[b-0jwotq9q16] {
    background: #047857;
    color: #ffffff;
}

.cmd-action-btn.export-btn .cmd-count-pill[b-0jwotq9q16] {
    background: #047857;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.05rem 0.45rem;
    border-radius: 9999px;
    margin-left: 0.25rem;
    transition: all 0.15s ease;
}

.cmd-action-btn.export-btn:hover .cmd-count-pill[b-0jwotq9q16] {
    background: #ffffff;
    color: #047857;
}

.cmd-action-btn.filter-toggle-btn[b-0jwotq9q16] {
    background: #f1f5f9;
    color: #1e293b;
    border-color: #cbd5e1;
}

.cmd-action-btn.filter-toggle-btn:hover[b-0jwotq9q16], .cmd-action-btn.filter-toggle-btn.drawer-active[b-0jwotq9q16] {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}

.active-filter-badge[b-0jwotq9q16] {
    background: #ea580c;
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0.05rem 0.4rem;
    border-radius: 9999px;
    margin-left: 0.2rem;
}


/* --- Sidebar KPI Metrics Summary (2x2 Grid) --- */
.sidebar-kpi-grid[b-0jwotq9q16] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
    margin-top: auto;
    padding-top: 0.55rem;
    border-top: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.sidebar-kpi-card[b-0jwotq9q16] {
    display: flex;
    flex-direction: column;
    padding: 0.4rem 0.55rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.sidebar-kpi-card[b-0jwotq9q16]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 3.5px;
}

.sidebar-kpi-card.plottable[b-0jwotq9q16]::before { background: #047857; }
.sidebar-kpi-card.pending[b-0jwotq9q16]::before { background: #f59e0b; }
.sidebar-kpi-card.resolved[b-0jwotq9q16]::before { background: #10b981; }
.sidebar-kpi-card.invalid[b-0jwotq9q16]::before { background: #ef4444; }

.sidebar-kpi-label[b-0jwotq9q16] {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #64748b;
    padding-left: 0.25rem;
    margin-bottom: 0.15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-kpi-value[b-0jwotq9q16] {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1;
    color: #0f172a;
    padding-left: 0.25rem;
}

.sidebar-kpi-card.plottable .sidebar-kpi-value[b-0jwotq9q16] { color: #047857; }
.sidebar-kpi-card.pending .sidebar-kpi-value[b-0jwotq9q16] { color: #d97706; }
.sidebar-kpi-card.resolved .sidebar-kpi-value[b-0jwotq9q16] { color: #059669; }
.sidebar-kpi-card.invalid .sidebar-kpi-value[b-0jwotq9q16] { color: #dc2626; }

/* --- Admin Workspace Layout --- */
.admin-workspace[b-0jwotq9q16] {
    position: relative;
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
    flex: 1 1 0%;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    gap: 0.75rem;
    box-sizing: border-box;
}

/* --- Left Filter Panel Drawer --- */
.admin-filter-panel[b-0jwotq9q16] {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    min-height: 0;
    height: 100%;
    width: 320px;
    flex-shrink: 0;
    padding: 0.75rem 0.85rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), width 0.28s cubic-bezier(0.4, 0, 0.2, 1), margin 0.28s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
    scrollbar-width: thin;
    scrollbar-color: rgba(203, 213, 225, 0.4) transparent;
}

.admin-filter-panel.collapsed[b-0jwotq9q16] {
    transform: translateX(-105%);
    width: 0 !important;
    min-width: 0 !important;
    margin-right: -0.75rem;
    padding: 0 !important;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
    border: none;
}

.drawer-collapse-btn[b-0jwotq9q16] {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #475569;
    border-radius: 6px;
    padding: 0.25rem 0.55rem;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}

.drawer-collapse-btn:hover[b-0jwotq9q16] {
    background: #e2e8f0;
    color: #0f172a;
}

.filter-section-card[b-0jwotq9q16] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.65rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.section-card-title[b-0jwotq9q16] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid #e2e8f0;
}


/* Modern sleek scrollbar for Webkit (Chrome, Edge, Safari) */
.admin-filter-panel[b-0jwotq9q16]::-webkit-scrollbar {
    width: 5px;
}

.admin-filter-panel[b-0jwotq9q16]::-webkit-scrollbar-track {
    background: transparent;
}

.admin-filter-panel[b-0jwotq9q16]::-webkit-scrollbar-thumb {
    background: rgba(203, 213, 225, 0.35);
    border-radius: 9999px;
    transition: background 0.2s ease;
}

.admin-filter-panel:hover[b-0jwotq9q16]::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.5);
}

.admin-filter-panel[b-0jwotq9q16]::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.filter-panel-heading[b-0jwotq9q16] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.filter-eyebrow[b-0jwotq9q16] {
    color: #047857;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.filter-panel-heading h3[b-0jwotq9q16] {
    margin: 0;
    color: #0f172a;
    font-size: 0.92rem;
    font-weight: 800;
}

.filter-reset-btn[b-0jwotq9q16] {
    padding: 0.25rem 0.55rem;
    color: #b42318;
    background: #fef2f2;
    border: 1px solid #fecaca;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.filter-reset-btn:hover[b-0jwotq9q16] {
    background: #fee2e2;
    color: #991b1b;
}

.filter-field[b-0jwotq9q16] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    width: 100%;
    box-sizing: border-box;
}

.filter-field label[b-0jwotq9q16] {
    color: #475569;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.filter-field select[b-0jwotq9q16],
.filter-field input:not([type="checkbox"]):not([type="radio"])[b-0jwotq9q16] {
    height: 34px;
    margin: 0;
    padding: 0 0.65rem;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    background: #ffffff;
    color: #0f172a;
    font-size: 0.82rem;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.filter-field select:focus[b-0jwotq9q16],
.filter-field input:not([type="checkbox"]):not([type="radio"]):focus[b-0jwotq9q16] {
    border-color: #047857;
    outline: none;
    box-shadow: 0 0 0 3px rgba(4, 120, 87, 0.15);
}

/* --- Modern Unified Map Layer Controls --- */
.map-layers-group[b-0jwotq9q16] {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-top: 0.35rem;
    width: 100%;
}

.layer-toggle-card[b-0jwotq9q16] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.45rem 0.65rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 9px;
    cursor: pointer;
    transition: all 0.18s ease;
    user-select: none;
    margin: 0;
}

.layer-toggle-card:hover[b-0jwotq9q16] {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.layer-toggle-card.active.meter-active[b-0jwotq9q16] {
    background: #ecfdf5;
    border-color: #a7f3d0;
}

.layer-toggle-card.active.transformer-active[b-0jwotq9q16] {
    background: #f5f3ff;
    border-color: #ddd6fe;
}

.layer-toggle-card.active.jaed-active[b-0jwotq9q16] {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.layer-toggle-info[b-0jwotq9q16] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.layer-icon[b-0jwotq9q16] {
    font-size: 1rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    flex-shrink: 0;
}

.layer-icon.meter-icon[b-0jwotq9q16] { background: rgba(5, 150, 105, 0.12); }
.layer-icon.transformer-icon[b-0jwotq9q16] { background: rgba(124, 58, 237, 0.12); }
.layer-icon.jaed-icon[b-0jwotq9q16] { background: rgba(37, 99, 235, 0.12); }

.layer-text[b-0jwotq9q16] {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    min-width: 0;
}

.layer-title[b-0jwotq9q16] {
    font-size: 0.8rem;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
}

.layer-sub[b-0jwotq9q16] {
    font-size: 0.68rem;
    color: #64748b;
    font-weight: 600;
    white-space: nowrap;
}

.layer-toggle-card.active.meter-active .layer-title[b-0jwotq9q16] { color: #065f46; }
.layer-toggle-card.active.transformer-active .layer-title[b-0jwotq9q16] { color: #5b21b6; }
.layer-toggle-card.active.jaed-active .layer-title[b-0jwotq9q16] { color: #1e40af; }

/* Custom iOS style toggle switch */
.layer-switch[b-0jwotq9q16] {
    position: relative;
    display: inline-block;
    width: 34px;
    height: 19px;
    flex-shrink: 0;
}

.layer-switch input[b-0jwotq9q16] {
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    position: absolute;
    pointer-events: none;
    margin: 0;
}

.switch-slider[b-0jwotq9q16] {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 20px;
}

.switch-slider[b-0jwotq9q16]::before {
    position: absolute;
    content: "";
    height: 15px;
    width: 15px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.layer-toggle-card.active.meter-active .switch-slider[b-0jwotq9q16] {
    background-color: #059669;
}
.layer-toggle-card.active.transformer-active .switch-slider[b-0jwotq9q16] {
    background-color: #7c3aed;
}
.layer-toggle-card.active.jaed-active .switch-slider[b-0jwotq9q16] {
    background-color: #2563eb;
}

.layer-switch input:checked + .switch-slider[b-0jwotq9q16]::before {
    transform: translateX(15px);
}

/* JAED Layer Sub-Controls in Sidebar */
.jaed-layer-wrapper[b-0jwotq9q16] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.jaed-feeder-dropdown-row[b-0jwotq9q16] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.55rem;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 7px;
    box-sizing: border-box;
    animation: fadeIn-b-0jwotq9q16 0.2s ease;
}

.feeder-label[b-0jwotq9q16] {
    font-size: 0.72rem;
    font-weight: 700;
    color: #1e40af;
    white-space: nowrap;
}

.jaed-feeder-select[b-0jwotq9q16] {
    height: 28px !important;
    padding: 0 0.45rem !important;
    font-size: 0.76rem !important;
    font-weight: 600 !important;
    border: 1px solid #93c5fd !important;
    border-radius: 5px !important;
    background: #ffffff !important;
    color: #1e40af !important;
    cursor: pointer;
    flex: 1;
    min-width: 0;
}

.jaed-feeder-select:focus[b-0jwotq9q16] {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2) !important;
}

@keyframes fadeIn-b-0jwotq9q16 {
    from { opacity: 0; transform: translateY(-3px); }
    to { opacity: 1; transform: translateY(0); }
}

.input-with-icon[b-0jwotq9q16] {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-with-icon .search-icon[b-0jwotq9q16] {
    position: absolute;
    left: 0.65rem;
    font-size: 0.8rem;
    color: #94a3b8;
    pointer-events: none;
}

.input-with-icon input[b-0jwotq9q16] {
    padding-left: 2rem !important;
}

.filter-date-group[b-0jwotq9q16] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
    width: 100%;
    box-sizing: border-box;
}

/* --- Primary Export to Excel Button --- */
.filter-actions-bottom[b-0jwotq9q16] {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-top: 0.55rem;
    border-top: 1px solid #f1f5f9;
}

.export-excel-btn[b-0jwotq9q16] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    min-height: 36px;
    padding: 0.45rem 0.85rem;
    background: #047857 !important;
    color: #ffffff !important;
    font-size: 0.84rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(4, 120, 87, 0.2);
    transition: all 0.2s ease;
}

.export-excel-btn:hover:not(:disabled)[b-0jwotq9q16] {
    background: #065f46 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(4, 120, 87, 0.3);
}

.export-excel-btn:disabled[b-0jwotq9q16] {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.export-count-pill[b-0jwotq9q16] {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff !important;
    padding: 0.05rem 0.45rem;
    border-radius: 9999px;
    font-size: 0.74rem;
    font-weight: 800;
}

.view-switch-btn[b-0jwotq9q16] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    min-height: 36px;
    padding: 0.45rem 0.85rem;
    background: #0f172a !important;
    color: #ffffff !important;
    font-size: 0.84rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(15, 23, 42, 0.2);
    transition: all 0.2s ease;
}

.view-switch-btn:hover[b-0jwotq9q16] {
    background: #1e293b !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.3);
}

.export-hint[b-0jwotq9q16] {
    text-align: center;
    font-size: 0.68rem;
    color: #64748b;
    display: block;
}

/* --- Map Workspace & Card --- */
.map-workspace[b-0jwotq9q16] {
    flex: 1 1 0%;
    width: 100%;
    min-width: 0;
    min-height: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.admin-map-card[b-0jwotq9q16] {
    display: flex;
    flex-direction: column;
    flex: 1 1 0%;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    position: relative;
}

/* --- Floating Quick Bar on Map --- */
.floating-quick-bar[b-0jwotq9q16] {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
    pointer-events: auto;
    max-width: calc(100% - 24px);
}

.drawer-toggle-chip[b-0jwotq9q16] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    height: 34px;
    padding: 0 0.85rem;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(12px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.drawer-toggle-chip:hover[b-0jwotq9q16] {
    background: #0f172a;
    transform: translateY(-1px);
}

.chip-badge[b-0jwotq9q16] {
    background: #ea580c;
    color: white;
    font-size: 0.68rem;
    padding: 0.05rem 0.4rem;
    border-radius: 10px;
}

.quick-search-box[b-0jwotq9q16] {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(203, 213, 225, 0.9);
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    height: 34px;
    width: 240px;
    transition: all 0.2s ease;
}

.quick-search-box:focus-within[b-0jwotq9q16] {
    width: 280px;
    border-color: #047857;
    box-shadow: 0 4px 16px rgba(4, 120, 87, 0.18);
}

.quick-search-box .search-ico[b-0jwotq9q16] {
    position: absolute;
    left: 0.65rem;
    font-size: 0.78rem;
    color: #64748b;
    pointer-events: none;
}

.quick-search-box input[b-0jwotq9q16] {
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
    padding: 0 1.8rem 0 2rem;
    font-size: 0.82rem;
    outline: none;
    color: #0f172a;
}

.clear-search-btn[b-0jwotq9q16] {
    position: absolute;
    right: 0.4rem;
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 0.8rem;
    cursor: pointer;
    padding: 0.2rem;
}

.quick-select-pill[b-0jwotq9q16] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(203, 213, 225, 0.9);
    border-radius: 20px;
    padding: 0 0.65rem 0 0.75rem;
    height: 34px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.quick-select-pill .pill-lbl[b-0jwotq9q16] {
    font-size: 0.72rem;
    font-weight: 700;
    color: #475569;
    white-space: nowrap;
}

.quick-select-pill select[b-0jwotq9q16] {
    border: none;
    background: transparent;
    font-size: 0.8rem;
    font-weight: 600;
    color: #0f172a;
    outline: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
}

.active-tag-chip[b-0jwotq9q16] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 16px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    transition: all 0.15s ease;
}

.active-tag-chip:hover[b-0jwotq9q16] {
    background: #fee2e2;
    border-color: #fecaca;
    color: #991b1b;
}

/* --- Floating Interactive KPI Ribbon --- */
.floating-kpi-ribbon[b-0jwotq9q16] {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 30px;
    padding: 0.3rem 0.55rem;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
    max-width: calc(100% - 32px);
    overflow-x: auto;
    scrollbar-width: none;
}

.kpi-pill[b-0jwotq9q16] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.75rem;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 20px;
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.kpi-pill:hover[b-0jwotq9q16] {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.kpi-pill.active-kpi[b-0jwotq9q16] {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

.kpi-pill .kpi-num[b-0jwotq9q16] {
    font-size: 0.85rem;
    font-weight: 800;
    color: #ffffff;
}

.kpi-dot[b-0jwotq9q16] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.plottable-dot[b-0jwotq9q16] { background: #10b981; }
.tapped-dot[b-0jwotq9q16] { background: #059669; }
.untapped-dot[b-0jwotq9q16] { background: #f59e0b; }
.pending-dot[b-0jwotq9q16] { background: #ef4444; }

/* --- Floating Bottom-Right Tools & Legend --- */
.floating-map-tools[b-0jwotq9q16] {
    position: absolute;
    bottom: 16px;
    right: 16px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.floating-tool-btn[b-0jwotq9q16] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    height: 32px;
    padding: 0 0.8rem;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(203, 213, 225, 0.9);
    border-radius: 18px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #1e293b;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.15s ease;
}

.floating-tool-btn:hover[b-0jwotq9q16] {
    background: #ffffff;
    color: #047857;
    transform: translateY(-1px);
}

.floating-legend-container[b-0jwotq9q16] {
    position: relative;
}

.floating-legend-popover[b-0jwotq9q16] {
    position: absolute;
    bottom: calc(100% + 8px);
    right: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    padding: 0.75rem 0.9rem;
    width: 230px;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    animation: fadeIn-b-0jwotq9q16 0.15s ease;
}

.legend-popover-header[b-0jwotq9q16] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.82rem;
    color: #0f172a;
}

.legend-close[b-0jwotq9q16] {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 0.85rem;
    padding: 0;
}

.legend-popover-body[b-0jwotq9q16] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.legend-row[b-0jwotq9q16] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.76rem;
    color: #334155;
    font-weight: 600;
}

.legend-symbol[b-0jwotq9q16] {
    display: inline-block;
    flex-shrink: 0;
}

.dot-pending[b-0jwotq9q16] { width: 9px; height: 9px; border-radius: 50%; background: #f59e0b; }
.dot-resolved[b-0jwotq9q16] { width: 9px; height: 9px; border-radius: 50%; background: #10b981; }
.diamond-pending[b-0jwotq9q16] { width: 8px; height: 8px; transform: rotate(45deg); background: #f59e0b; }
.diamond-resolved[b-0jwotq9q16] { width: 8px; height: 8px; transform: rotate(45deg); background: #10b981; }
.dot-jaed[b-0jwotq9q16] { width: 9px; height: 9px; border-radius: 50%; background: #3b82f6; border: 1px solid #1e40af; }
.line-verified[b-0jwotq9q16] { width: 14px; border-top: 3px solid #059669; }
.line-estimated[b-0jwotq9q16] { width: 14px; border-top: 2px dashed #f59e0b; }


.map-header-btn.jaed-btn:hover[b-0jwotq9q16] {
    background: #dbeafe;
    border-color: #93c5fd;
}

.map-header-btn.jaed-btn.active[b-0jwotq9q16] {
    background: #2563eb !important;
    color: #ffffff !important;
    border-color: #1d4ed8 !important;
    box-shadow: 0 1px 3px rgba(37, 99, 235, 0.25);
}

.map-header-btn.primary[b-0jwotq9q16] {
    background: #0f172a !important;
    color: #ffffff !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.15);
}

.map-header-btn.primary:hover:not(:disabled)[b-0jwotq9q16] {
    background: #1e293b !important;
}

.map-header-btn.primary:disabled[b-0jwotq9q16] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* --- Inspected Consumers Table View --- */
.admin-table-card[b-0jwotq9q16] {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.table-card-toolbar[b-0jwotq9q16] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.6rem 1rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.table-toolbar-left[b-0jwotq9q16] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #0f172a;
}

.table-scroll-wrap[b-0jwotq9q16] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(203, 213, 225, 0.4) transparent;
}

.table-scroll-wrap[b-0jwotq9q16]::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
.table-scroll-wrap[b-0jwotq9q16]::-webkit-scrollbar-track {
    background: transparent;
}
.table-scroll-wrap[b-0jwotq9q16]::-webkit-scrollbar-thumb {
    background: rgba(203, 213, 225, 0.4);
    border-radius: 9999px;
}
.table-scroll-wrap[b-0jwotq9q16]::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.inspected-table[b-0jwotq9q16] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.82rem;
}

.inspected-table th[b-0jwotq9q16] {
    position: sticky;
    top: 0;
    z-index: 5;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.55rem 0.75rem;
    border-bottom: 1px solid #cbd5e1;
    white-space: nowrap;
    text-align: left;
}

.inspected-table td[b-0jwotq9q16] {
    padding: 0.55rem 0.75rem;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
    color: #334155;
}

.inspected-table tr:hover td[b-0jwotq9q16] {
    background: #f8fafc;
}

.table-consumer-info[b-0jwotq9q16] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.table-consumer-info strong[b-0jwotq9q16] {
    color: #0f172a;
    font-size: 0.86rem;
}

.table-consumer-info small[b-0jwotq9q16] {
    color: #64748b;
    font-family: monospace;
    font-size: 0.76rem;
}

.table-issues-wrap[b-0jwotq9q16] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.table-gps-link[b-0jwotq9q16] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.45rem;
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.table-gps-link:hover[b-0jwotq9q16] {
    background: #d1fae5;
}

.table-no-gps[b-0jwotq9q16] {
    display: inline-flex;
    padding: 0.2rem 0.45rem;
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
    border-radius: 6px;
    font-size: 0.74rem;
    font-weight: 600;
}

/* --- Photo Thumbnail & Shimmer Skeleton Loader --- */
@keyframes skeleton-shimmer-b-0jwotq9q16 {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.table-photo-preview[b-0jwotq9q16] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer-b-0jwotq9q16 1.8s infinite linear;
    flex-shrink: 0;
    overflow: hidden;
}

.table-thumbnail[b-0jwotq9q16] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    border: 1.5px solid #cbd5e1;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    background: transparent;
    display: block;
}

.table-photo-preview:hover .table-thumbnail[b-0jwotq9q16] {
    transform: scale(1.12);
    border-color: #047857;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.photo-modal-stage[b-0jwotq9q16] {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #09101d 25%, #1e293b 50%, #09101d 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer-b-0jwotq9q16 2s infinite ease-in-out;
    overflow: hidden;
    min-height: 300px;
    max-height: 62vh;
}

.map-popup-photo-wrap[b-0jwotq9q16] {
    position: relative;
    margin: 0.45rem 0;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer-b-0jwotq9q16 1.8s infinite linear;
    border: 1px solid #cbd5e1;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.table-photo-badge[b-0jwotq9q16] {
    position: absolute;
    bottom: -3px;
    right: -5px;
    background: #0f172a;
    color: #ffffff !important;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 9999px;
    border: 1.5px solid #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.table-no-photos[b-0jwotq9q16] {
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 600;
    padding-left: 0.5rem;
}

.table-actions-cell[b-0jwotq9q16] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}

.photo-btn:hover[b-0jwotq9q16] {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

.resolve-btn-sm[b-0jwotq9q16] {
    padding: 0.25rem 0.55rem;
    font-size: 0.74rem;
    font-weight: 700;
    background: #047857 !important;
    color: #ffffff !important;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.resolve-btn-sm:hover[b-0jwotq9q16] {
    background: #065f46 !important;
}

.reopen-btn-sm[b-0jwotq9q16] {
    padding: 0.25rem 0.55rem;
    font-size: 0.74rem;
    font-weight: 700;
    background: #f1f5f9 !important;
    color: #475569 !important;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    cursor: pointer;
}

.reopen-btn-sm:hover[b-0jwotq9q16] {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

.edit-btn-sm[b-0jwotq9q16],
.delete-btn-sm[b-0jwotq9q16] {
    padding: 0.25rem 0.45rem;
    font-size: 0.78rem;
    border-radius: 6px;
    cursor: pointer;
    border: 1px solid transparent;
}

.edit-btn-sm[b-0jwotq9q16] {
    background: #e0f2fe !important;
    border-color: #bae6fd;
}

.edit-btn-sm:hover[b-0jwotq9q16] {
    background: #bae6fd !important;
}

.delete-btn-sm[b-0jwotq9q16] {
    background: #fee2e2 !important;
    border-color: #fecaca;
}

.delete-btn-sm:hover[b-0jwotq9q16] {
    background: #fca5a5 !important;
}

.map-title-pill[b-0jwotq9q16] {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.75rem;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    border: 1px solid #cbd5e1;
    border-radius: 9999px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
    font-size: 0.8rem;
    color: #0f172a;
    font-weight: 600;
}

.pulse-dot[b-0jwotq9q16] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
    animation: pulse-b-0jwotq9q16 2s infinite;
}

@keyframes pulse-b-0jwotq9q16 {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
    70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.pill-divider[b-0jwotq9q16] {
    color: #cbd5e1;
    font-weight: bold;
}

.map-actions-pill[b-0jwotq9q16] {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.55rem;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    border: 1px solid #cbd5e1;
    border-radius: 9999px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.map-legend[b-0jwotq9q16] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0 0.45rem 0 0.2rem;
    border-right: 1px solid #e2e8f0;
}

.legend-item[b-0jwotq9q16] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.76rem;
    font-weight: 600;
    color: #334155;
}

.legend-dot[b-0jwotq9q16] {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    box-shadow: 0 0 0 1px white, 0 0 0 2px rgba(0, 0, 0, 0.15);
}

.legend-dot.pending[b-0jwotq9q16] {
    background: #f59e0b !important;
}

.legend-dot.resolved[b-0jwotq9q16] {
    background: #10b981 !important;
}

.map-pill-btn[b-0jwotq9q16] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    height: 30px;
    padding: 0 0.75rem;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    white-space: nowrap;
}

.map-pill-btn.reset-btn[b-0jwotq9q16] {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
}

.map-pill-btn.reset-btn:hover[b-0jwotq9q16] {
    background: #e2e8f0;
    color: #0f172a;
}

.map-pill-btn.list-btn[b-0jwotq9q16] {
    background: #0f172a !important;
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.2);
}

.map-pill-btn.list-btn:hover:not(:disabled)[b-0jwotq9q16] {
    background: #1e293b !important;
    transform: translateY(-1px);
}

.map-pill-btn.list-btn:disabled[b-0jwotq9q16] {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-counter[b-0jwotq9q16] {
    background: #047857;
    color: #ffffff !important;
    font-size: 0.74rem;
    font-weight: 800;
    padding: 0.1rem 0.45rem;
    border-radius: 9999px;
}

#admin-report-map[b-0jwotq9q16] {
    position: relative;
    flex: 1 1 0%;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 380px;
    background: #e2e8f0;
    z-index: 1;
}

/* --- Slide-Over Report Drawer --- */
.report-drawer-backdrop[b-0jwotq9q16] {
    position: fixed;
    inset: 0;
    z-index: 1190;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
    transition: opacity 0.3s ease;
}

.report-drawer[b-0jwotq9q16] {
    position: fixed;
    z-index: 1200;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(680px, 100vw);
    overflow-y: auto;
    border-width: 0;
    border-radius: 0;
    box-shadow: -8px 0 25px rgba(0, 0, 0, 0.15);
    background: #f8fafc;
    display: flex;
    flex-direction: column;
}

.report-drawer > .card-heading[b-0jwotq9q16] {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.report-drawer > .card-heading h2[b-0jwotq9q16] {
    margin: 0 0 0.2rem;
    color: #0f172a;
    font-size: 1.2rem;
    font-weight: 800;
}

.report-drawer > .card-heading p[b-0jwotq9q16] {
    margin: 0;
    color: #64748b;
    font-size: 0.85rem;
}

.drawer-close[b-0jwotq9q16] {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #475569;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #f1f5f9;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.drawer-close:hover[b-0jwotq9q16] {
    background: #e2e8f0;
    color: #0f172a;
}

.report-list[b-0jwotq9q16] {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 1.25rem;
    background: #f8fafc;
}

.report-item[b-0jwotq9q16] {
    padding: 1.1rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.report-item:hover[b-0jwotq9q16] {
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.report-item-heading[b-0jwotq9q16] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid #f1f5f9;
}

.report-item-heading strong[b-0jwotq9q16] {
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 800;
}

.report-item-heading small[b-0jwotq9q16] {
    color: #64748b;
    font-size: 0.8rem;
    font-family: monospace;
}

.badge[b-0jwotq9q16] {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

.badge.pending[b-0jwotq9q16] {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
}

.badge.resolved[b-0jwotq9q16] {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.report-details[b-0jwotq9q16] {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 0.85rem;
}

.report-detail[b-0jwotq9q16] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.report-detail > span[b-0jwotq9q16] {
    color: #64748b;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.report-detail > strong[b-0jwotq9q16] {
    color: #0f172a;
    font-size: 0.85rem;
    font-weight: 700;
}

.report-detail small[b-0jwotq9q16] {
    color: #64748b;
    font-size: 0.76rem;
}

.location-detail[b-0jwotq9q16] {
    grid-column: 1 / -1;
}

.location-detail a[b-0jwotq9q16] {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.65rem;
    color: #047857;
    border: 1px solid #a7f3d0;
    border-radius: 6px;
    background: #ecfdf5;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease;
}

.location-detail a:hover[b-0jwotq9q16] {
    background: #d1fae5;
}

.report-photos[b-0jwotq9q16] {
    display: flex;
    gap: 0.6rem;
    padding-top: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.report-photos img[b-0jwotq9q16] {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    cursor: pointer;
    background: #0f172a;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.report-photos img:hover[b-0jwotq9q16] {
    transform: scale(1.1);
    border-color: #047857;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.report-photos small[b-0jwotq9q16] {
    font-size: 0.76rem;
    font-weight: 700;
    color: #64748b;
    background: #f1f5f9;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.report-actions[b-0jwotq9q16] {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    padding-top: 0.85rem;
    margin-top: 0.85rem;
    border-top: 1px solid #f1f5f9;
}

.report-actions button[b-0jwotq9q16] {
    padding: 0.45rem 0.85rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.resolve-btn[b-0jwotq9q16] {
    background: #047857 !important;
    color: #ffffff !important;
    border: none;
}
.resolve-btn:hover[b-0jwotq9q16] { background: #065f46 !important; }

.reopen-btn[b-0jwotq9q16] {
    background: #f1f5f9 !important;
    color: #475569 !important;
    border: 1px solid #cbd5e1;
}
.reopen-btn:hover[b-0jwotq9q16] { background: #e2e8f0 !important; color: #0f172a !important; }

.edit-action[b-0jwotq9q16] {
    background: #0284c7 !important;
    color: #ffffff !important;
    border: none;
}
.edit-action:hover[b-0jwotq9q16] { background: #0369a1 !important; }

.delete-action[b-0jwotq9q16] {
    background: #fef2f2 !important;
    color: #b91c1c !important;
    border: 1px solid #fca5a5;
}
.delete-action:hover[b-0jwotq9q16] { background: #fee2e2 !important; color: #991b1b !important; }

.invalid-gps[b-0jwotq9q16] {
    display: inline-flex;
    width: fit-content;
    padding: 0.3rem 0.55rem;
    color: #b42318;
    border: 1px solid #fecaca;
    border-radius: 6px;
    background: #fff1f2;
    font-size: 0.76rem;
    font-weight: 600;
    white-space: nowrap;
}

/* --- Modal Filmstrip Thumbnails --- */
.modal-filmstrip[b-0jwotq9q16] {
    display: flex;
    gap: 0.55rem;
    justify-content: center;
    padding: 0.6rem 1rem;
    background: #090d16;
    border-top: 1px solid #1e293b;
    overflow-x: auto;
    scrollbar-width: thin;
}

.filmstrip-thumb[b-0jwotq9q16] {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    padding: 0;
    background: transparent;
    transition: all 0.15s ease;
    flex-shrink: 0;
    opacity: 0.6;
}

.filmstrip-thumb:hover[b-0jwotq9q16] {
    opacity: 0.9;
    border-color: #64748b;
}

.filmstrip-thumb.active[b-0jwotq9q16] {
    opacity: 1;
    border-color: #10b981;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.4);
    transform: scale(1.06);
}

.filmstrip-thumb img[b-0jwotq9q16] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- Admin Login Styles --- */
.admin-login-shell[b-0jwotq9q16] {
    display: grid;
    min-height: calc(100vh - 160px);
    place-items: center;
}

.admin-login-card[b-0jwotq9q16] {
    width: min(100%, 420px);
    padding: 2.25rem;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
}

.admin-login-card h1[b-0jwotq9q16] {
    margin: 0.25rem 0 0.35rem;
    color: #0f172a;
    font-size: 1.8rem;
    font-weight: 800;
}

.admin-login-card p[b-0jwotq9q16] {
    margin-bottom: 1.5rem;
    color: #64748b;
    font-size: 0.92rem;
}

.admin-login-card label[b-0jwotq9q16] {
    display: block;
    margin: 0.75rem 0 0.3rem;
    color: #334155;
    font-size: 0.8rem;
    font-weight: 700;
}

.admin-login-card input[b-0jwotq9q16] {
    height: 42px;
    padding: 0 0.85rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
}

.admin-login-button[b-0jwotq9q16] {
    width: 100%;
    min-height: 44px;
    margin-top: 1.25rem;
    background: #047857 !important;
    color: #ffffff !important;
    border: none;
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(4, 120, 87, 0.3);
}

.admin-login-button:hover[b-0jwotq9q16] {
    background: #065f46 !important;
}

.admin-error[b-0jwotq9q16] {
    width: min(100%, 420px);
    margin: -1.5rem auto 0;
    color: #b42318;
    text-align: center;
    font-weight: 600;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1180px) {
    .admin-kpi-grid[b-0jwotq9q16] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .admin-page-container[b-0jwotq9q16] {
        height: auto;
        max-height: none;
        overflow-y: visible;
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
    .admin-workspace[b-0jwotq9q16] {
        flex-direction: column;
        height: auto;
        min-height: 0;
    }
    .admin-filter-panel[b-0jwotq9q16] {
        width: 100%;
        max-width: 100%;
        height: auto;
        overflow-y: visible;
    }
    .admin-filter-panel.collapsed[b-0jwotq9q16] {
        display: none !important;
    }
    .map-workspace[b-0jwotq9q16] {
        width: 100%;
        min-height: 500px;
        flex: 1 1 auto;
    }
    .admin-map-card[b-0jwotq9q16] {
        height: 65vh;
        min-height: 480px;
        width: 100%;
        flex: 1 1 auto;
    }
    #admin-report-map[b-0jwotq9q16] {
        min-height: 480px;
        height: 100%;
        width: 100%;
    }
}

/* --- Table Pagination Bar --- */
.table-pagination-bar[b-0jwotq9q16] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    border-radius: 0 0 12px 12px;
    box-sizing: border-box;
}

.pagination-info[b-0jwotq9q16] {
    font-size: 0.85rem;
    color: #475569;
}

.pagination-controls[b-0jwotq9q16] {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.page-size-selector[b-0jwotq9q16] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.page-size-label[b-0jwotq9q16] {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    margin-right: 0.2rem;
}

.page-size-btn[b-0jwotq9q16] {
    padding: 0.25rem 0.55rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.page-size-btn:hover[b-0jwotq9q16] {
    background: #e2e8f0;
    color: #0f172a;
}

.page-size-btn.active[b-0jwotq9q16] {
    background: #047857;
    color: #ffffff;
    border-color: #047857;
}

.page-nav-cluster[b-0jwotq9q16] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.page-nav-btn[b-0jwotq9q16] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    font-size: 0.8rem;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    color: #334155;
    cursor: pointer;
    transition: all 0.15s ease;
}

.page-nav-btn:hover:not(:disabled)[b-0jwotq9q16] {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a;
}

.page-nav-btn:disabled[b-0jwotq9q16] {
    opacity: 0.4;
    cursor: not-allowed;
    background: #f1f5f9;
}

.page-current-indicator[b-0jwotq9q16] {
    font-size: 0.82rem;
    color: #475569;
    padding: 0 0.4rem;
    white-space: nowrap;
}

@media (max-width: 768px) {
    /* Unified Command Bar Mobile Adjustments */
    .admin-command-bar[b-0jwotq9q16] {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        padding: 0.5rem 0.65rem;
        min-height: auto;
    }
    .command-bar-left[b-0jwotq9q16] {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-width: 0;
    }
    .command-title-row[b-0jwotq9q16] {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.4rem;
    }
    .command-title-row h2[b-0jwotq9q16] {
        font-size: 0.95rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .segmented-control[b-0jwotq9q16] {
        width: 100%;
        max-width: 100%;
        display: flex;
        overflow: visible;
        flex-wrap: wrap;
        padding: 0.2rem;
        box-sizing: border-box;
    }
    .segmented-btn[b-0jwotq9q16] {
        white-space: nowrap;
        flex-shrink: 0;
        padding: 0.35rem 0.65rem;
        font-size: 0.8rem;
    }
    .command-bar-right[b-0jwotq9q16] {
        width: 100%;
        display: flex;
        justify-content: stretch;
        gap: 0.4rem;
    }
    .command-bar-right .cmd-action-btn[b-0jwotq9q16] {
        flex: 1 1 0;
        justify-content: center;
        padding: 0 0.5rem;
        font-size: 0.75rem;
    }

    .admin-page-header[b-0jwotq9q16] {
        align-items: stretch;
        flex-direction: column;
        gap: 0.6rem;
    }
    .admin-header-left[b-0jwotq9q16] {
        width: 100%;
    }
    .admin-tabs[b-0jwotq9q16] {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 0.25rem 0.35rem;
    }
    .admin-tab[b-0jwotq9q16] {
        flex-shrink: 0;
        padding: 0.35rem 0.65rem;
        font-size: 0.8rem;
    }
    .admin-kpi-grid[b-0jwotq9q16] {
        grid-template-columns: 1fr;
    }
    .map-floating-bar[b-0jwotq9q16] {
        flex-direction: column;
        align-items: stretch;
    }
    .map-actions-pill[b-0jwotq9q16] {
        justify-content: space-between;
    }
    .table-pagination-bar[b-0jwotq9q16] {
        flex-direction: column;
        align-items: stretch;
        gap: 0.6rem;
        padding: 0.6rem 0.75rem;
    }
    .pagination-controls[b-0jwotq9q16] {
        flex-direction: column;
        align-items: stretch;
        gap: 0.6rem;
    }
    .page-size-selector[b-0jwotq9q16] {
        justify-content: space-between;
    }
    .page-size-btn[b-0jwotq9q16] {
        flex: 1;
        text-align: center;
    }
    .page-nav-cluster[b-0jwotq9q16] {
        justify-content: center;
        width: 100%;
    }
}

/* ==========================================================================
   User Management & Resolution Styles
   ========================================================================== */
.users-tab-container[b-0jwotq9q16] {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 0.25rem 0;
    width: 100%;
    box-sizing: border-box;
}

.users-header-bar[b-0jwotq9q16] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.85rem 1.25rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.btn-copy-reg[b-0jwotq9q16] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #f8fafc;
    color: #0f172a;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 0.5rem 0.95rem;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-copy-reg:hover[b-0jwotq9q16] {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #047857;
}

.btn-add-user[b-0jwotq9q16] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #047857;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 0.5rem 1.1rem;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(4, 120, 87, 0.2);
    transition: background 0.15s ease;
}

.btn-add-user:hover[b-0jwotq9q16] {
    background: #065f46;
}

.copy-link-banner[b-0jwotq9q16] {
    display: flex;
    align-items: center;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    border-radius: 8px;
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    animation: fadeIn-b-0jwotq9q16 0.2s ease-in;
}

.alert-success[b-0jwotq9q16] {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    border-radius: 6px;
    padding: 0.6rem 0.9rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.alert-error[b-0jwotq9q16] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    border-radius: 6px;
    padding: 0.6rem 0.9rem;
    font-size: 0.85rem;
    font-weight: 600;
}

/* --- Modern User Management Toolbar --- */
.users-toolbar-card[b-0jwotq9q16] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.85rem 1.1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.users-toolbar-main[b-0jwotq9q16] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.users-search-box[b-0jwotq9q16] {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1 1 280px;
    max-width: 440px;
    min-width: 220px;
}

.users-search-icon[b-0jwotq9q16] {
    position: absolute;
    left: 0.8rem;
    font-size: 0.85rem;
    color: #94a3b8;
    pointer-events: none;
}

.users-search-input[b-0jwotq9q16] {
    width: 100%;
    height: 38px;
    padding: 0 2rem 0 2.35rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.88rem;
    background: #f8fafc;
    color: #0f172a;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.users-search-input:focus[b-0jwotq9q16] {
    background: #ffffff;
    border-color: #047857;
    outline: none;
    box-shadow: 0 0 0 3px rgba(4, 120, 87, 0.12);
}

.users-search-clear[b-0jwotq9q16] {
    position: absolute;
    right: 0.65rem;
    background: transparent;
    border: none;
    font-size: 0.8rem;
    color: #94a3b8;
    cursor: pointer;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
}

.users-search-clear:hover[b-0jwotq9q16] {
    color: #0f172a;
    background: #e2e8f0;
}

.users-filters-cluster[b-0jwotq9q16] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.filter-dropdown-pill[b-0jwotq9q16] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    height: 38px;
    padding: 0 0.65rem;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    box-sizing: border-box;
    transition: all 0.15s ease;
}

.filter-dropdown-pill:hover[b-0jwotq9q16] {
    background: #ffffff;
    border-color: #94a3b8;
}

.filter-dropdown-pill:focus-within[b-0jwotq9q16] {
    background: #ffffff;
    border-color: #047857;
    box-shadow: 0 0 0 3px rgba(4, 120, 87, 0.12);
}

.filter-pill-icon[b-0jwotq9q16] {
    font-size: 0.85rem;
    line-height: 1;
}

.filter-pill-label[b-0jwotq9q16] {
    font-size: 0.76rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    user-select: none;
}

.filter-pill-select[b-0jwotq9q16] {
    border: none;
    background: transparent;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0f172a;
    cursor: pointer;
    outline: none;
    padding: 0 0.2rem;
    font-family: inherit;
}

.btn-refresh-toolbar[b-0jwotq9q16] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    height: 38px;
    padding: 0 0.85rem;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
    box-sizing: border-box;
}

.btn-refresh-toolbar:hover[b-0jwotq9q16] {
    background: #ffffff;
    border-color: #94a3b8;
    color: #047857;
}

.btn-refresh-toolbar:active .refresh-spin-icon[b-0jwotq9q16] {
    transform: rotate(180deg);
}

.refresh-spin-icon[b-0jwotq9q16] {
    font-size: 0.85rem;
    transition: transform 0.25s ease;
}

/* --- Chips & Count Subbar --- */
.users-chips-subbar[b-0jwotq9q16] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    flex-wrap: wrap;
    padding-top: 0.6rem;
    border-top: 1px solid #f1f5f9;
}

.users-chips-row[b-0jwotq9q16] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.users-chip[b-0jwotq9q16] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.15s ease;
}

.users-chip:hover[b-0jwotq9q16] {
    background: #e2e8f0;
    color: #0f172a;
}

.users-chip.active[b-0jwotq9q16] {
    background: #047857;
    color: #ffffff;
    border-color: #047857;
    font-weight: 700;
}

.users-chip.active .chip-badge[b-0jwotq9q16] {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.users-chip.chip-pending[b-0jwotq9q16] {
    border-color: #fde68a;
    background: #fffbeb;
    color: #92400e;
}

.users-chip.chip-pending.active[b-0jwotq9q16] {
    background: #d97706;
    color: #ffffff;
    border-color: #d97706;
}

.chip-badge[b-0jwotq9q16] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    background: #e2e8f0;
    color: #475569;
    line-height: 1;
}

.chip-badge.badge-pending[b-0jwotq9q16] {
    background: #f59e0b;
    color: #ffffff;
}

.users-count-tag[b-0jwotq9q16] {
    font-size: 0.78rem;
    color: #64748b;
    white-space: nowrap;
}


.users-table-card[b-0jwotq9q16] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow-x: auto;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.users-table[b-0jwotq9q16] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    text-align: left;
}

.users-table th[b-0jwotq9q16] {
    background: #f8fafc;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    white-space: nowrap;
}

.users-table td[b-0jwotq9q16] {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.users-table tr:hover[b-0jwotq9q16] {
    background: #f8fafc;
}

.user-avatar[b-0jwotq9q16] {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.user-avatar.admin[b-0jwotq9q16] {
    background: #f3e8ff;
    color: #7e22ce;
    border: 1px solid #e9d5ff;
}

.user-avatar.maintenance[b-0jwotq9q16] {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

.user-avatar.inspector[b-0jwotq9q16] {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.role-pill[b-0jwotq9q16] {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.role-pill.admin[b-0jwotq9q16] {
    background: #f3e8ff;
    color: #7e22ce;
    border: 1px solid #d8b4fe;
}

.role-pill.maintenance[b-0jwotq9q16] {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #7dd3fc;
}

.role-pill.inspector[b-0jwotq9q16] {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #6ee7b7;
}

.status-toggle-btn[b-0jwotq9q16] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    padding: 0.25rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.15s ease;
}

.status-toggle-btn.active[b-0jwotq9q16] {
    background: #ecfdf5;
    color: #065f46;
    border-color: #a7f3d0;
}

.status-toggle-btn.inactive[b-0jwotq9q16] {
    background: #f1f5f9;
    color: #64748b;
    border-color: #cbd5e1;
}

.status-toggle-btn:disabled[b-0jwotq9q16] {
    cursor: default;
    opacity: 0.75;
}

.status-dot[b-0jwotq9q16] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.status-toggle-btn.active .status-dot[b-0jwotq9q16] {
    background: #10b981;
}

.status-toggle-btn.inactive .status-dot[b-0jwotq9q16] {
    background: #94a3b8;
}

.action-btn[b-0jwotq9q16] {
    padding: 0.35rem 0.65rem;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #334155;
    transition: all 0.15s ease;
}

.action-btn:hover[b-0jwotq9q16] {
    background: #f8fafc;
    border-color: #94a3b8;
}

.action-btn.del-btn[b-0jwotq9q16] {
    color: #dc2626;
    border-color: #fecaca;
}

.action-btn.del-btn:hover[b-0jwotq9q16] {
    background: #fef2f2;
    border-color: #f87171;
}

.action-btn.key-btn:hover[b-0jwotq9q16] {
    color: #0369a1;
    border-color: #7dd3fc;
}

.action-btn.edit-btn:hover[b-0jwotq9q16] {
    color: #047857;
    border-color: #a7f3d0;
    background: #ecfdf5;
}

/* --- Pending Approvals Card --- */
.pending-approvals-card[b-0jwotq9q16] {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 12px;
    padding: 1.1rem 1.25rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.08);
    animation: fadeIn-b-0jwotq9q16 0.25s ease-out;
}

.pending-approvals-header[b-0jwotq9q16] {
    margin-bottom: 0.9rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid #fef3c7;
}

.pending-badge-icon[b-0jwotq9q16] {
    font-size: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #fef3c7;
    border-radius: 50%;
}

.pending-users-list[b-0jwotq9q16] {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.pending-user-item[b-0jwotq9q16] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: #ffffff;
    border: 1px solid #fef3c7;
    border-radius: 8px;
    padding: 0.65rem 0.9rem;
    flex-wrap: wrap;
    transition: box-shadow 0.15s ease;
}

.pending-user-item:hover[b-0jwotq9q16] {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.pending-meta[b-0jwotq9q16] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.pending-actions[b-0jwotq9q16] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.btn-approve-now[b-0jwotq9q16] {
    background: #047857;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 0.35rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.btn-approve-now:hover[b-0jwotq9q16] {
    background: #065f46;
}

.btn-quick-approve[b-0jwotq9q16] {
    background: #047857;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 0.22rem 0.55rem;
    font-size: 0.73rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease;
}

.btn-quick-approve:hover[b-0jwotq9q16] {
    background: #065f46;
}

.status-pill.pending-approval[b-0jwotq9q16] {
    display: inline-flex;
    align-items: center;
    padding: 0.22rem 0.6rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
    white-space: nowrap;
}

.row-pending-approval[b-0jwotq9q16] {
    background: #fffdf5 !important;
}

.row-pending-approval:hover[b-0jwotq9q16] {
    background: #fefce8 !important;
}

.resolution-card-detail[b-0jwotq9q16] {
    grid-column: 1 / -1;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    margin-top: 0.35rem;
    font-size: 0.82rem;
}

@keyframes fadeIn-b-0jwotq9q16 {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Mobile User Cards & Responsive Adjustments (<= 768px)
   ========================================================================== */
.users-desktop-table[b-0jwotq9q16] {
    display: block;
    width: 100%;
}

.users-mobile-card-list[b-0jwotq9q16] {
    display: none;
}

.user-mobile-card[b-0jwotq9q16] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
    width: 100%;
}

.user-mobile-card.pending[b-0jwotq9q16] {
    border-left: 4px solid #f59e0b;
    background: #fffdf5;
}

.user-card-header[b-0jwotq9q16] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.user-card-avatar[b-0jwotq9q16] {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    flex-shrink: 0;
}
.user-card-avatar.admin[b-0jwotq9q16] { background: #f3e8ff; color: #7e22ce; border: 1px solid #e9d5ff; }
.user-card-avatar.maintenance[b-0jwotq9q16] { background: #e0f2fe; color: #0369a1; border: 1px solid #bae6fd; }
.user-card-avatar.inspector[b-0jwotq9q16] { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }

.user-card-meta[b-0jwotq9q16] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.user-card-name[b-0jwotq9q16] {
    font-size: 0.92rem;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-card-username[b-0jwotq9q16] {
    font-size: 0.78rem;
    color: #64748b;
    font-family: monospace;
}

.user-card-role-badge[b-0jwotq9q16] {
    flex-shrink: 0;
}

.user-card-details[b-0jwotq9q16] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.5rem 0.65rem;
    background: #f8fafc;
    border-radius: 6px;
    font-size: 0.8rem;
}

.user-card-detail-item[b-0jwotq9q16] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.detail-label[b-0jwotq9q16] {
    color: #64748b;
    font-weight: 600;
    font-size: 0.76rem;
}

.detail-value[b-0jwotq9q16] {
    color: #0f172a;
    font-weight: 500;
}

.status-indicator[b-0jwotq9q16] {
    font-size: 0.78rem;
    font-weight: 700;
}
.status-indicator.active[b-0jwotq9q16] { color: #059669; }
.status-indicator.inactive[b-0jwotq9q16] { color: #dc2626; }

.user-card-actions[b-0jwotq9q16] {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
    padding-top: 0.4rem;
    border-top: 1px solid #f1f5f9;
}

.btn-card-approve[b-0jwotq9q16] {
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background: #047857;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 0.45rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
}
.btn-card-approve:hover[b-0jwotq9q16] { background: #065f46; }

.btn-card-toggle[b-0jwotq9q16] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.42rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
}
.btn-card-toggle.active[b-0jwotq9q16] {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}
.btn-card-toggle.inactive[b-0jwotq9q16] {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}
.btn-card-toggle:disabled[b-0jwotq9q16] {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-card-edit[b-0jwotq9q16], .btn-card-key[b-0jwotq9q16] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 0.42rem 0.75rem;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    color: #334155;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
}
.btn-card-edit:hover[b-0jwotq9q16], .btn-card-key:hover[b-0jwotq9q16] {
    background: #f1f5f9;
    color: #0f172a;
}

.btn-card-delete[b-0jwotq9q16] {
    padding: 0.42rem 0.65rem;
    background: #fff1f2;
    border: 1px solid #fecdd3;
    border-radius: 6px;
    color: #e11d48;
    font-size: 0.85rem;
    cursor: pointer;
}
.btn-card-delete:hover[b-0jwotq9q16] {
    background: #fee2e2;
}

@media (max-width: 768px) {
    .users-tab-container[b-0jwotq9q16] {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    .users-header-bar[b-0jwotq9q16] {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        padding: 0.85rem 1rem;
        box-sizing: border-box;
        width: 100%;
    }
    .users-header-bar > div:last-child[b-0jwotq9q16] {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }
    .btn-copy-reg[b-0jwotq9q16], .btn-add-user[b-0jwotq9q16] {
        width: 100%;
        justify-content: center;
        padding: 0.6rem;
        box-sizing: border-box;
    }
    .users-toolbar-card[b-0jwotq9q16] {
        padding: 0.75rem 0.85rem;
        box-sizing: border-box;
        width: 100%;
    }
    .users-toolbar-main[b-0jwotq9q16] {
        flex-direction: column;
        align-items: stretch;
        gap: 0.6rem;
        width: 100%;
    }
    .users-search-box[b-0jwotq9q16] {
        max-width: 100%;
        width: 100%;
        flex: 1 1 100%;
        min-width: 0;
        box-sizing: border-box;
    }
    .users-filters-cluster[b-0jwotq9q16] {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
        box-sizing: border-box;
    }
    .filter-dropdown-pill[b-0jwotq9q16] {
        width: 100%;
        justify-content: space-between;
        box-sizing: border-box;
    }
    .filter-pill-select[b-0jwotq9q16] {
        flex: 1;
        text-align: right;
    }
    .btn-refresh-toolbar[b-0jwotq9q16] {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }
    .users-chips-subbar[b-0jwotq9q16] {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        width: 100%;
    }
    .users-chips-row[b-0jwotq9q16] {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.35rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        box-sizing: border-box;
    }
    .users-chips-row[b-0jwotq9q16]::-webkit-scrollbar {
        display: none;
    }
    .users-table-card[b-0jwotq9q16] {
        border-radius: 8px;
        max-width: 100%;
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    .users-desktop-table[b-0jwotq9q16] {
        display: none !important;
    }
    .users-mobile-card-list[b-0jwotq9q16] {
        display: flex !important;
        flex-direction: column;
        gap: 0.75rem;
        padding: 0.5rem;
        width: 100%;
        box-sizing: border-box;
    }
    .pending-user-item[b-0jwotq9q16] {
        flex-direction: column;
        align-items: stretch;
        gap: 0.6rem;
        box-sizing: border-box;
        width: 100%;
    }
    .pending-user-item > div:first-child[b-0jwotq9q16] {
        min-width: 0 !important;
    }
    .pending-meta[b-0jwotq9q16] {
        justify-content: space-between;
        width: 100%;
    }
    .pending-actions[b-0jwotq9q16] {
        width: 100%;
        justify-content: stretch;
        gap: 0.4rem;
    }
    .pending-actions button[b-0jwotq9q16] {
        flex: 1;
        justify-content: center;
        box-sizing: border-box;
    }
}

/* Custom popup offset to avoid blocking meters above transformers */
.side-popup[b-0jwotq9q16] {
    margin-bottom: -50px;
}
.side-popup .leaflet-popup-tip-container[b-0jwotq9q16] {
    display: none !important;
}
.side-popup .leaflet-popup-content-wrapper[b-0jwotq9q16] {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    border: 1px solid #cbd5e1;
}
/* /Pages/Users.razor.rz.scp.css */
/* ==========================================================================
   Users & Access Management - Scoped Styles
   ========================================================================== */

.users-page-wrapper[b-n14m0rigx3] {
    min-height: calc(100vh - 70px);
    background: #f8fafc;
    padding-bottom: 3rem;
}

.users-container[b-n14m0rigx3] {
    max-width: 1240px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
    box-sizing: border-box;
}

/* --- Auth Guard & Access Restricted Shell --- */
.users-auth-guard[b-n14m0rigx3] {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 1.5rem;
}

.users-auth-card[b-n14m0rigx3] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    max-width: 440px;
    width: 100%;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.users-auth-card h2[b-n14m0rigx3] {
    margin: 0 0 0.5rem 0;
    font-size: 1.35rem;
    color: #0f172a;
}

.users-auth-card p[b-n14m0rigx3] {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.btn-primary-action[b-n14m0rigx3] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #047857;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.6rem 1.4rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.15s ease;
}

.btn-primary-action:hover[b-n14m0rigx3] {
    background: #065f46;
}

/* --- Header Card --- */
.users-header-card[b-n14m0rigx3] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.users-eyebrow[b-n14m0rigx3] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #047857;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.eyebrow-dot[b-n14m0rigx3] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
}

.users-title-group h1[b-n14m0rigx3] {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.users-title-group p[b-n14m0rigx3] {
    margin: 0.25rem 0 0 0;
    font-size: 0.85rem;
    color: #64748b;
}

.users-header-actions[b-n14m0rigx3] {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    flex-wrap: wrap;
}

.btn-copy-reg[b-n14m0rigx3] {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.55rem 0.95rem;
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-copy-reg:hover[b-n14m0rigx3] {
    background: #e2e8f0;
    color: #0f172a;
}

.btn-add-user[b-n14m0rigx3] {
    background: #047857;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 0.55rem 1.15rem;
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(4, 120, 87, 0.3);
    transition: background 0.15s ease;
}

.btn-add-user:hover[b-n14m0rigx3] {
    background: #065f46;
}

/* --- Banner & Alerts --- */
.copy-link-banner[b-n14m0rigx3] {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.copy-link-banner small[b-n14m0rigx3] {
    color: #047857;
    opacity: 0.85;
}

.alert-success[b-n14m0rigx3] {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    padding: 0.65rem 0.95rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.alert-error[b-n14m0rigx3] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 0.65rem 0.95rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* --- Pending Approvals Card --- */
.pending-approvals-card[b-n14m0rigx3] {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
}

.pending-approvals-header[b-n14m0rigx3] {
    margin-bottom: 0.85rem;
}

.pending-title-wrap[b-n14m0rigx3] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.pending-badge-icon[b-n14m0rigx3] {
    font-size: 1.25rem;
}

.pending-title-wrap strong[b-n14m0rigx3] {
    color: #78350f;
    font-size: 0.95rem;
    display: block;
}

.pending-title-wrap span[b-n14m0rigx3] {
    font-size: 0.8rem;
    color: #92400e;
}

.pending-users-list[b-n14m0rigx3] {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.pending-user-item[b-n14m0rigx3] {
    background: #ffffff;
    border: 1px solid #fef3c7;
    border-radius: 8px;
    padding: 0.65rem 0.9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.pending-user-info[b-n14m0rigx3] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 200px;
}

.pending-user-name[b-n14m0rigx3] {
    display: block;
    font-size: 0.9rem;
    color: #0f172a;
}

.pending-user-uname[b-n14m0rigx3] {
    font-size: 0.78rem;
    color: #64748b;
    font-family: monospace;
}

.pending-meta[b-n14m0rigx3] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.pending-date[b-n14m0rigx3] {
    font-size: 0.78rem;
    color: #64748b;
}

.pending-actions[b-n14m0rigx3] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.btn-approve-now[b-n14m0rigx3] {
    background: #047857;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 0.35rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease;
}

.btn-approve-now:hover[b-n14m0rigx3] {
    background: #065f46;
}

/* --- Search & Filters Toolbar --- */
.users-toolbar-card[b-n14m0rigx3] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.95rem 1.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.users-toolbar-main[b-n14m0rigx3] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.users-search-box[b-n14m0rigx3] {
    position: relative;
    flex: 1 1 280px;
    display: flex;
    align-items: center;
}

.users-search-icon[b-n14m0rigx3] {
    position: absolute;
    left: 0.75rem;
    font-size: 0.85rem;
    color: #94a3b8;
    pointer-events: none;
}

.users-search-input[b-n14m0rigx3] {
    width: 100%;
    padding: 0.55rem 2.2rem 0.55rem 2.3rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.88rem;
    background: #f8fafc;
    color: #1e293b;
    box-sizing: border-box;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.users-search-input:focus[b-n14m0rigx3] {
    outline: none;
    border-color: #047857;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(4, 120, 87, 0.1);
}

.users-search-clear[b-n14m0rigx3] {
    position: absolute;
    right: 0.6rem;
    background: #e2e8f0;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.75rem;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.users-filters-cluster[b-n14m0rigx3] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.filter-dropdown-pill[b-n14m0rigx3] {
    display: inline-flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.25rem 0.65rem;
    gap: 0.35rem;
}

.filter-pill-icon[b-n14m0rigx3] {
    font-size: 0.85rem;
}

.filter-pill-label[b-n14m0rigx3] {
    font-size: 0.8rem;
    font-weight: 700;
    color: #475569;
}

.filter-pill-select[b-n14m0rigx3] {
    border: none;
    background: transparent;
    font-size: 0.82rem;
    font-weight: 600;
    color: #0f172a;
    outline: none;
    cursor: pointer;
    padding: 0.25rem 0;
}

.btn-refresh-toolbar[b-n14m0rigx3] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.5rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-refresh-toolbar:hover[b-n14m0rigx3] {
    background: #e2e8f0;
    color: #0f172a;
}

/* Quick Filter Chips */
.users-chips-subbar[b-n14m0rigx3] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid #f1f5f9;
}

.users-chips-row[b-n14m0rigx3] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.users-chip[b-n14m0rigx3] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 0.3rem 0.7rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.15s ease;
}

.users-chip:hover[b-n14m0rigx3] {
    background: #e2e8f0;
    color: #0f172a;
}

.users-chip.active[b-n14m0rigx3] {
    background: #047857;
    border-color: #047857;
    color: #ffffff;
}

.chip-badge[b-n14m0rigx3] {
    background: rgba(0, 0, 0, 0.1);
    color: inherit;
    border-radius: 999px;
    padding: 0.1rem 0.45rem;
    font-size: 0.7rem;
    font-weight: 700;
}

.users-chip.active .chip-badge[b-n14m0rigx3] {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.chip-pending[b-n14m0rigx3] {
    border-color: #fde68a;
    background: #fffbeb;
    color: #92400e;
}

.badge-pending[b-n14m0rigx3] {
    background: #f59e0b;
    color: #ffffff;
}

.users-count-tag[b-n14m0rigx3] {
    font-size: 0.82rem;
    color: #64748b;
}

/* --- Table Card & Desktop Table --- */
.users-table-card[b-n14m0rigx3] {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.users-loading-state[b-n14m0rigx3],
.users-empty-state[b-n14m0rigx3] {
    text-align: center;
    padding: 3rem 1.5rem;
    color: #64748b;
}

.spinner-dot[b-n14m0rigx3] {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.btn-clear-query[b-n14m0rigx3] {
    margin-top: 0.75rem;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 0.4rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
}

/* Strictly desktop table on >768px */
.users-desktop-table[b-n14m0rigx3] {
    display: block;
    width: 100%;
    overflow-x: auto;
}

.users-table[b-n14m0rigx3] {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.86rem;
}

.users-table thead[b-n14m0rigx3] {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.users-table th[b-n14m0rigx3] {
    padding: 0.8rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.users-table td[b-n14m0rigx3] {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
    color: #1e293b;
}

.users-table tbody tr:hover[b-n14m0rigx3] {
    background: #f8fafc;
}

.users-table tr.row-pending-approval[b-n14m0rigx3] {
    background: #fffdf5;
}

.users-table tr.row-pending-approval:hover[b-n14m0rigx3] {
    background: #fefce8;
}

/* User cell with avatar */
.user-cell[b-n14m0rigx3] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-avatar[b-n14m0rigx3] {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.88rem;
    flex-shrink: 0;
}

.user-avatar.admin[b-n14m0rigx3] { background: #ede9fe; color: #6d28d9; }
.user-avatar.maintenance[b-n14m0rigx3] { background: #e0f2fe; color: #0369a1; }
.user-avatar.inspector[b-n14m0rigx3] { background: #ecfdf5; color: #047857; }

.user-cell-meta[b-n14m0rigx3] {
    display: flex;
    flex-direction: column;
}

.user-cell-meta .user-name[b-n14m0rigx3] {
    font-weight: 700;
    color: #0f172a;
    font-size: 0.88rem;
}

.user-cell-meta .user-uname[b-n14m0rigx3] {
    font-size: 0.75rem;
    color: #64748b;
    font-family: monospace;
}

/* Role Pills */
.role-pill[b-n14m0rigx3] {
    display: inline-flex;
    align-items: center;
    padding: 0.22rem 0.6rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.role-pill.admin[b-n14m0rigx3] { background: #ede9fe; color: #6d28d9; }
.role-pill.maintenance[b-n14m0rigx3] { background: #e0f2fe; color: #0369a1; }
.role-pill.inspector[b-n14m0rigx3] { background: #ecfdf5; color: #047857; }

/* Status Indicators */
.status-pill.pending-approval[b-n14m0rigx3] {
    display: inline-flex;
    align-items: center;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
    white-space: nowrap;
}

.status-indicator[b-n14m0rigx3] {
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.status-indicator.active[b-n14m0rigx3] { color: #059669; }
.status-indicator.inactive[b-n14m0rigx3] { color: #dc2626; }

.date-text[b-n14m0rigx3] {
    font-size: 0.8rem;
    color: #64748b;
    white-space: nowrap;
}

/* Action Buttons in Cell */
.actions-cell[b-n14m0rigx3] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.4rem;
}

.btn-quick-approve[b-n14m0rigx3] {
    background: #047857;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 0.3rem 0.65rem;
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
}

.btn-quick-approve:hover[b-n14m0rigx3] { background: #065f46; }

.status-toggle-btn[b-n14m0rigx3] {
    padding: 0.3rem 0.65rem;
    border-radius: 6px;
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.15s ease;
}

.btn-deactivate[b-n14m0rigx3] {
    background: #ecfdf5;
    color: #047857;
    border-color: #a7f3d0;
}

.btn-deactivate:hover:not(:disabled)[b-n14m0rigx3] {
    background: #fef2f2;
    color: #dc2626;
    border-color: #fecaca;
}

.btn-activate[b-n14m0rigx3] {
    background: #fef2f2;
    color: #dc2626;
    border-color: #fecaca;
}

.btn-activate:hover:not(:disabled)[b-n14m0rigx3] {
    background: #ecfdf5;
    color: #047857;
    border-color: #a7f3d0;
}

.status-toggle-btn:disabled[b-n14m0rigx3] {
    opacity: 0.5;
    cursor: not-allowed;
}

.action-btn[b-n14m0rigx3] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-size: 0.76rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #334155;
}

.action-btn:hover[b-n14m0rigx3] {
    background: #f8fafc;
    color: #0f172a;
    border-color: #94a3b8;
}

.action-btn.del-btn[b-n14m0rigx3] {
    border-color: #fecaca;
    color: #dc2626;
    padding: 0.3rem 0.45rem;
}

.action-btn.del-btn:hover[b-n14m0rigx3] {
    background: #fee2e2;
    border-color: #f87171;
}

/* STRICTLY HIDE MOBILE CARDS ON DESKTOP */
.users-mobile-card-list[b-n14m0rigx3] {
    display: none !important;
}

/* --- Mobile Responsiveness (<= 768px) --- */
@media (max-width: 768px) {
    .users-container[b-n14m0rigx3] {
        padding: 1rem 0.75rem;
    }

    .users-header-card[b-n14m0rigx3] {
        flex-direction: column;
        align-items: stretch;
        gap: 0.85rem;
        padding: 1rem;
    }

    .users-header-actions[b-n14m0rigx3] {
        width: 100%;
        flex-direction: column;
    }

    .btn-copy-reg[b-n14m0rigx3],
    .btn-add-user[b-n14m0rigx3] {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .users-toolbar-card[b-n14m0rigx3] {
        padding: 0.85rem 1rem;
    }

    .users-toolbar-main[b-n14m0rigx3] {
        flex-direction: column;
        align-items: stretch;
        gap: 0.65rem;
    }

    .users-search-box[b-n14m0rigx3] {
        width: 100%;
        flex: 1 1 100%;
    }

    .users-filters-cluster[b-n14m0rigx3] {
        width: 100%;
        flex-direction: column;
        gap: 0.5rem;
    }

    .filter-dropdown-pill[b-n14m0rigx3] {
        width: 100%;
        justify-content: space-between;
        box-sizing: border-box;
    }

    .filter-pill-select[b-n14m0rigx3] {
        flex: 1;
        text-align: right;
    }

    .btn-refresh-toolbar[b-n14m0rigx3] {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }

    .users-chips-subbar[b-n14m0rigx3] {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .users-chips-row[b-n14m0rigx3] {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.35rem;
        -webkit-overflow-scrolling: touch;
    }

    /* Switch from Table to Cards on Mobile */
    .users-desktop-table[b-n14m0rigx3] {
        display: none !important;
    }

    .users-mobile-card-list[b-n14m0rigx3] {
        display: flex !important;
        flex-direction: column;
        gap: 0.75rem;
        padding: 0.65rem;
        box-sizing: border-box;
        width: 100%;
    }

    .user-mobile-card[b-n14m0rigx3] {
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 10px;
        padding: 0.85rem;
        display: flex;
        flex-direction: column;
        gap: 0.7rem;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
        box-sizing: border-box;
        width: 100%;
    }

    .user-mobile-card.pending[b-n14m0rigx3] {
        border-left: 4px solid #f59e0b;
        background: #fffdf5;
    }

    .user-card-header[b-n14m0rigx3] {
        display: flex;
        align-items: center;
        gap: 0.65rem;
    }

    .user-card-avatar[b-n14m0rigx3] {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 800;
        font-size: 0.95rem;
        flex-shrink: 0;
    }

    .user-card-avatar.admin[b-n14m0rigx3] { background: #ede9fe; color: #6d28d9; }
    .user-card-avatar.maintenance[b-n14m0rigx3] { background: #e0f2fe; color: #0369a1; }
    .user-card-avatar.inspector[b-n14m0rigx3] { background: #ecfdf5; color: #047857; }

    .user-card-meta[b-n14m0rigx3] {
        flex: 1;
        min-width: 0;
    }

    .user-card-name[b-n14m0rigx3] {
        display: block;
        font-size: 0.92rem;
        color: #0f172a;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .user-card-username[b-n14m0rigx3] {
        font-size: 0.78rem;
        color: #64748b;
        font-family: monospace;
    }

    .user-card-details[b-n14m0rigx3] {
        display: flex;
        flex-direction: column;
        gap: 0.35rem;
        padding: 0.5rem 0.65rem;
        background: #f8fafc;
        border-radius: 6px;
        font-size: 0.8rem;
    }

    .user-card-detail-item[b-n14m0rigx3] {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .detail-label[b-n14m0rigx3] {
        color: #64748b;
        font-weight: 600;
    }

    .detail-value[b-n14m0rigx3] {
        color: #1e293b;
    }

    .user-card-actions[b-n14m0rigx3] {
        display: flex;
        gap: 0.4rem;
        flex-wrap: wrap;
    }

    .user-card-actions button[b-n14m0rigx3] {
        flex: 1 1 calc(50% - 0.4rem);
        min-width: 0;
        padding: 0.5rem 0.4rem;
        font-size: 0.78rem;
        font-weight: 700;
        border-radius: 6px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
    }

    .btn-card-approve[b-n14m0rigx3] {
        background: #047857;
        color: white;
        border: none;
    }

    .btn-card-toggle.active[b-n14m0rigx3] {
        background: #fef2f2;
        color: #dc2626;
        border: 1px solid #fecaca;
    }

    .btn-card-toggle.inactive[b-n14m0rigx3] {
        background: #ecfdf5;
        color: #047857;
        border: 1px solid #a7f3d0;
    }

    .btn-card-edit[b-n14m0rigx3],
    .btn-card-key[b-n14m0rigx3] {
        background: #f8fafc;
        border: 1px solid #cbd5e1;
        color: #334155;
    }

    .btn-card-delete[b-n14m0rigx3] {
        background: #fee2e2;
        border: 1px solid #fca5a5;
        color: #dc2626;
    }
}

/* --- Modals --- */
.modal-backdrop[b-n14m0rigx3] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-sizing: border-box;
    backdrop-filter: blur(2px);
}

.modal-card[b-n14m0rigx3] {
    background: #ffffff;
    border-radius: 12px;
    max-width: 480px;
    width: 100%;
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
}

.modal-header[b-n14m0rigx3] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.65rem;
}

.modal-header h3[b-n14m0rigx3] {
    margin: 0;
    color: #0f172a;
    font-size: 1.15rem;
    font-weight: 700;
}

.modal-close-btn[b-n14m0rigx3] {
    background: transparent;
    border: none;
    font-size: 1.1rem;
    color: #64748b;
    cursor: pointer;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.modal-close-btn:hover[b-n14m0rigx3] {
    background: #f1f5f9;
    color: #0f172a;
}

.modal-desc[b-n14m0rigx3] {
    font-size: 0.88rem;
    color: #475569;
    margin: 0 0 1rem 0;
    line-height: 1.4;
}

.modal-info-banner[b-n14m0rigx3] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 0.6rem 0.8rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.mono-badge[b-n14m0rigx3] {
    font-family: monospace;
    color: #0284c7;
    font-weight: 700;
}

.muted-text[b-n14m0rigx3] {
    color: #64748b;
    margin-left: 0.5rem;
}

.form-group[b-n14m0rigx3] {
    margin-bottom: 0.95rem;
}

.form-group label[b-n14m0rigx3] {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 0.3rem;
}

.form-group input[b-n14m0rigx3],
.form-select[b-n14m0rigx3] {
    width: 100%;
    padding: 0.55rem 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 0.88rem;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.15s ease;
}

.form-group input:focus[b-n14m0rigx3],
.form-select:focus[b-n14m0rigx3] {
    border-color: #047857;
}

.muted-hint[b-n14m0rigx3] {
    display: block;
    color: #64748b;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.form-group-card[b-n14m0rigx3] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.85rem;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.group-card-title[b-n14m0rigx3] {
    font-size: 0.82rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.checkbox-row[b-n14m0rigx3] {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.85rem;
    color: #334155;
    cursor: pointer;
}

.alert-danger-box[b-n14m0rigx3] {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 6px;
    padding: 0.75rem;
    font-size: 0.82rem;
    color: #7f1d1d;
    margin-bottom: 1rem;
}

.modal-footer[b-n14m0rigx3] {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.btn-secondary[b-n14m0rigx3] {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #334155;
    padding: 0.55rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

.btn-secondary:hover:not(:disabled)[b-n14m0rigx3] {
    background: #e2e8f0;
}

.btn-primary[b-n14m0rigx3] {
    background: #047857;
    border: none;
    color: #ffffff;
    padding: 0.55rem 1.25rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
}

.btn-primary:hover:not(:disabled)[b-n14m0rigx3] {
    background: #065f46;
}

.btn-danger[b-n14m0rigx3] {
    background: #dc2626;
    border: none;
    color: #ffffff;
    padding: 0.55rem 1.25rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
}

.btn-danger:hover:not(:disabled)[b-n14m0rigx3] {
    background: #b91c1c;
}

.btn-primary:disabled[b-n14m0rigx3],
.btn-secondary:disabled[b-n14m0rigx3],
.btn-danger:disabled[b-n14m0rigx3] {
    opacity: 0.6;
    cursor: not-allowed;
}
