@import '_content/Blazored.Toast/Blazored.Toast.bundle.scp.css';

/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* ── APP SHELL ───────────────────────────────────────────── */

.app-shell[b-r3ydffkn4f] {
    font-family: 'DM Sans', sans-serif;
    background: #f4f7fb;
    min-height: 100vh;
    display: flex;
    flex-direction: row;
}

/* ── SIDEBAR ─────────────────────────────────────────────── */

.app-sidebar[b-r3ydffkn4f] {
    width: 240px;
    flex-shrink: 0;
}

/* ── CONTENT ─────────────────────────────────────────────── */

.app-content[b-r3ydffkn4f] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.app-main[b-r3ydffkn4f] {
    flex: 1;
    padding: 2rem;
}

/* ── BLAZOR ERROR UI ─────────────────────────────────────── */

#blazor-error-ui[b-r3ydffkn4f] {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem;
    color-scheme: light only;
    background: #fff8e1;
    border-top: 1px solid #f0c040;
    bottom: 0;
    box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    color: #7a5c00;
}

    #blazor-error-ui .dismiss[b-r3ydffkn4f] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
        color: #7a5c00;
        font-size: 1rem;
    }

/* ── RESPONSIVE ──────────────────────────────────────────── */

@media (max-width: 767px) {
    .app-shell[b-r3ydffkn4f] {
        flex-direction: column;
    }

    .app-sidebar[b-r3ydffkn4f] {
        width: 100%;
    }

    .app-main[b-r3ydffkn4f] {
        padding: 1.25rem;
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* ── SIDEBAR NAV ─────────────────────────────────────────── */

.sidebar-nav[b-qv81408xtr] {
    font-family: 'DM Sans', sans-serif;
    background: #ffffff;
    border-right: 1px solid #e2e8f4;
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: sticky;
    top: 0;
    box-shadow: 1px 0 4px rgba(26, 34, 54, 0.04);
    overflow: hidden;
}

/* ── BRAND ───────────────────────────────────────────────── */

.sidebar-brand[b-qv81408xtr] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e8eef8;
    background: #fafbfd;
    flex-shrink: 0;
}

.sidebar-brand-icon[b-qv81408xtr] {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.sidebar-brand-text[b-qv81408xtr] {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.sidebar-brand-name[b-qv81408xtr] {
    font-size: 1rem;
    font-weight: 600;
    color: #1a2236;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.sidebar-brand-sub[b-qv81408xtr] {
    font-size: 0.72rem;
    color: #6b7a99;
    font-weight: 400;
}

/* ── MOBILE TOGGLE ───────────────────────────────────────── */

.nav-toggle-input[b-qv81408xtr] {
    display: none;
}

.nav-toggle-label[b-qv81408xtr] {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.75rem 1.5rem;
    flex-shrink: 0;
}

    .nav-toggle-label span[b-qv81408xtr] {
        display: block;
        width: 22px;
        height: 2px;
        background: #4b6aaa;
        border-radius: 2px;
        transition: background 0.15s;
    }

    .nav-toggle-label:hover span[b-qv81408xtr] {
        background: #2563eb;
    }

/* ── LINKS CONTAINER ─────────────────────────────────────── */

.sidebar-links[b-qv81408xtr] {
    padding: 1rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    overflow-y: auto;
    flex: 1;
}

/* ── SECTION LABEL ───────────────────────────────────────── */

.sidebar-section-label[b-qv81408xtr] {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #b0bdd4;
    margin: 0 0 0.5rem 0.5rem;
}

/* ── NAV LINKS ───────────────────────────────────────────── */

.sidebar-link[b-qv81408xtr] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.75rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #4b6aaa;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    border: none;
    background: none;
    width: 100%;
    box-sizing: border-box;
}

    .sidebar-link:hover[b-qv81408xtr] {
        background: #f0f4ff;
        color: #2563eb;
        text-decoration: none;
    }

    .sidebar-link.active[b-qv81408xtr] {
        background: #eef2ff;
        color: #2563eb;
        font-weight: 600;
    }

        .sidebar-link.active .sidebar-icon[b-qv81408xtr] {
            color: #2563eb;
        }

.sidebar-link--danger[b-qv81408xtr] {
    color: #dc2626;
}

    .sidebar-link--danger:hover[b-qv81408xtr] {
        background: #fff0f0;
        color: #b91c1c;
    }

/* ── ICON ────────────────────────────────────────────────── */

.sidebar-icon[b-qv81408xtr] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: currentColor;
    opacity: 0.8;
}

/* ── DIVIDER ─────────────────────────────────────────────── */

.sidebar-divider[b-qv81408xtr] {
    height: 1px;
    background: #e8eef8;
    margin: 0.5rem 0;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */

@media (max-width: 767px) {
    .sidebar-nav[b-qv81408xtr] {
        height: auto;
        position: relative;
        border-right: none;
        border-bottom: 1px solid #e2e8f4;
    }

    .nav-toggle-label[b-qv81408xtr] {
        display: flex;
    }

    .sidebar-links[b-qv81408xtr] {
        display: none;
        padding: 0.5rem 0.75rem 1rem;
    }

    .sidebar-section-label[b-qv81408xtr] {
        display: none;
    }

    .nav-toggle-input:checked ~ .sidebar-links[b-qv81408xtr] {
        display: flex;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-xtwkdykojm],
.components-reconnect-repeated-attempt-visible[b-xtwkdykojm],
.components-reconnect-failed-visible[b-xtwkdykojm],
.components-pause-visible[b-xtwkdykojm],
.components-resume-failed-visible[b-xtwkdykojm],
.components-rejoining-animation[b-xtwkdykojm] {
    display: none;
}

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


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

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

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