/* /Components/Layout/MainLayout.razor.rz.scp.css */
.admin-shell[b-ivr569kcvl] {
    display: flex;
    min-height: 100vh;
}

.admin-nav[b-ivr569kcvl] {
    width: 242px;
    flex-shrink: 0;
    background: linear-gradient(180deg, #0c2b3a 0%, #123e52 60%, #14465c 100%);
    color: #dfe9ee;
    display: flex;
    flex-direction: column;
    padding: 0.9rem 0.8rem;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #2c5d75 transparent;
}

.admin-brand[b-ivr569kcvl] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.5rem 1.1rem;
}

.admin-brand[b-ivr569kcvl]  svg { flex-shrink: 0; }

.brand-name[b-ivr569kcvl] {
    font-size: 1.12rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.01em;
    line-height: 1.15;
}

.brand-sub[b-ivr569kcvl] {
    display: block;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #7fa8bc;
}

.admin-nav nav[b-ivr569kcvl] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-grow: 1;
}

.admin-nav[b-ivr569kcvl]  a {
    color: #b9cbd6;
    text-decoration: none;
    padding: 0.42rem 0.7rem;
    border-radius: 8px;
    font-size: 0.92rem;
    border-left: 3px solid transparent;
    transition: background 0.12s ease, color 0.12s ease;
}

.admin-nav[b-ivr569kcvl]  a:hover {
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
}

.admin-nav[b-ivr569kcvl]  a.active {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-left-color: #e8703d;
    font-weight: 600;
}

.nav-group[b-ivr569kcvl] {
    margin-top: 1.05rem;
    padding: 0 0.7rem 0.25rem;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #6f93a6;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.nav-group[b-ivr569kcvl]::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: #1b8aa5;
    display: inline-block;
}

