/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* ===== Page Layout ===== */
.page[b-25iiqujta5] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-25iiqujta5] {
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
}

/* ===== Main wrapper (header + content area) ===== */
.main-wrapper[b-25iiqujta5] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
}

/* ===== Sidebar base ===== */
.sidebar[b-25iiqujta5] {
    transition: width 0.2s ease;
}

/* Branded sidebar (default) — gradient from brand colors */
.sidebar.sidebar-branded[b-25iiqujta5] {
    background-image: linear-gradient(180deg, var(--brand-primary-dark) 0%, var(--brand-primary) 70%);
}

/* Clean sidebar — light/dark surface */
.sidebar.sidebar-clean[b-25iiqujta5] {
    background-color: var(--surface-card, #ffffff);
    border-right: 1px solid var(--surface-border, #e5e7eb);
}

/* Collapsed sidebar — icon-only rail on desktop */
@media (min-width: 641px) {
    .sidebar.sidebar-collapsed[b-25iiqujta5] {
        width: 68px;
    }
}

/* ===== Top header bar ===== */
.header-bar[b-25iiqujta5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    padding: 0 1rem;
    background-color: var(--surface-card, #ffffff);
    border-bottom: 1px solid var(--surface-border, #e5e7eb);
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 10;
}

.header-left[b-25iiqujta5] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-right[b-25iiqujta5] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Hamburger button */
.header-hamburger[b-25iiqujta5] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    background: none;
    border-radius: 8px;
    color: var(--text-secondary, #6b7280);
    font-size: 1.25rem;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s;
}

.header-hamburger:hover[b-25iiqujta5] {
    background-color: var(--surface-border, #e5e7eb);
    color: var(--text-primary, #1f2937);
}

/* Tenant name in header */
.header-tenant-name[b-25iiqujta5] {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary, #1f2937);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 300px;
}

/* Breadcrumb */
.breadcrumb-text[b-25iiqujta5] {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary, #1f2937);
}

/* Header icon button (dark mode toggle, notifications) */
.header-icon-btn[b-25iiqujta5] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    background: none;
    border-radius: 8px;
    color: var(--text-secondary, #6b7280);
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s;
}

.header-icon-btn:hover[b-25iiqujta5] {
    background-color: var(--surface-border, #e5e7eb);
    color: var(--text-primary, #1f2937);
}

/* User avatar and dropdown */
.header-user-menu[b-25iiqujta5] {
    position: relative;
}

.header-avatar-btn[b-25iiqujta5] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 4px 8px;
    border: none;
    background: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.15s;
    color: var(--text-primary, #1f2937);
}

.header-avatar-btn:hover[b-25iiqujta5] {
    background-color: var(--surface-border, #e5e7eb);
}

.header-avatar[b-25iiqujta5] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--brand-primary, #4A90D9);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
}

.header-user-name[b-25iiqujta5] {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary, #1f2937);
}

.header-dropdown[b-25iiqujta5] {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 4px;
    min-width: 180px;
    background-color: var(--surface-card, #ffffff);
    border: 1px solid var(--surface-border, #e5e7eb);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 50;
    overflow: hidden;
}

.header-dropdown-info[b-25iiqujta5] {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    color: var(--text-secondary, #6b7280);
    border-bottom: 1px solid var(--surface-border, #e5e7eb);
}

.header-dropdown-item[b-25iiqujta5] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    color: var(--text-primary, #1f2937);
    text-decoration: none;
    transition: background-color 0.15s;
}

.header-dropdown-item:hover[b-25iiqujta5] {
    background-color: var(--surface-border, #e5e7eb);
    color: var(--text-primary, #1f2937);
}

/* ===== Mobile sidebar overlay ===== */
.sidebar-overlay[b-25iiqujta5] {
    display: none;
}

/* ===== Responsive ===== */
@media (max-width: 640.98px) {
    .header-user-name[b-25iiqujta5] {
        display: none;
    }

    .sidebar-overlay[b-25iiqujta5] {
        display: block;
        position: fixed;
        inset: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 39;
    }
}

@media (min-width: 641px) {
    .page[b-25iiqujta5] {
        flex-direction: row;
        height: 100vh;
    }

    main[b-25iiqujta5] {
        height: calc(100vh - 56px);
    }

    .sidebar[b-25iiqujta5] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
        flex-shrink: 0;
        overflow: hidden;
    }

    .top-row[b-25iiqujta5] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-25iiqujta5]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }
}

/* ===== Error UI ===== */
#blazor-error-ui[b-25iiqujta5] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-25iiqujta5] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-eikdwxpwof] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-eikdwxpwof] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-eikdwxpwof] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-container[b-eikdwxpwof] {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0.5rem 0;
}

.navbar-brand[b-eikdwxpwof] {
    font-size: 1.1rem;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bi[b-eikdwxpwof] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5rem;
    top: -1px;
    background-size: cover;
    flex-shrink: 0;
}

.bi-house-door-fill-nav-menu[b-eikdwxpwof] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-currency-dollar-nav-menu[b-eikdwxpwof] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M4 10.781c.148 1.667 1.513 2.85 3.591 3.003V15h1.043v-1.216c2.27-.179 3.678-1.438 3.678-3.3 0-1.59-.947-2.51-2.956-3.028l-.722-.187V3.467c1.122.11 1.879.714 2.07 1.616h1.47c-.166-1.6-1.54-2.748-3.54-2.875V1H7.591v1.233c-1.939.23-3.27 1.472-3.27 3.156 0 1.454.966 2.483 2.661 2.917l.61.162v4.031c-1.149-.17-1.94-.8-2.131-1.718H4zm3.391-3.836c-1.043-.263-1.6-.825-1.6-1.616 0-.944.704-1.641 1.8-1.828v3.495l-.2-.05zm1.591 1.872c1.287.323 1.852.859 1.852 1.769 0 1.097-.826 1.828-2.2 1.939V8.73l.348.086z'/%3E%3C/svg%3E");
}

.bi-person-nav-menu[b-eikdwxpwof] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm4 8c0 1-1 1-1 1H3s-1 0-1-1 1-4 6-4 6 3 6 4Zm-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10Z'/%3E%3C/svg%3E");
}

.bi-laptop-nav-menu[b-eikdwxpwof] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M13.5 3a.5.5 0 0 1 .5.5V11H2V3.5a.5.5 0 0 1 .5-.5h11zm-11-1A1.5 1.5 0 0 0 1 3.5V12h14V3.5A1.5 1.5 0 0 0 13.5 2h-11zM0 12.5h16a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 0 12.5z'/%3E%3C/svg%3E");
}

.bi-people-nav-menu[b-eikdwxpwof] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M15 14s1 0 1-1-1-4-5-4-5 3-5 4 1 1 1 1h8Zm-7.978-1A.261.261 0 0 1 7 12.996c.001-.264.167-1.03.76-1.72C8.312 10.629 9.282 10 11 10c1.717 0 2.687.63 3.24 1.276.593.69.758 1.457.76 1.72l-.008.002a.274.274 0 0 1-.014.002H7.022ZM11 7a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm3-2a3 3 0 1 1-6 0 3 3 0 0 1 6 0ZM6.936 9.28a5.88 5.88 0 0 0-1.23-.247A7.35 7.35 0 0 0 5 9c-4 0-5 3-5 4 0 .667.333 1 1 1h4.216A2.238 2.238 0 0 1 5 13c0-1.01.377-2.042 1.09-2.904.243-.294.526-.569.846-.816ZM4.92 10A5.493 5.493 0 0 0 4 13H1c0-.26.164-1.03.76-1.724.545-.636 1.492-1.256 3.16-1.275ZM1.5 5.5a3 3 0 1 1 6 0 3 3 0 0 1-6 0Zm3-2a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z'/%3E%3C/svg%3E");
}

.bi-folder-nav-menu[b-eikdwxpwof] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M.54 3.87.5 3a2 2 0 0 1 2-2h3.672a2 2 0 0 1 1.414.586l.828.828A2 2 0 0 0 9.828 3H14.5A1.5 1.5 0 0 1 16 4.5v1.384l-5.02 1.256a.5.5 0 0 1-.242 0L.54 3.87ZM16 6.5v5.598a2 2 0 0 1-1.6 1.96l-6 1.2a2 2 0 0 1-.8 0l-6-1.2A2 2 0 0 1 0 12.098V6.5l4.92 1.23c.32.08.655.08.976 0L16 6.5Z'/%3E%3C/svg%3E");
}

.bi-gear-nav-menu[b-eikdwxpwof] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M8 4.754a3.246 3.246 0 1 0 0 6.492 3.246 3.246 0 0 0 0-6.492zM5.754 8a2.246 2.246 0 1 1 4.492 0 2.246 2.246 0 0 1-4.492 0z'/%3E%3Cpath d='M9.796 1.343c-.527-1.79-3.065-1.79-3.592 0l-.094.319a.873.873 0 0 1-1.255.52l-.292-.16c-1.64-.892-3.433.902-2.54 2.541l.159.292a.873.873 0 0 1-.52 1.255l-.319.094c-1.79.527-1.79 3.065 0 3.592l.319.094a.873.873 0 0 1 .52 1.255l-.16.292c-.892 1.64.901 3.434 2.541 2.54l.292-.159a.873.873 0 0 1 1.255.52l.094.319c.527 1.79 3.065 1.79 3.592 0l.094-.319a.873.873 0 0 1 1.255-.52l.292.16c1.64.893 3.434-.902 2.54-2.541l-.159-.292a.873.873 0 0 1 .52-1.255l.319-.094c1.79-.527 1.79-3.065 0-3.592l-.319-.094a.873.873 0 0 1-.52-1.255l.16-.292c.893-1.64-.902-3.433-2.541-2.54l-.292.159a.873.873 0 0 1-1.255-.52l-.094-.319zm-2.633.283c.246-.835 1.428-.835 1.674 0l.094.319a1.873 1.873 0 0 0 2.693 1.115l.291-.16c.764-.415 1.6.42 1.184 1.185l-.159.292a1.873 1.873 0 0 0 1.116 2.692l.318.094c.835.246.835 1.428 0 1.674l-.319.094a1.873 1.873 0 0 0-1.115 2.693l.16.291c.415.764-.42 1.6-1.185 1.184l-.291-.159a1.873 1.873 0 0 0-2.693 1.116l-.094.318c-.246.835-1.428.835-1.674 0l-.094-.319a1.873 1.873 0 0 0-2.692-1.115l-.292.16c-.764.415-1.6-.42-1.184-1.185l.159-.291a1.873 1.873 0 0 0-1.116-2.693l-.318-.094c-.835-.246-.835-1.428 0-1.674l.319-.094a1.873 1.873 0 0 0 1.115-2.692l-.16-.292c-.415-.764.42-1.6 1.185-1.184l.292.159a1.873 1.873 0 0 0 2.692-1.116l.094-.318z'/%3E%3C/svg%3E");
}

.bi-file-nav-menu[b-eikdwxpwof] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M14 4.5V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2h5.5L14 4.5zm-3 0A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4.5h-2z'/%3E%3C/svg%3E");
}

.bi-buildings-nav-menu[b-eikdwxpwof] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M14.763.075A.5.5 0 0 1 15 .5v15a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5V14h-1v1.5a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5V10a.5.5 0 0 1 .342-.474L6 7.64V4.5a.5.5 0 0 1 .276-.447l8-4a.5.5 0 0 1 .487.022ZM6 8.694 1 10.36V15h5V8.694ZM7 15h2v-1.5a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 .5.5V15h2V1.309l-7 3.5V15Z'/%3E%3Cpath d='M2 11h1v1H2v-1Zm2 0h1v1H4v-1Zm-2 2h1v1H2v-1Zm2 0h1v1H4v-1Zm4-4h1v1H8V9Zm2 0h1v1h-1V9Zm-2 2h1v1H8v-1Zm2 0h1v1h-1v-1Zm2-2h1v1h-1V9Zm0 2h1v1h-1v-1ZM8 7h1v1H8V7Zm2 0h1v1h-1V7Zm2 0h1v1h-1V7ZM8 5h1v1H8V5Zm2 0h1v1h-1V5Zm2 0h1v1h-1V5Zm0-2h1v1h-1V3Z'/%3E%3C/svg%3E");
}

.bi-puzzle-nav-menu[b-eikdwxpwof] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M10.83 5h-1.4a.5.5 0 0 1-.468-.325l-.27-.727a2.486 2.486 0 0 0-.715-1.04A2.5 2.5 0 0 0 6.5 2.25c-.393 0-.77.09-1.106.252a2.49 2.49 0 0 0-.824.694 2.486 2.486 0 0 0-.505 1.078L3.83 5H2.5A1.5 1.5 0 0 0 1 6.5v2A1.5 1.5 0 0 0 2.5 10h.33l.235.726c.125.387.32.745.575 1.058.254.313.565.576.917.777A2.5 2.5 0 0 0 5.83 13h4.34a2.5 2.5 0 0 0 1.273-.44c.352-.2.663-.463.917-.776.255-.313.45-.671.575-1.058L13.17 10h.33A1.5 1.5 0 0 0 15 8.5v-2A1.5 1.5 0 0 0 13.5 5h-2.67ZM2.5 6h1.73a.5.5 0 0 0 .483-.37l.36-1.305A1.5 1.5 0 0 1 6.5 3.25a1.5 1.5 0 0 1 1.427 1.075l.36 1.305A.5.5 0 0 0 8.77 6H13.5a.5.5 0 0 1 .5.5v2a.5.5 0 0 1-.5.5h-1.73a.5.5 0 0 0-.483.37l-.36 1.305a1.5 1.5 0 0 1-1.427 1.075H5.83a1.5 1.5 0 0 1-1.427-1.075l-.36-1.305A.5.5 0 0 0 3.56 9H2.5a.5.5 0 0 1-.5-.5v-2a.5.5 0 0 1 .5-.5Z'/%3E%3C/svg%3E");
}

.nav-logo[b-eikdwxpwof] {
    max-height: 40px;
    max-width: 180px;
    object-fit: contain;
}

.nav-favicon[b-eikdwxpwof] {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* TailAdmin-style section labels — uppercase group headers */
.nav-section-label[b-eikdwxpwof] {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    padding: 1rem 1rem 0.25rem 1rem;
    user-select: none;
}

/* Home nav item */
.nav-item[b-eikdwxpwof] {
    font-size: 0.9rem;
    padding: 0.25rem 0;
}

.nav-item:first-of-type[b-eikdwxpwof] {
    padding-top: 0.25rem;
}

.nav-item[b-eikdwxpwof]  .nav-link {
    color: white;
    background: none;
    border: none;
    border-radius: 6px;
    height: 2.5rem;
    display: flex;
    align-items: center;
    line-height: 2.5rem;
    width: 100%;
    padding: 0 1rem;
    transition: background-color 0.15s ease;
}

.nav-item[b-eikdwxpwof]  a.active {
    background-color: rgba(255,255,255,0.25);
    color: white;
}

.nav-item[b-eikdwxpwof]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

/* Category styles */
.nav-category[b-eikdwxpwof] {
    margin-bottom: 0.125rem;
}

.nav-category-header[b-eikdwxpwof] {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    border-radius: 6px;
    transition: background-color 0.15s ease;
    user-select: none;
}

.nav-category-header:hover[b-eikdwxpwof] {
    background-color: rgba(255,255,255,0.1);
}

.category-chevron[b-eikdwxpwof] {
    margin-left: auto;
    width: 0.5rem;
    height: 0.5rem;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(-45deg);
    transition: transform 0.2s ease;
}

.category-chevron.expanded[b-eikdwxpwof] {
    transform: rotate(45deg);
}

.nav-category-items[b-eikdwxpwof] {
    padding-left: 1.5rem;
}

.nav-category-items[b-eikdwxpwof]  .nav-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    padding: 0.35rem 1rem;
    border-radius: 6px;
    display: block;
    text-decoration: none;
    transition: all 0.15s ease;
}

.nav-category-items[b-eikdwxpwof]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-category-items[b-eikdwxpwof]  .nav-link.active {
    background-color: rgba(255,255,255,0.25);
    color: white;
}

.nav-scrollable[b-eikdwxpwof] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-eikdwxpwof] {
    display: block;
}

