/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-o9umn2wvx1] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--pg-bg);
}

.main[b-o9umn2wvx1] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.sidebar[b-o9umn2wvx1] {
    background-image: linear-gradient(180deg, #062a5a 0%, #0d3d8a 55%, #062a5a 100%);
    position: relative;
}

.sidebar[b-o9umn2wvx1]::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.15), transparent);
}

.top-row[b-o9umn2wvx1] {
    background-color: var(--pg-topbar-bg, rgba(255, 255, 255, 0.85));
    backdrop-filter: saturate(180%) blur(8px);
    -webkit-backdrop-filter: saturate(180%) blur(8px);
    border-bottom: 1px solid var(--pg-border);
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    gap: 1rem;
}

.top-row-left[b-o9umn2wvx1] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.mobile-toggle[b-o9umn2wvx1] {
    background: transparent;
    border: 1px solid var(--pg-border);
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: none;
    align-items: center;
    justify-content: center;
    color: var(--pg-text);
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease;
}

.mobile-toggle:hover[b-o9umn2wvx1] {
    background-color: var(--pg-ink-100);
    border-color: var(--pg-ink-300);
}

.top-row-crumbs[b-o9umn2wvx1] {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.92rem;
}

.crumb-city[b-o9umn2wvx1] {
    font-weight: 700;
    color: var(--pg-primary);
    letter-spacing: 0.02em;
}

.crumb-sep[b-o9umn2wvx1] {
    color: var(--pg-ink-300);
}

.crumb-app[b-o9umn2wvx1] {
    color: var(--pg-muted);
    font-weight: 500;
}

.top-row-right[b-o9umn2wvx1] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

/* Sun/moon toggle */
.theme-toggle[b-o9umn2wvx1] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--pg-border);
    border-radius: 999px;
    width: 36px;
    height: 36px;
    color: var(--pg-text);
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.theme-toggle:hover[b-o9umn2wvx1] {
    background-color: var(--pg-ink-100);
    border-color: var(--pg-ink-300);
    color: var(--pg-primary);
}

/* Show sun in light mode, moon in dark mode */
.theme-toggle .t-sun[b-o9umn2wvx1]  { display: inline; }
.theme-toggle .t-moon[b-o9umn2wvx1] { display: none; }
:global([data-theme="dark"]) .theme-toggle .t-sun[b-o9umn2wvx1]  { display: none; }
:global([data-theme="dark"]) .theme-toggle .t-moon[b-o9umn2wvx1] { display: inline; }

.status-pill[b-o9umn2wvx1] {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: var(--pg-blue-50);
    color: var(--pg-primary-hover);
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    border: 1px solid rgba(13, 61, 138, 0.2);
}

.status-dot[b-o9umn2wvx1] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pg-blue-500);
    box-shadow: 0 0 0 3px rgba(28, 100, 212, 0.2);
    animation: pulse-b-o9umn2wvx1 2s infinite;
}

@keyframes pulse-b-o9umn2wvx1 {
    0%, 100% { box-shadow: 0 0 0 3px rgba(28, 100, 212, 0.2); }
    50%      { box-shadow: 0 0 0 5px rgba(28, 100, 212, 0.08); }
}

.content[b-o9umn2wvx1] {
    padding-top: 1.5rem;
    padding-bottom: 3rem;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

@media (max-width: 640.98px) {
    .mobile-toggle[b-o9umn2wvx1] { display: inline-flex; }
    .top-row[b-o9umn2wvx1] { padding: 0 1rem; }
    .status-pill[b-o9umn2wvx1] { display: none; }
    .crumb-app[b-o9umn2wvx1] { display: none; }
}

@media (min-width: 641px) {
    .page[b-o9umn2wvx1] {
        flex-direction: row;
    }

    .sidebar[b-o9umn2wvx1] {
        width: 260px;
        height: 100vh;
        position: sticky;
        top: 0;
        flex-shrink: 0;
    }

    .top-row[b-o9umn2wvx1] {
        position: sticky;
        top: 0;
        z-index: 10;
    }
}

#blazor-error-ui[b-o9umn2wvx1] {
    color-scheme: light only;
    background: #fef3c7;
    color: #92400e;
    bottom: 0;
    box-shadow: 0 -1px 6px rgba(0, 0, 0, 0.12);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.75rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    border-top: 3px solid #ffc72c;
    font-weight: 500;
}

    #blazor-error-ui .reload[b-o9umn2wvx1] {
        color: #062a5a;
        font-weight: 600;
        margin-left: 0.75rem;
    }

    #blazor-error-ui .dismiss[b-o9umn2wvx1] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* =========================================================
   Sidebar navigation — Pasig City modern
   ========================================================= */

