/* /Components/EntityGrid.razor.rz.scp.css */
.entity-grid-desktop[b-vcycbmjza5] {
    display: block;
}

.entity-grid-mobile[b-vcycbmjza5] {
    display: none;
}

/* ── Desktop table ───────────────────────────────────────────────────────── */

.entity-grid-table[b-vcycbmjza5] {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    background: #fff;
    border-radius: 0.65rem;
    overflow: hidden;
    box-shadow: 0 0 0 1px #e2e8f0;
}

.entity-grid-table thead[b-vcycbmjza5] {
    background: #f8fafc;
}

.entity-grid-table th[b-vcycbmjza5] {
    padding: 0.55rem 0.9rem;
    text-align: left;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    border-bottom: 1px solid #e2e8f0;
    white-space: nowrap;
}

.entity-grid-table td[b-vcycbmjza5] {
    padding: 0.6rem 0.9rem;
    border-bottom: 1px solid #f1f5f9;
    color: #111827;
    vertical-align: middle;
}

.entity-grid-table tbody tr:last-child td[b-vcycbmjza5] {
    border-bottom: none;
}

/* ── Row states ──────────────────────────────────────────────────────────── */

.entity-grid-row[b-vcycbmjza5] {
    cursor: pointer;
    transition: background 0.08s;
}

.entity-grid-row:hover td[b-vcycbmjza5] {
    background: #f8fafc;
}

.entity-grid-row.row-selected td[b-vcycbmjza5] {
    background: #eff6ff;
    color: #1e40af;
}

/* Focus indicator: always visible on :focus (covers browsers without :focus-visible).
   For modern browsers, suppress the outline when focus was triggered by a pointer device. */
.entity-grid-row:focus td[b-vcycbmjza5] {
    outline: 2px solid #2563eb;
    outline-offset: -2px;
}

.entity-grid-row:focus:not(:focus-visible) td[b-vcycbmjza5] {
    outline: none;
}

/* ── Mobile cards ────────────────────────────────────────────────────────── */

.entity-grid-card[b-vcycbmjza5] {
    border: 1px solid #dbe2ea;
    border-radius: 0.7rem;
    background: #fff;
    padding: 0.9rem;
    margin-bottom: 0.75rem;
}

.entity-grid-card:last-child[b-vcycbmjza5] {
    margin-bottom: 0;
}

/* Fallback card rendered when no MobileTemplate is provided */
.entity-grid-card-fallback[b-vcycbmjza5] {
    cursor: pointer;
}

.entity-grid-card-row[b-vcycbmjza5] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem;
    padding: 0.25rem 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.9rem;
}

.entity-grid-card-row:last-of-type[b-vcycbmjza5] {
    border-bottom: none;
}

.entity-grid-card-label[b-vcycbmjza5] {
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    flex-shrink: 0;
}

.entity-grid-card-value[b-vcycbmjza5] {
    text-align: right;
    color: #111827;
}

.entity-grid-card-link[b-vcycbmjza5] {
    display: inline-block;
    margin-top: 0.6rem;
    font-size: 0.9rem;
}

/* ── Responsive breakpoint ───────────────────────────────────────────────── */

@media (max-width: 700px) {
    .entity-grid-desktop[b-vcycbmjza5] {
        display: none;
    }

    .entity-grid-mobile[b-vcycbmjza5] {
        display: block;
    }
}
/* /Components/ResponsiveList.razor.rz.scp.css */
.desktop-grid[b-b6a1acxe17] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.9rem;
}

.grid-item[b-b6a1acxe17] {
    border: 1px solid #e2e8f0;
    border-radius: 0.6rem;
    background: #fff;
    padding: 0.9rem;
}

.mobile-cards[b-b6a1acxe17] {
    display: none;
}

.card-item[b-b6a1acxe17] {
    border: 1px solid #dbe2ea;
    border-radius: 0.7rem;
    background: #fff;
    padding: 0.9rem;
}

@media (max-width: 700px) {
    .desktop-grid[b-b6a1acxe17] {
        display: none;
    }

    .mobile-cards[b-b6a1acxe17] {
        display: grid;
        gap: 0.75rem;
    }
}
/* /Layout/MainLayout.razor.rz.scp.css */
.app-shell[b-cu2t4axsml] {
    display: flex;
    min-height: 100vh;
    background: #f5f6f8;
    color: #1b1f24;
}

.sidebar[b-cu2t4axsml] {
    width: 260px;
    background: #17212d;
    color: #f1f5f9;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar-header[b-cu2t4axsml] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand[b-cu2t4axsml] {
    font-size: 1.2rem;
    font-weight: 700;
}

.sidebar-close[b-cu2t4axsml] {
    display: none;
    border: 0;
    background: transparent;
    color: #f1f5f9;
    font-size: 1.5rem;
    cursor: pointer;
}

.shell-main[b-cu2t4axsml] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.topbar[b-cu2t4axsml] {
    height: 64px;
    border-bottom: 1px solid #e2e8f0;
    background: #ffffff;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-toggle[b-cu2t4axsml] {
    display: none;
    border: 0;
    background: transparent;
    font-size: 1.4rem;
    cursor: pointer;
}

.topbar-title[b-cu2t4axsml] {
    font-weight: 600;
}