.nav-scrollable > nav[b-eikdwxpwof] {
    padding-bottom: 1rem;
}

/* Version info */
.version-info[b-eikdwxpwof] {
    flex-shrink: 0;
    text-align: center;
    padding: 0.5rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Clean sidebar overrides are in app.css (global) for reliable cross-component styling */

@media (min-width: 641px) {
    .navbar-toggler[b-eikdwxpwof] {
        display: none;
    }

    .nav-scrollable[b-eikdwxpwof] {
        display: block;
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        position: relative;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-0i7ru0n2wg],
.components-reconnect-repeated-attempt-visible[b-0i7ru0n2wg],
.components-reconnect-failed-visible[b-0i7ru0n2wg],
.components-pause-visible[b-0i7ru0n2wg],
.components-resume-failed-visible[b-0i7ru0n2wg],
.components-rejoining-animation[b-0i7ru0n2wg] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-0i7ru0n2wg],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-0i7ru0n2wg],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-0i7ru0n2wg],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-0i7ru0n2wg],
#components-reconnect-modal.components-reconnect-retrying[b-0i7ru0n2wg],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-0i7ru0n2wg],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-0i7ru0n2wg],
#components-reconnect-modal.components-reconnect-failed[b-0i7ru0n2wg],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-0i7ru0n2wg] {
    display: block;
}


