/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* Styles moved to wwwroot/app.css */
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-q09omlzxdr] {
    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-q09omlzxdr] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-q09omlzxdr] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-q09omlzxdr] {
    font-size: 1.1rem;
}

.bi[b-q09omlzxdr] {
    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-q09omlzxdr] {
    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-q09omlzxdr] {
    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-q09omlzxdr] {
    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-q09omlzxdr] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

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

    .nav-item:last-of-type[b-q09omlzxdr] {
        padding-bottom: 1rem;
    }

    .nav-item[b-q09omlzxdr]  .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-q09omlzxdr]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

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

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

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

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

    .nav-scrollable[b-q09omlzxdr] {
        /* 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-mv2ekrp1f5],
.components-reconnect-repeated-attempt-visible[b-mv2ekrp1f5],
.components-reconnect-failed-visible[b-mv2ekrp1f5],
.components-pause-visible[b-mv2ekrp1f5],
.components-resume-failed-visible[b-mv2ekrp1f5],
.components-rejoining-animation[b-mv2ekrp1f5] {
    display: none;
}

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


#components-reconnect-modal[b-mv2ekrp1f5] {
    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-mv2ekrp1f5 0.5s both;
    &[open]

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

#components-reconnect-modal p[b-mv2ekrp1f5] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-mv2ekrp1f5] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-mv2ekrp1f5] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-mv2ekrp1f5] {
        background-color: #6b9ed2;
    }

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

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

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

@keyframes components-rejoining-animation-b-mv2ekrp1f5 {
    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/Admin.razor.rz.scp.css */
.admin-wrap[b-igjb12fz1e] {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 20px 64px;
}

.admin-loading[b-igjb12fz1e], .admin-denied[b-igjb12fz1e] {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    text-align: center;
    color: #475569;
}
.admin-denied h1[b-igjb12fz1e] { font-size: 1.6rem; margin-bottom: 8px; color: #0f172a; }
.admin-back[b-igjb12fz1e] { color: #2563eb; text-decoration: none; font-weight: 600; }

.admin-section-title[b-igjb12fz1e] {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin: 32px 0 14px;
    display: flex;
    align-items: baseline;
    gap: 10px;
}
.admin-date[b-igjb12fz1e] { font-size: .78rem; font-weight: 500; color: #94a3b8; }
.admin-count[b-igjb12fz1e] {
    font-size: .8rem; font-weight: 600; color: #475569;
    background: #f1f5f9; border-radius: 999px; padding: 2px 10px;
}

/* Stat cards */
.stat-grid[b-igjb12fz1e] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
@media (max-width: 820px) { .stat-grid[b-igjb12fz1e] { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .stat-grid[b-igjb12fz1e] { grid-template-columns: 1fr; } }

.stat-card[b-igjb12fz1e] {
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 14px;
    padding: 18px 20px;
    box-shadow: 0 1px 2px rgba(15,23,42,.04);
}
.stat-card-accent[b-igjb12fz1e] {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    border-color: transparent;
    color: #fff;
}
.stat-label[b-igjb12fz1e] { font-size: .78rem; font-weight: 600; color: #64748b; text-transform: uppercase; letter-spacing: .03em; }
.stat-card-accent .stat-label[b-igjb12fz1e] { color: rgba(255,255,255,.85); }
.stat-value[b-igjb12fz1e] { font-size: 1.9rem; font-weight: 800; color: #0f172a; margin-top: 6px; line-height: 1.1; }
.stat-card-accent .stat-value[b-igjb12fz1e] { color: #fff; }
.stat-sub[b-igjb12fz1e] { font-size: .78rem; color: #94a3b8; margin-top: 4px; }
.stat-card-accent .stat-sub[b-igjb12fz1e] { color: rgba(255,255,255,.8); }

/* Section head with search */
.admin-section-head[b-igjb12fz1e] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.admin-search[b-igjb12fz1e] {
    border: 1px solid #d8e0ea;
    border-radius: 10px;
    padding: 9px 14px;
    font-size: .9rem;
    min-width: 260px;
    outline: none;
}
.admin-search:focus[b-igjb12fz1e] { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,.12); }

.admin-status[b-igjb12fz1e] {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: 14px;
}

/* Table */
.admin-table-wrap[b-igjb12fz1e] {
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 14px;
    overflow-x: auto;
    box-shadow: 0 1px 2px rgba(15,23,42,.04);
}
.admin-table[b-igjb12fz1e] { width: 100%; border-collapse: collapse; font-size: .88rem; }
.admin-table thead th[b-igjb12fz1e] {
    text-align: left;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #94a3b8;
    font-weight: 700;
    padding: 12px 16px;
    border-bottom: 1px solid #eef2f7;
    white-space: nowrap;
}
.admin-table tbody td[b-igjb12fz1e] { padding: 12px 16px; border-bottom: 1px solid #f1f5f9; vertical-align: middle; }
.admin-table tbody tr:last-child td[b-igjb12fz1e] { border-bottom: none; }
.admin-table tbody tr:hover[b-igjb12fz1e] { background: #fafbfc; }

.admin-user-name[b-igjb12fz1e] { font-weight: 600; color: #0f172a; }
.admin-user-email[b-igjb12fz1e] { color: #64748b; font-size: .82rem; }
.admin-user-agency[b-igjb12fz1e] { color: #94a3b8; font-size: .76rem; margin-top: 2px; }
.admin-muted[b-igjb12fz1e] { color: #cbd5e1; }
.admin-empty[b-igjb12fz1e] { text-align: center; color: #94a3b8; padding: 28px 16px; }

/* Tier badges */
.tier-badge[b-igjb12fz1e] {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    text-transform: capitalize;
}
.tier-free[b-igjb12fz1e]    { background: #f1f5f9; color: #475569; }
.tier-premium[b-igjb12fz1e] { background: #ede9fe; color: #6d28d9; }
.tier-agent[b-igjb12fz1e]   { background: #dbeafe; color: #1d4ed8; }

/* Editable expiry dates */
.admin-expiry-stack[b-igjb12fz1e] { display: flex; flex-direction: column; gap: 6px; }
.admin-expiry-row[b-igjb12fz1e] { display: flex; align-items: center; gap: 8px; }
.admin-expiry-tag[b-igjb12fz1e] {
    font-size: .68rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    min-width: 58px;
    text-align: center;
}
.admin-date-input[b-igjb12fz1e] {
    border: 1px solid #d8e0ea;
    border-radius: 8px;
    padding: 5px 8px;
    font-size: .82rem;
    background: #fff;
    color: #0f172a;
    cursor: pointer;
    outline: none;
}
.admin-date-input:focus[b-igjb12fz1e] { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.admin-date-input.expired[b-igjb12fz1e] { border-color: #fca5a5; color: #b91c1c; background: #fef2f2; }

/* Tier select */
.admin-tier-actions[b-igjb12fz1e] { display: flex; align-items: center; gap: 8px; }
.admin-select[b-igjb12fz1e] {
    border: 1px solid #d8e0ea;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: .85rem;
    background: #fff;
    cursor: pointer;
    outline: none;
}
.admin-select:focus[b-igjb12fz1e] { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.admin-saving[b-igjb12fz1e] { font-size: .76rem; color: #94a3b8; }

/* Dark mode */
:global(.dark-mode) .stat-card[b-igjb12fz1e],
:global(.dark-mode) .admin-table-wrap[b-igjb12fz1e] { background: #1e293b; border-color: #334155; }
:global(.dark-mode) .stat-value[b-igjb12fz1e],
:global(.dark-mode) .admin-user-name[b-igjb12fz1e],
:global(.dark-mode) .admin-section-title[b-igjb12fz1e],
:global(.dark-mode) .admin-denied h1[b-igjb12fz1e] { color: #f1f5f9; }
:global(.dark-mode) .admin-table tbody td[b-igjb12fz1e] { border-color: #273344; }
:global(.dark-mode) .admin-table tbody tr:hover[b-igjb12fz1e] { background: #243044; }
:global(.dark-mode) .admin-search[b-igjb12fz1e],
:global(.dark-mode) .admin-select[b-igjb12fz1e],
:global(.dark-mode) .admin-date-input[b-igjb12fz1e] { background: #0f172a; border-color: #334155; color: #e2e8f0; }
:global(.dark-mode) .admin-date-input.expired[b-igjb12fz1e] { background: #3b1212; border-color: #7f1d1d; color: #fca5a5; }
:global(.dark-mode) .admin-count[b-igjb12fz1e] { background: #334155; color: #cbd5e1; }
