/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-8odbf4xzb3] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main[b-8odbf4xzb3] {
    flex: 1;
}

/* ─────────────────────────────────────────────
   Sidebar
───────────────────────────────────────────── */

.sidebar[b-8odbf4xzb3] {
    background: linear-gradient(172deg, rgba(50, 24, 31, 0.92) 0%, rgba(28, 13, 18, 0.9) 100%);
    border-right: 1px solid rgba(255, 215, 180, 0.14);
    box-shadow: inset -1px 0 0 rgba(255, 215, 180, 0.06), 4px 0 24px rgba(8, 3, 5, 0.2);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* ─────────────────────────────────────────────
   Top Row
───────────────────────────────────────────── */

.top-row[b-8odbf4xzb3] {
    background: linear-gradient(140deg, rgba(255, 242, 226, 0.12) 0%, rgba(255, 242, 226, 0.05) 100%);
    border-bottom: 1px solid rgba(255, 215, 180, 0.12);
    justify-content: flex-end;
    min-height: 3.75rem;
    display: flex;
    align-items: center;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.shell-main[b-8odbf4xzb3] {
    display: flex;
    flex-direction: column;
}

.shell-content[b-8odbf4xzb3] {
    padding-bottom: 1.5rem;
}

/* ─────────────────────────────────────────────
   User Chip
───────────────────────────────────────────── */

.user-chip[b-8odbf4xzb3] {
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 215, 180, 0.25);
    background: linear-gradient(130deg, rgba(255, 238, 218, 0.18), rgba(255, 238, 218, 0.06));
    color: #f0d8c0;
    font-size: 0.82rem;
    letter-spacing: 0.01em;
}

.top-row[b-8odbf4xzb3]  a,
.top-row[b-8odbf4xzb3]  .btn-link {
    white-space: nowrap;
    margin-left: 1.5rem;
    text-decoration: none;
}

.top-row[b-8odbf4xzb3]  a:hover,
.top-row[b-8odbf4xzb3]  .btn-link:hover {
    text-decoration: underline;
}

.top-row[b-8odbf4xzb3]  a:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ─────────────────────────────────────────────
   Mobile Bottom Navigation
───────────────────────────────────────────── */

.mobile-bottom-nav[b-8odbf4xzb3] {
    display: none;
}

/* ─────────────────────────────────────────────
   Blazor Error UI
───────────────────────────────────────────── */

#blazor-error-ui[b-8odbf4xzb3] {
    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-8odbf4xzb3] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* ─────────────────────────────────────────────
   Desktop Layout (≥ 641px)
───────────────────────────────────────────── */

