/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-gbpyiq20vh] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-gbpyiq20vh] {
    flex: 1;
}

.sidebar[b-gbpyiq20vh] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-gbpyiq20vh] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-gbpyiq20vh]  a, .top-row[b-gbpyiq20vh]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-gbpyiq20vh]  a:hover, .top-row[b-gbpyiq20vh]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-gbpyiq20vh]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-gbpyiq20vh] {
        justify-content: space-between;
    }

    .top-row[b-gbpyiq20vh]  a, .top-row[b-gbpyiq20vh]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-gbpyiq20vh] {
        flex-direction: row;
    }

    .sidebar[b-gbpyiq20vh] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-gbpyiq20vh] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-gbpyiq20vh]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-gbpyiq20vh], article[b-gbpyiq20vh] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-gbpyiq20vh] {
    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-gbpyiq20vh] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-00jige1wao] {
    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-00jige1wao] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-00jige1wao] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-00jige1wao] {
    font-size: 1.1rem;
}

.bi[b-00jige1wao] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-00jige1wao] {
    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-plus-square-fill-nav-menu[b-00jige1wao] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-00jige1wao] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-00jige1wao] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-00jige1wao] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-00jige1wao] {
        padding-bottom: 1rem;
    }

    .nav-item[b-00jige1wao]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-00jige1wao]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-00jige1wao]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-00jige1wao] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-00jige1wao] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-00jige1wao] {
        display: none;
    }

    .nav-scrollable[b-00jige1wao] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-vt7ehc0kg7],
.components-reconnect-repeated-attempt-visible[b-vt7ehc0kg7],
.components-reconnect-failed-visible[b-vt7ehc0kg7],
.components-pause-visible[b-vt7ehc0kg7],
.components-resume-failed-visible[b-vt7ehc0kg7],
.components-rejoining-animation[b-vt7ehc0kg7] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-vt7ehc0kg7],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-vt7ehc0kg7],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-vt7ehc0kg7],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-vt7ehc0kg7],
#components-reconnect-modal.components-reconnect-retrying[b-vt7ehc0kg7],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-vt7ehc0kg7],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-vt7ehc0kg7],
#components-reconnect-modal.components-reconnect-failed[b-vt7ehc0kg7],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-vt7ehc0kg7] {
    display: block;
}


#components-reconnect-modal[b-vt7ehc0kg7] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-vt7ehc0kg7 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-vt7ehc0kg7 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-vt7ehc0kg7 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-vt7ehc0kg7]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-vt7ehc0kg7 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-vt7ehc0kg7 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-vt7ehc0kg7 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-vt7ehc0kg7 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-vt7ehc0kg7] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-vt7ehc0kg7] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-vt7ehc0kg7] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-vt7ehc0kg7] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-vt7ehc0kg7] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-vt7ehc0kg7] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-vt7ehc0kg7] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-vt7ehc0kg7 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-vt7ehc0kg7] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-vt7ehc0kg7 {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* ── Shell ── */
.ab-shell[b-ubochnizuz] {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #fff;
    color: #1a1a1a;
}

/* ── Header ── */
.ab-header[b-ubochnizuz] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 56px;
    border-bottom: 1px solid #e5e7eb;
    flex-shrink: 0;
    background: #fff;
}

.ab-header-left[b-ubochnizuz] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ab-header-icon[b-ubochnizuz] {
    width: 22px;
    height: 22px;
    color: #374151;
}

.ab-header-title[b-ubochnizuz] {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.3px;
}

.ab-header-divider[b-ubochnizuz] {
    width: 1px;
    height: 18px;
    background: #d1d5db;
    margin: 0 4px;
}

.ab-header-sub[b-ubochnizuz] {
    font-size: 13px;
    color: #6b7280;
}

.ab-reset-btn[b-ubochnizuz] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    color: #374151;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.ab-reset-btn:hover[b-ubochnizuz] {
    background: #f9fafb;
    border-color: #9ca3af;
}

.ab-reset-icon[b-ubochnizuz] {
    font-size: 16px;
    line-height: 1;
}