#components-reconnect-modal[b-0i7ru0n2wg] {
    width: 20rem;
    margin: 20vh auto;
    opacity: 0;
    background-color: var(--surface-card, #ffffff);
    color: var(--text-primary, #1f2937);
    border: 1px solid var(--surface-border, #e5e7eb);
    border-radius: 0.75rem;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
    padding: 1.25rem 1.5rem;
    min-width: 320px;
    max-width: 520px;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-0i7ru0n2wg 0.5s both;
}

#components-reconnect-modal[open][b-0i7ru0n2wg] {
    animation: components-reconnect-modal-slideUp-b-0i7ru0n2wg 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-0i7ru0n2wg 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

#components-reconnect-modal p[b-0i7ru0n2wg] {
    color: var(--text-primary, #1f2937);
    margin: 0.25rem 0;
    text-align: center;
    line-height: 1.35;
}

#components-reconnect-modal button[b-0i7ru0n2wg] {
    background-color: var(--brand-primary, #4A90D9);
    color: var(--brand-on-primary, #ffffff);
    border: 1px solid transparent;
    border-radius: 0.5rem;
    padding: 0.4rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
}

#components-reconnect-modal button:hover[b-0i7ru0n2wg] {
    filter: brightness(1.1);
}

#components-reconnect-modal[b-0i7ru0n2wg]::backdrop {
    background-color: rgba(0, 0, 0, 0.55);
    animation: components-reconnect-modal-fadeInOpacity-b-0i7ru0n2wg 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-0i7ru0n2wg {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-0i7ru0n2wg {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-0i7ru0n2wg {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-0i7ru0n2wg] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* Theme colors use scoped CSS for specificity over the browser's <dialog> UA defaults. */

.components-rejoining-animation[b-0i7ru0n2wg] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-0i7ru0n2wg] {
        position: absolute;
        border: 3px solid var(--brand-primary);
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-0i7ru0n2wg 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-0i7ru0n2wg] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-0i7ru0n2wg {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