.tenant-switch[b-cu2t4axsml] {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tenant-switch select[b-cu2t4axsml] {
    border: 1px solid #cbd5e1;
    border-radius: 0.4rem;
    padding: 0.4rem 0.6rem;
    background: #fff;
}

.content-area[b-cu2t4axsml] {
    padding: 1.25rem;
}

.sidebar-overlay[b-cu2t4axsml] {
    display: none;
}

[b-cu2t4axsml] .nav-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    min-height: 0;
}

[b-cu2t4axsml] .nav-item-settings {
    margin-top: auto;
}

[b-cu2t4axsml] .nav-item {
    color: #cbd5e1;
    text-decoration: none;
    padding: 0.65rem 0.75rem;
    border-radius: 0.45rem;
    font-weight: 500;
}

[b-cu2t4axsml] .nav-item.active {
    background: #2a3644;
    color: #ffffff;
}

[b-cu2t4axsml] .nav-item:hover {
    background: #213040;
    color: #ffffff;
}

@media (max-width: 900px) {
    .menu-toggle[b-cu2t4axsml],
    .sidebar-close[b-cu2t4axsml] {
        display: inline-flex;
    }

    .sidebar[b-cu2t4axsml] {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: 20;
        transform: translateX(-100%);
        transition: transform 0.2s ease-in-out;
    }

    .sidebar.open[b-cu2t4axsml] {
        transform: translateX(0);
    }

    .sidebar-overlay.show[b-cu2t4axsml] {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.35);
        z-index: 10;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.nav-items[b-0ahqdaltp8] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
/* /Layout/ProfileLayout.razor.rz.scp.css */
.profile-master-detail[b-o1lge8fasj] {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 1rem;
    min-height: 60vh;
}

.profile-nav-panel[b-o1lge8fasj] {
    min-width: 0;
}

.profile-category-nav[b-o1lge8fasj] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.profile-nav-item[b-o1lge8fasj] {
    color: #475569;
    text-decoration: none;
    padding: 0.6rem 0.75rem;
    border-radius: 0.45rem;
    font-weight: 500;
}

.profile-nav-item:hover[b-o1lge8fasj] {
    background: #f1f5f9;
    color: #1e293b;
}

.profile-nav-item.active[b-o1lge8fasj] {
    background: #e0f2fe;
    color: #0369a1;
}

.profile-content-panel[b-o1lge8fasj] {
    min-width: 0;
    background: #fff;
    border-radius: 0.65rem;
    border: 1px solid #e2e8f0;
    padding: 1rem;
    overflow: auto;
}

.profile-back-visible[b-o1lge8fasj] {
    display: none;
}

@media (max-width: 900px) {
    .profile-master-detail[b-o1lge8fasj] {
        grid-template-columns: 1fr;
    }

    .profile-master-detail .profile-nav-panel[b-o1lge8fasj] {
        display: block;
    }

    .profile-master-detail.has-selection .profile-nav-panel[b-o1lge8fasj] {
        display: none;
    }

    .profile-master-detail.has-selection .profile-content-panel[b-o1lge8fasj] {
        min-height: 80vh;
    }

    .profile-back-visible[b-o1lge8fasj] {
        display: inline-block;
        margin-bottom: 0.75rem;
    }
}
/* /Layout/SettingsLayout.razor.rz.scp.css */
.settings-master-detail[b-1xw6ul0wcm] {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 1rem;
    min-height: 60vh;
}

.settings-nav-panel[b-1xw6ul0wcm] {
    min-width: 0;
}

.settings-category-nav[b-1xw6ul0wcm] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.settings-nav-item[b-1xw6ul0wcm] {
    color: #475569;
    text-decoration: none;
    padding: 0.6rem 0.75rem;
    border-radius: 0.45rem;
    font-weight: 500;
}

.settings-nav-item:hover[b-1xw6ul0wcm] {
    background: #f1f5f9;
    color: #1e293b;
}

.settings-nav-item.active[b-1xw6ul0wcm] {
    background: #e0f2fe;
    color: #0369a1;
}

.settings-content-panel[b-1xw6ul0wcm] {
    min-width: 0;
    background: #fff;
    border-radius: 0.65rem;
    border: 1px solid #e2e8f0;
    padding: 1rem;
    overflow: auto;
}

.settings-back-visible[b-1xw6ul0wcm] {
    display: none;
}

.settings-landing-links[b-1xw6ul0wcm] {
    list-style: none;
    margin: 0.5rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.settings-landing-links li a[b-1xw6ul0wcm] {
    display: inline-block;
}

@media (max-width: 900px) {
    .settings-master-detail[b-1xw6ul0wcm] {
        grid-template-columns: 1fr;
    }

    .settings-master-detail .settings-nav-panel[b-1xw6ul0wcm] {
        display: block;
    }

    .settings-master-detail.has-selection .settings-nav-panel[b-1xw6ul0wcm] {
        display: none;
    }

    .settings-master-detail.has-selection .settings-content-panel[b-1xw6ul0wcm] {
        min-height: 80vh;
    }

    .settings-back-visible[b-1xw6ul0wcm] {
        display: inline-block;
        margin-bottom: 0.75rem;
    }
}