/* ── Body ── */
.ab-body[b-ubochnizuz] {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* ── Sidebar ── */
.ab-sidebar[b-ubochnizuz] {
    width: 248px;
    flex-shrink: 0;
    border-right: 1px solid #e5e7eb;
    overflow-y: auto;
    background: #fff;
}

.ab-loading[b-ubochnizuz] {
    padding: 24px 16px;
    color: #6b7280;
    font-size: 13px;
}

.ab-filter-section[b-ubochnizuz] {
    border-bottom: 1px solid #e5e7eb;
}

.ab-filter-header[b-ubochnizuz] {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.ab-filter-header:hover[b-ubochnizuz] {
    background: #f9fafb;
}

.ab-dot[b-ubochnizuz] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #f97316;
    flex-shrink: 0;
}

.ab-section-title[b-ubochnizuz] {
    flex: 1;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.7px;
    color: #374151;
}

.ab-chevron[b-ubochnizuz] {
    font-size: 10px;
    color: #9ca3af;
}

.ab-filter-item[b-ubochnizuz] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px 6px 16px;
    cursor: pointer;
    font-size: 13px;
    color: #374151;
    transition: background 0.1s;
}

.ab-filter-item:hover[b-ubochnizuz] {
    background: #f9fafb;
}

.ab-filter-item input[type="checkbox"][b-ubochnizuz] {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    accent-color: #2563eb;
    cursor: pointer;
}

.ab-filter-name[b-ubochnizuz] {
    flex: 1;
    line-height: 1.35;
}

.ab-filter-pct[b-ubochnizuz] {
    font-size: 12px;
    color: #9ca3af;
    min-width: 32px;
    text-align: right;
}

/* ── Main ── */
.ab-main[b-ubochnizuz] {
    flex: 1;
    overflow-y: auto;
    padding: 0;
    background: #f9fafb;
}

/* ── Active filters bar ── */
.ab-active-bar[b-ubochnizuz] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 24px;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    font-size: 13px;
    color: #6b7280;
    min-height: 40px;
}

.ab-active-label[b-ubochnizuz] {
    font-weight: 500;
    color: #374151;
    margin-right: 2px;
}

.ab-active-none[b-ubochnizuz] {
    color: #9ca3af;
}

.ab-chip[b-ubochnizuz] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    padding: 2px 10px 2px 10px;
    font-size: 12px;
    font-weight: 500;
}

.ab-chip-remove[b-ubochnizuz] {
    background: none;
    border: none;
    cursor: pointer;
    color: #93c5fd;
    font-size: 14px;
    line-height: 1;
    padding: 0;
    margin-left: 2px;
}

.ab-chip-remove:hover[b-ubochnizuz] {
    color: #1d4ed8;
}

/* ── Stat cards ── */
.ab-stat-cards[b-ubochnizuz] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 20px 24px 0;
}

.ab-stat-card[b-ubochnizuz] {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    border-top-width: 3px;
    padding: 20px;
}

.ab-stat-blue[b-ubochnizuz]  { border-top-color: #2563eb; }
.ab-stat-green[b-ubochnizuz] { border-top-color: #16a34a; }
.ab-stat-purple[b-ubochnizuz]{ border-top-color: #7c3aed; }

.ab-stat-label[b-ubochnizuz] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    color: #6b7280;
    margin-bottom: 10px;
}

.ab-stat-value[b-ubochnizuz] {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 10px;
}

.ab-stat-blue  .ab-stat-value[b-ubochnizuz] { color: #2563eb; }
.ab-stat-green .ab-stat-value[b-ubochnizuz] { color: #16a34a; }
.ab-stat-purple .ab-stat-value[b-ubochnizuz] { color: #7c3aed; }

.ab-stat-sub[b-ubochnizuz] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #6b7280;
}

.ab-badge[b-ubochnizuz] {
    display: inline-block;
    background: #22c55e;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 999px;
}

/* ── Updating state ── */
.ab-updating[b-ubochnizuz] {
    opacity: 0.5;
    pointer-events: none;
    transition: opacity 0.15s;
}

/* ── Audience Breakdown ── */
.ab-section-heading[b-ubochnizuz] {
    margin: 24px 24px 0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.7px;
    color: #374151;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.ab-breakdown-grid[b-ubochnizuz] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 16px 24px 24px;
}

.ab-chart-card[b-ubochnizuz] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    transition: opacity 0.15s;
}

.ab-chart-title[b-ubochnizuz] {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 2px;
}

.ab-chart-sub[b-ubochnizuz] {
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 16px;
}

.ab-chart-wrap[b-ubochnizuz] {
    height: 280px;
    position: relative;
}

.ab-chart-card--tall[b-ubochnizuz] {
    grid-row: span 2;
}

.ab-chart-card--tall .ab-chart-wrap[b-ubochnizuz] {
    height: 626px; /* 2 × 280px + gap(16px) + 2 × title/sub area(15px) */
}