.nav-group:nth-of-type(6n+1)[b-ivr569kcvl]::before { background: #e8703d; }
.nav-group:nth-of-type(6n+2)[b-ivr569kcvl]::before { background: #1b8aa5; }
.nav-group:nth-of-type(6n+3)[b-ivr569kcvl]::before { background: #3f9d63; }
.nav-group:nth-of-type(6n+4)[b-ivr569kcvl]::before { background: #7b6fd0; }
.nav-group:nth-of-type(6n+5)[b-ivr569kcvl]::before { background: #d99a2b; }
.nav-group:nth-of-type(6n+6)[b-ivr569kcvl]::before { background: #d05a6e; }

.admin-user[b-ivr569kcvl] {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 0.8rem;
    padding: 0.8rem 0.6rem 0.3rem;
    font-size: 0.84rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    color: #9fb9c7;
}

.btn-link[b-ivr569kcvl] {
    background: none;
    border: none;
    color: #8fc0d6;
    padding: 0;
    text-align: left;
    cursor: pointer;
    font-size: 0.84rem;
}

.btn-link:hover[b-ivr569kcvl] {
    color: #fff;
    text-decoration: underline;
}

.admin-main[b-ivr569kcvl] {
    flex-grow: 1;
    padding: 1.6rem 2.2rem 3rem;
    background:
        radial-gradient(1200px 300px at 85% -80px, rgba(27, 138, 165, 0.07), transparent),
        #eef3f6;
    min-width: 0;
}

/* ── Top-right account bar (desktop) ─────────────────────────────────── */
.admin-userbar[b-ivr569kcvl] {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5rem;
    margin: -0.5rem 0 0.9rem;
}

.userbar-chip[b-ivr569kcvl] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.28rem 0.75rem 0.28rem 0.3rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #dbe5ea;
    color: #1d3340;
    font-size: 0.84rem;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(16, 42, 56, 0.05);
}

.userbar-chip:hover[b-ivr569kcvl] { border-color: #146c8c; color: #146c8c; }

.userbar-avatar[b-ivr569kcvl] {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #17708f, #0f4c5c);
    color: #fff;
    font-weight: 800;
    font-size: 0.8rem;
}

.userbar-signout[b-ivr569kcvl] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    border: 1px solid #dbe5ea;
    background: #fff;
    color: #1d3340;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.12s ease;
}

.userbar-signout:hover[b-ivr569kcvl] { background: #fdecea; border-color: #f0b8b3; color: #b3261e; }

.topbar-signout[b-ivr569kcvl] {
    margin-left: auto;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
}

/* ── Mobile drawer ───────────────────────────────────────────────────── */
/* Desktop keeps the static sidebar; the topbar, hamburger and backdrop
   exist only below the breakpoint. */
.admin-topbar[b-ivr569kcvl],
.nav-backdrop[b-ivr569kcvl] {
    display: none;
}

@media (max-width: 900px) {
    .admin-topbar[b-ivr569kcvl] {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 52px;
        padding: 0 0.9rem;
        background: #0c2b3a;
        color: #fff;
        z-index: 60;
        box-shadow: 0 1px 6px rgba(8, 28, 38, 0.28);
    }

    .topbar-title[b-ivr569kcvl] {
        font-size: 1.02rem;
        font-weight: 700;
        letter-spacing: 0.01em;
    }

    .nav-toggle[b-ivr569kcvl] {
        width: 42px;
        height: 38px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        padding: 0;
    }

    .nav-toggle:active[b-ivr569kcvl] { background: rgba(255, 255, 255, 0.12); }

    /* Three bars drawn from one element: the middle is the box, the outer
       two are its before/after. */
    .nav-toggle-bars[b-ivr569kcvl],
    .nav-toggle-bars[b-ivr569kcvl]::before,
    .nav-toggle-bars[b-ivr569kcvl]::after {
        display: block;
        width: 21px;
        height: 2px;
        border-radius: 2px;
        background: #fff;
        content: "";
    }

    .nav-toggle-bars[b-ivr569kcvl] { position: relative; }
    .nav-toggle-bars[b-ivr569kcvl]::before { position: absolute; top: -7px; }
    .nav-toggle-bars[b-ivr569kcvl]::after { position: absolute; top: 7px; }

    .admin-nav[b-ivr569kcvl] {
        position: fixed;
        top: 0;
        left: 0;
        width: 270px;
        max-width: 84vw;
        height: 100dvh;
        z-index: 80;
        transform: translateX(-100%);
        transition: transform 0.2s ease;
        box-shadow: 0 0 32px rgba(8, 28, 38, 0.4);
        overscroll-behavior: contain;
    }

    .nav-open .admin-nav[b-ivr569kcvl] { transform: none; }

    .nav-open .nav-backdrop[b-ivr569kcvl] {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 70;
        background: rgba(8, 28, 38, 0.45);
    }

    .admin-nav[b-ivr569kcvl]  a {
        padding: 0.6rem 0.7rem;   /* taller tap targets */
        font-size: 0.95rem;
    }

    .admin-main[b-ivr569kcvl] {
        padding: calc(52px + 1rem) 1rem 2.5rem;
    }

    /* The topbar carries sign-out on phones; the bar would only repeat it. */
    .admin-userbar[b-ivr569kcvl] { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .admin-nav[b-ivr569kcvl] { transition: none; }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-usphi60xod],
.components-reconnect-repeated-attempt-visible[b-usphi60xod],
.components-reconnect-failed-visible[b-usphi60xod],
.components-pause-visible[b-usphi60xod],
.components-resume-failed-visible[b-usphi60xod],
.components-rejoining-animation[b-usphi60xod] {
    display: none;
}

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


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

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

@keyframes components-rejoining-animation-b-usphi60xod {
    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/Login.razor.rz.scp.css */
.login-wrap[b-5q05tfeaxh] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(900px 500px at 15% 10%, rgba(232, 112, 61, 0.22), transparent 60%),
        radial-gradient(800px 600px at 90% 90%, rgba(27, 138, 165, 0.30), transparent 60%),
        linear-gradient(160deg, #0c2b3a 0%, #123e52 55%, #0e3547 100%);
    padding: 1.5rem;
}

.login-card[b-5q05tfeaxh] {
    background: #fff;
    border-radius: 16px;
    padding: 2.4rem 2.5rem 2.2rem;
    width: 360px;
    max-width: 100%;
    box-shadow: 0 24px 60px -12px rgba(4, 22, 32, 0.55);
}

.login-brand[b-5q05tfeaxh] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
}

.login-brand[b-5q05tfeaxh]  svg { flex-shrink: 0; }

.login-brand-name[b-5q05tfeaxh] {
    font-size: 1.35rem;
    font-weight: 750;
    color: #14303f;
    line-height: 1.1;
}

.login-brand-sub[b-5q05tfeaxh] {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #7d94a2;
}

.login-card h1[b-5q05tfeaxh] {
    font-size: 1rem;
    font-weight: 500;
    color: #5d7180;
    margin: 0 0 1.3rem;
    text-align: center;
}

.field[b-5q05tfeaxh] {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.field label[b-5q05tfeaxh] {
    font-size: 0.83rem;
    font-weight: 600;
    color: #33485564;
    color: #334855;
}

.field[b-5q05tfeaxh]  input {
    padding: 0.6rem 0.75rem;
    border: 1px solid #c9d5dc;
    border-radius: 9px;
    font-size: 0.95rem;
    transition: border-color 0.12s ease, box-shadow 0.12s ease;
}

.field[b-5q05tfeaxh]  input:focus {
    outline: none;
    border-color: #146c8c;
    box-shadow: 0 0 0 3px rgba(20, 108, 140, 0.18);
}

.error[b-5q05tfeaxh] {
    color: #b3261e;
    font-size: 0.85rem;
}

button[type="submit"][b-5q05tfeaxh] {
    width: 100%;
    padding: 0.65rem;
    background: linear-gradient(135deg, #17708f, #10566e);
    color: #fff;
    border: none;
    border-radius: 9px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.3rem;
    transition: filter 0.12s ease, transform 0.12s ease;
}

button[type="submit"]:hover[b-5q05tfeaxh] { filter: brightness(1.08); }
button[type="submit"]:active[b-5q05tfeaxh] { transform: translateY(1px); }
button[type="submit"]:disabled[b-5q05tfeaxh] { opacity: 0.6; }

@media (max-width: 420px) {
    .login-wrap[b-5q05tfeaxh] { padding: 1rem; align-items: flex-start; padding-top: 3rem; }
    .login-card[b-5q05tfeaxh] { padding: 1.7rem 1.4rem 1.6rem; }
}