.brand-row[b-ttbsy5sbua] {
    padding: 1.25rem 1rem 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.brand[b-ttbsy5sbua] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #fff;
}

.brand-logo[b-ttbsy5sbua] {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.25));
    flex-shrink: 0;
}

.brand-text[b-ttbsy5sbua] {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-title[b-ttbsy5sbua] {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #ffffff;
}

.brand-subtitle[b-ttbsy5sbua] {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-top: 2px;
}

/* Mobile toggle (kept but off-screen on desktop) */
.navbar-toggler[b-ttbsy5sbua] {
    appearance: none;
    cursor: pointer;
    width: 2.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 1rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.85)' stroke-width='2' stroke-linecap='round'%3e%3cline x1='3' y1='6' x2='21' y2='6'/%3e%3cline x1='3' y1='12' x2='21' y2='12'/%3e%3cline x1='3' y1='18' x2='21' y2='18'/%3e%3c/svg%3e") no-repeat center/1.35rem rgba(255, 255, 255, 0.08);
    margin: 0;
}

.navbar-toggler:checked[b-ttbsy5sbua] {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Section label */
.nav-section-label[b-ttbsy5sbua] {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.45);
    padding: 1rem 1.25rem 0.4rem;
}

/* Nav list */
.nav-list[b-ttbsy5sbua] {
    display: flex;
    flex-direction: column;
    padding: 0 0.75rem;
    gap: 2px;
}

[b-ttbsy5sbua] .nav-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
    font-weight: 500;
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    text-decoration: none;
    position: relative;
    transition: background-color .15s ease, color .15s ease, transform .08s ease;
    line-height: 1.2;
}

[b-ttbsy5sbua] .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

[b-ttbsy5sbua] .nav-link.active {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

[b-ttbsy5sbua] .nav-link.active::before {
    content: "";
    position: absolute;
    left: -0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 55%;
    background: #ffc72c;
    border-radius: 0 3px 3px 0;
    box-shadow: 0 0 8px rgba(255, 199, 44, 0.55);
}

/* Icons */
[b-ttbsy5sbua] .nav-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    opacity: 0.85;
}

[b-ttbsy5sbua] .nav-icon svg {
    width: 100%;
    height: 100%;
}

[b-ttbsy5sbua] .nav-link.active .nav-icon { opacity: 1; }

/* Badge pill inside nav item */
[b-ttbsy5sbua] .nav-badge {
    margin-left: auto;
    background: linear-gradient(135deg, #ffd24d, #ffc72c);
    color: #5b3b00;
    font-size: 0.62rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 999px;
    letter-spacing: 0.04em;
}

/* User card at bottom (native <details>/<summary> dropdown) */
.user-card[b-ttbsy5sbua] {
    position: relative;
    margin: 1.5rem 0.75rem 1rem;
}

.user-card-summary[b-ttbsy5sbua] {
    list-style: none;
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: inherit;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease;
}

/* Suppress the default disclosure triangle on every browser */
.user-card-summary[b-ttbsy5sbua]::-webkit-details-marker { display: none; }
.user-card-summary[b-ttbsy5sbua]::marker { content: ''; }

.user-card-summary:hover[b-ttbsy5sbua],
.user-card[open] .user-card-summary[b-ttbsy5sbua] {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 199, 44, 0.35);
}

.profile-caret[b-ttbsy5sbua] {
    color: rgba(255, 255, 255, 0.55);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    transition: transform .15s ease, color .15s ease;
}

.user-card[open] .profile-caret[b-ttbsy5sbua] {
    color: #ffc72c;
    transform: rotate(180deg);
}

.profile-menu[b-ttbsy5sbua] {
    position: absolute;
    bottom: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #0f1729;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: .35rem;
    box-shadow: 0 14px 30px rgba(0,0,0,.35);
    z-index: 1000;
}