@media (min-width: 641px) {
    .page[b-8odbf4xzb3] {
        flex-direction: row;
    }

    .sidebar[b-8odbf4xzb3] {
        width: 252px;
        height: 100vh;
        position: sticky;
        top: 0;
        flex-shrink: 0;
    }

    .top-row[b-8odbf4xzb3] {
        position: sticky;
        top: 0;
        z-index: 3;
    }

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

    .top-row[b-8odbf4xzb3],
    article[b-8odbf4xzb3] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

/* ─────────────────────────────────────────────
   Mobile Layout (≤ 640px)
───────────────────────────────────────────── */

@media (max-width: 640.98px) {
    .top-row[b-8odbf4xzb3] {
        justify-content: space-between;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
        min-height: 3.25rem;
    }

    .top-row[b-8odbf4xzb3]  a,
    .top-row[b-8odbf4xzb3]  .btn-link {
        margin-left: 0;
    }

    .user-chip[b-8odbf4xzb3] {
        display: none;
    }

    /* Hide desktop sidebar on mobile */
    .sidebar[b-8odbf4xzb3] {
        display: none;
    }

    /* Add bottom padding so content doesn't hide behind bottom nav */
    .shell-content[b-8odbf4xzb3] {
        padding-bottom: calc(var(--sb-bottom-nav-h) + 1.25rem + env(safe-area-inset-bottom, 0px));
    }

    /* Show mobile bottom nav */
    .mobile-bottom-nav[b-8odbf4xzb3] {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 500;
        height: calc(var(--sb-bottom-nav-h) + env(safe-area-inset-bottom, 0px));
        padding-bottom: env(safe-area-inset-bottom, 0px);
        background: linear-gradient(135deg, rgba(24, 12, 17, 0.97) 0%, rgba(36, 17, 23, 0.97) 100%);
        border-top: 1px solid rgba(255, 215, 180, 0.14);
        backdrop-filter: blur(22px);
        -webkit-backdrop-filter: blur(22px);
        box-shadow: 0 -4px 24px rgba(8, 3, 5, 0.4);
        justify-content: space-around;
        align-items: stretch;
    }

    .mobile-bottom-nav__item[b-8odbf4xzb3] {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        flex: 1;
        padding: 0.5rem 0.25rem;
        color: rgba(190, 160, 130, 0.75);
        text-decoration: none;
        transition: color var(--sb-transition-fast);
        position: relative;
    }

    .mobile-bottom-nav__item[b-8odbf4xzb3]::before {
        content: "";
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%) scaleX(0);
        width: 2rem;
        height: 2px;
        border-radius: 0 0 2px 2px;
        background: var(--sb-accent-strong);
        transition: transform var(--sb-transition-fast);
    }

    .mobile-bottom-nav__item.active[b-8odbf4xzb3] {
        color: var(--sb-accent-strong);
    }

    .mobile-bottom-nav__item.active[b-8odbf4xzb3]::before {
        transform: translateX(-50%) scaleX(1);
    }

    .mobile-bottom-nav__icon[b-8odbf4xzb3] {
        width: 1.35rem;
        height: 1.35rem;
        flex-shrink: 0;
    }

    .mobile-bottom-nav__label[b-8odbf4xzb3] {
        font-size: 0.64rem;
        font-weight: 600;
        letter-spacing: 0.01em;
        line-height: 1;
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* ─────────────────────────────────────────────
   Hamburger Toggle (mobile only)
───────────────────────────────────────────── */

.navbar-toggler[b-6b56co9kqe] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: #ffe9cf;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 215, 180, 0.24);
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(16, 5, 8, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28240, 218, 195, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.7rem rgba(255, 236, 216, 0.12);
    transition: background-color 160ms ease, transform 160ms ease;
}

.navbar-toggler:checked[b-6b56co9kqe] {
    background-color: rgba(255, 236, 216, 0.22);
}

/* ─────────────────────────────────────────────
   Sidebar Top Row / Brand
───────────────────────────────────────────── */

.top-row[b-6b56co9kqe] {
    min-height: 3.75rem;
    background: linear-gradient(130deg, rgba(255, 228, 196, 0.18) 0%, rgba(50, 22, 32, 0.18) 100%);
    border-bottom: 1px solid rgba(255, 215, 180, 0.14);
    display: flex;
    align-items: center;
}

.navbar-brand[b-6b56co9kqe] {
    font-size: 1.35rem;
    color: #ffecd8;
    letter-spacing: 0.04em;
    padding: 0 0.25rem;
    background: linear-gradient(135deg, #f5c88a 0%, #e0a060 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─────────────────────────────────────────────
   Bootstrap Icon Placeholders
───────────────────────────────────────────── */

.bi[b-6b56co9kqe] {
    display: inline-block;
    position: relative;
    width: 1.15rem;
    height: 1.15rem;
    margin-right: 0.7rem;
    top: -1px;
    background-size: cover;
    flex-shrink: 0;
    opacity: 0.85;
    transition: opacity var(--sb-transition-fast);
}

.bi-house-door-fill-nav-menu[b-6b56co9kqe] {
    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-list-nested-nav-menu[b-6b56co9kqe] {
    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");
}

.bi-person-fill-nav-menu[b-6b56co9kqe] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-fill' viewBox='0 0 16 16'%3E%3Cpath d='M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6z'/%3E%3C/svg%3E");
}

.bi-calendar-fill-nav-menu[b-6b56co9kqe] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-calendar-fill' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h.5A1.5 1.5 0 0 1 15 2.5v11A1.5 1.5 0 0 1 13.5 15h-11A1.5 1.5 0 0 1 1 13.5v-11A1.5 1.5 0 0 1 2.5 1H3V.5a.5.5 0 0 1 .5-.5z'/%3E%3C/svg%3E");
}

.bi-people-fill-nav-menu[b-6b56co9kqe] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-people-fill' viewBox='0 0 16 16'%3E%3Cpath d='M13 7c0 1.105-.895 2-2 2s-2-.895-2-2 .895-2 2-2 2 .895 2 2zM5 8c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM1 13s0-1 1-1 3 1 3 2H1v-1zm7 1v-1s0-1 1-1 4 1 4 2h-5z'/%3E%3C/svg%3E");
}

.bi-envelope-fill-nav-menu[b-6b56co9kqe] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-envelope-fill' viewBox='0 0 16 16'%3E%3Cpath d='M.05 3.555A2 2 0 0 1 2 2h12a2 2 0 0 1 1.95 1.555L8 8.414.05 3.555z'/%3E%3Cpath d='M0 4.697v7.104l5.803-3.558L0 4.697zM6.761 8.83l-6.57 4.027A2 2 0 0 0 2 14h12a2 2 0 0 0 1.808-1.143L9.24 8.83 8 9.586 6.761 8.83zM16 4.697l-5.803 3.546L16 11.801V4.697z'/%3E%3C/svg%3E");
}

.bi-gear-fill-nav-menu[b-6b56co9kqe] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-gear-fill' viewBox='0 0 16 16'%3E%3Cpath d='M9.405 1.05c-.413-1.4-2.397-1.4-2.81 0l-.1.34a1.464 1.464 0 0 1-2.105.872l-.31-.17c-1.283-.698-2.686.705-1.987 1.987l.169.311c.446.82.023 1.841-.872 2.105l-.34.1c-1.4.413-1.4 2.397 0 2.81l.34.1a1.464 1.464 0 0 1 .872 2.105l-.17.31c-.698 1.283.705 2.686 1.987 1.987l.311-.169a1.464 1.464 0 0 1 2.105.872l.1.34c.413 1.4 2.397 1.4 2.81 0l.1-.34a1.464 1.464 0 0 1 2.105-.872l.31.17c1.283.698 2.686-.705 1.987-1.987l-.169-.311a1.464 1.464 0 0 1 .872-2.105l.34-.1c1.4-.413 1.4-2.397 0-2.81l-.34-.1a1.464 1.464 0 0 1-.872-2.105l.17-.31c.698-1.283-.705-2.686-1.987-1.987l-.311.169a1.464 1.464 0 0 1-2.105-.872l-.1-.34zM8 10.93a2.929 2.929 0 1 1 0-5.858 2.929 2.929 0 0 1 0 5.858z'/%3E%3C/svg%3E");
}

/* ─────────────────────────────────────────────
   Nav Items
───────────────────────────────────────────── */

.nav-item[b-6b56co9kqe] {
    font-size: 0.9rem;
    padding-bottom: 0.3rem;
}

.nav-item:first-of-type[b-6b56co9kqe] {
    padding-top: 0.75rem;
}

.nav-item:last-of-type[b-6b56co9kqe] {
    padding-bottom: 0.75rem;
}

.nav-item[b-6b56co9kqe]  .nav-link {
    color: rgba(230, 200, 168, 0.72);
    border: 1px solid transparent;
    border-radius: 10px;
    height: 2.85rem;
    display: flex;
    align-items: center;
    line-height: 1;
    width: 100%;
    position: relative;
    overflow: hidden;
    transition: color var(--sb-transition-fast), background-color var(--sb-transition-fast), border-color var(--sb-transition-fast);
}

/* Left accent bar for active state */
.nav-item[b-6b56co9kqe]  a.active {
    background: linear-gradient(110deg, rgba(240, 200, 148, 0.22) 0%, rgba(240, 200, 148, 0.07) 100%);
    border-color: rgba(240, 200, 148, 0.28);
    color: #fff3e0;
    box-shadow: 0 8px 20px rgba(10, 4, 7, 0.28);
}