.profile-menu-item[b-ttbsy5sbua] {
    display: flex;
    align-items: center;
    gap: .55rem;
    width: 100%;
    padding: .55rem .7rem;
    background: transparent;
    border: 0;
    color: rgba(255,255,255,.85);
    font-size: .85rem;
    text-align: left;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
}

.profile-menu-item svg[b-ttbsy5sbua] { width: 16px; height: 16px; flex-shrink: 0; color: rgba(255,255,255,.55); }

.profile-menu-item:hover[b-ttbsy5sbua] {
    background: rgba(255, 199, 44, 0.12);
    color: #fff;
}
.profile-menu-item:hover svg[b-ttbsy5sbua] { color: #ffc72c; }

.profile-menu-sep[b-ttbsy5sbua] {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: .25rem .35rem;
}

.profile-menu-form[b-ttbsy5sbua] { margin: 0; }

.profile-menu-danger[b-ttbsy5sbua] { color: #fda4af; }
.profile-menu-danger:hover[b-ttbsy5sbua] { background: rgba(220, 38, 38, 0.18); color: #fecaca; }
.profile-menu-danger:hover svg[b-ttbsy5sbua] { color: #fca5a5; }

.user-avatar[b-ttbsy5sbua] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd24d, #ffc72c);
    color: #5b3b00;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 0.8rem;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.user-info[b-ttbsy5sbua] {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex: 1;
    min-width: 0;
}

.user-name[b-ttbsy5sbua] {
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-role[b-ttbsy5sbua] {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.7rem;
    font-weight: 500;
}

/* Mobile / desktop toggling */
.nav-scrollable[b-ttbsy5sbua] {
    display: none;
    padding-bottom: 1rem;
}

.navbar-toggler:checked ~ .nav-scrollable[b-ttbsy5sbua] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-ttbsy5sbua] {
        display: none;
    }

    .nav-scrollable[b-ttbsy5sbua] {
        display: block;
        height: calc(100vh - 5rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-u9c6de7oat],
.components-reconnect-repeated-attempt-visible[b-u9c6de7oat],
.components-reconnect-failed-visible[b-u9c6de7oat],
.components-pause-visible[b-u9c6de7oat],
.components-resume-failed-visible[b-u9c6de7oat],
.components-rejoining-animation[b-u9c6de7oat] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-u9c6de7oat],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-u9c6de7oat],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-u9c6de7oat],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-u9c6de7oat],
#components-reconnect-modal.components-reconnect-retrying[b-u9c6de7oat],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-u9c6de7oat],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-u9c6de7oat],
#components-reconnect-modal.components-reconnect-failed[b-u9c6de7oat],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-u9c6de7oat] {
    display: block;
}


#components-reconnect-modal[b-u9c6de7oat] {
    background-color: var(--pg-surface, #ffffff);
    color: var(--pg-text, #0b1320);
    border: 1px solid var(--pg-border, #e2e8f0);
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 14px 32px rgba(6, 42, 90, 0.25);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-u9c6de7oat 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-u9c6de7oat 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-u9c6de7oat 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-u9c6de7oat]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-u9c6de7oat 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-u9c6de7oat {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-u9c6de7oat {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-u9c6de7oat {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-u9c6de7oat] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-u9c6de7oat] {
    margin: 0;
    text-align: center;
    color: var(--pg-text, #0b1320);
    font-size: 0.95rem;
    line-height: 1.45;
}

#components-reconnect-modal button[b-u9c6de7oat] {
    border: 0;
    background-color: var(--pg-primary, #0d3d8a);
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .15s ease, transform .08s ease;
}

    #components-reconnect-modal button:hover[b-u9c6de7oat] {
        background-color: var(--pg-primary-hover, #062a5a);
    }

    #components-reconnect-modal button:active[b-u9c6de7oat] {
        transform: translateY(1px);
    }

.components-rejoining-animation[b-u9c6de7oat] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-u9c6de7oat] {
        position: absolute;
        border: 3px solid var(--pg-primary, #0d3d8a);
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-u9c6de7oat 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-u9c6de7oat] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-u9c6de7oat {
    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;
    }
}