.nav-item[b-6b56co9kqe]  a.active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: linear-gradient(to bottom, var(--sb-accent-strong), var(--sb-accent));
}

.nav-item[b-6b56co9kqe]  a.active .bi {
    opacity: 1;
}

.nav-item[b-6b56co9kqe]  .nav-link:hover {
    background-color: rgba(240, 200, 148, 0.12);
    border-color: rgba(255, 215, 180, 0.18);
    color: #fff0de;
}

.nav-item[b-6b56co9kqe]  .nav-link:hover .bi {
    opacity: 1;
}

.nav-item[b-6b56co9kqe]  .nav-link:focus-visible {
    outline: 2px solid rgba(240, 210, 165, 0.82);
    outline-offset: 2px;
    border-color: rgba(240, 200, 148, 0.42);
    background-color: rgba(240, 200, 148, 0.12);
}

/* ─────────────────────────────────────────────
   Sidebar Scrollable Area
───────────────────────────────────────────── */

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

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

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

    .nav-scrollable[b-6b56co9kqe] {
        display: block;
        height: calc(100vh - 3.75rem);
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: rgba(240, 210, 165, 0.25) transparent;
    }

    /* Divider line before last nav group (Settings) */
    .nav-item:last-of-type[b-6b56co9kqe] {
        margin-top: auto;
        border-top: 1px solid rgba(255, 215, 180, 0.08);
        padding-top: 0.5rem;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-zbfh2cl5ga],
.components-reconnect-repeated-attempt-visible[b-zbfh2cl5ga],
.components-reconnect-failed-visible[b-zbfh2cl5ga],
.components-pause-visible[b-zbfh2cl5ga],
.components-resume-failed-visible[b-zbfh2cl5ga],
.components-rejoining-animation[b-zbfh2cl5ga] {
    display: none;
}

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


#components-reconnect-modal[b-zbfh2cl5ga] {
    color: #f7efe5;
    background: linear-gradient(145deg, rgba(255, 241, 224, 0.16), rgba(255, 241, 224, 0.07));
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 1px solid rgba(255, 225, 194, 0.3);
    border-radius: 1rem;
    box-shadow: 0 16px 36px rgba(20, 8, 12, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-zbfh2cl5ga 0.5s both;
    &[open]

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

}

#components-reconnect-modal[b-zbfh2cl5ga]::backdrop {
    background: radial-gradient(circle at 30% 20%, rgba(217, 171, 115, 0.18), transparent 45%), rgba(17, 7, 10, 0.7);
    animation: components-reconnect-modal-fadeInOpacity-b-zbfh2cl5ga 0.5s ease-in-out;
    opacity: 1;
}

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

#components-reconnect-modal button[b-zbfh2cl5ga] {
    border: 1px solid rgba(255, 225, 194, 0.35);
    background: linear-gradient(130deg, rgba(242, 198, 143, 0.35), rgba(189, 138, 87, 0.22));
    color: #fff5ea;
    padding: 7px 24px;
    border-radius: 999px;
    transition: transform 180ms ease, background-color 180ms ease;
}

#components-reconnect-modal button:hover[b-zbfh2cl5ga] {
    background-color: rgba(242, 198, 143, 0.36);
    transform: translateY(-1px);
}

#components-reconnect-modal button:active[b-zbfh2cl5ga] {
    background-color: rgba(181, 130, 89, 0.42);
}

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

    .components-rejoining-animation div[b-zbfh2cl5ga] {
        position: absolute;
        border: 3px solid rgba(255, 225, 194, 0.8);
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-zbfh2cl5ga 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

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

@keyframes components-rejoining-animation-b-zbfh2cl5ga {
    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;
    }
}
