/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-jv8sp5bqzw] {
    display: flex;
    min-height: 100vh;
    background: #f8fafc;
}

.sidebar[b-jv8sp5bqzw] {
    background: #0a0f19;
    flex-shrink: 0;
    box-shadow: 1px 0 0 rgba(255,255,255,0.04);
    display: flex;
    flex-direction: column;
}

.main[b-jv8sp5bqzw] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0; /* laat lange tabellen correct scrollen */
}

.content[b-jv8sp5bqzw] {
    flex: 1;
}

.site-footer[b-jv8sp5bqzw] {
    padding: 1.25rem 1.5rem;
    font-size: 0.825rem;
    color: #94a3b8;
    text-align: center;
    border-top: 1px solid #e2e8f0;
    background: #fff;
}

.site-footer-sep[b-jv8sp5bqzw] {
    margin: 0 0.5rem;
    color: #cbd5e1;
}

.site-footer[b-jv8sp5bqzw]  a {
    color: #475569;
}

.site-footer[b-jv8sp5bqzw]  a:hover {
    color: #0f172a;
    text-decoration: none;
}

@media (max-width: 767.98px) {
    .page[b-jv8sp5bqzw] {
        flex-direction: column;
    }

    .sidebar[b-jv8sp5bqzw] {
        position: sticky;
        top: 0;
        z-index: 1020;
        width: 100%;
    }
}

@media (min-width: 768px) {
    .sidebar[b-jv8sp5bqzw] {
        width: 248px;
        min-height: 100vh;
        position: sticky;
        top: 0;
    }
}

#blazor-error-ui[b-jv8sp5bqzw] {
    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-jv8sp5bqzw] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* ============================================================
   NavMenu - modern dark sidebar
   ============================================================ */

/* ---------- Header met logo ---------- */
.sidebar-header[b-zucfdd5lbw] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 1.25rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.brand[b-zucfdd5lbw] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #fff;
    min-width: 0;
    flex: 1;
}

.brand:hover[b-zucfdd5lbw] {
    color: #fff;
    text-decoration: none;
}

.brand-logo[b-zucfdd5lbw] {
    max-width: 180px;
    max-height: 52px;
    width: auto;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

/* Tekst-fallback voor als er (nog) geen logo.png is.
   display:flex wordt door de onerror-handler gezet. */
.brand-fallback[b-zucfdd5lbw] {
    display: none;
    align-items: center;
    gap: 0.625rem;
    flex-shrink: 0;
}

.brand-fallback-mark[b-zucfdd5lbw] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #39ff14;
    color: #000;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 0.02em;
    font-family: 'Inter', sans-serif;
}

.brand-fallback-name[b-zucfdd5lbw] {
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.01em;
}

/* ---------- Hamburger op mobiel ---------- */
.nav-toggle-btn[b-zucfdd5lbw] {
    display: none;
    cursor: pointer;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    transition: background 0.15s ease;
    flex-shrink: 0;
}

.nav-toggle-btn:hover[b-zucfdd5lbw] {
    background: rgba(255, 255, 255, 0.08);
}

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

/* ---------- Navigatie links ---------- */
.sidebar-nav[b-zucfdd5lbw] {
    padding: 0.5rem 0.5rem;
}

.nav-group-label[b-zucfdd5lbw] {
    font-size: 0.7rem;
    color: #6b7280;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 1rem 0.75rem 0.375rem;
    font-weight: 600;
}

.sidebar-nav[b-zucfdd5lbw]  .nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    margin: 0.125rem 0;
    border-radius: 8px;
    color: #cbd5e1;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.1s ease, color 0.1s ease;
    line-height: 1.4;
}

.sidebar-nav[b-zucfdd5lbw]  .nav-link i.bi {
    font-size: 1.05rem;
    width: 1.05rem;
    color: #94a3b8;
    flex-shrink: 0;
    transition: color 0.1s ease;
}

.sidebar-nav[b-zucfdd5lbw]  .nav-link:hover {
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
}

.sidebar-nav[b-zucfdd5lbw]  .nav-link:hover i.bi {
    color: #cbd5e1;
}

.sidebar-nav[b-zucfdd5lbw]  .nav-link.active {
    background: rgba(57, 255, 20, 0.1);
    color: #fff;
    font-weight: 600;
}

.sidebar-nav[b-zucfdd5lbw]  .nav-link.active i.bi {
    color: #39ff14;
}

/* ---------- Sidebar footer (user chip + logout) ---------- */
.sidebar-footer[b-zucfdd5lbw] {
    padding: 0.875rem 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #0a0f19;
}

.user-chip[b-zucfdd5lbw] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.375rem 0.5rem;
    border-radius: 8px;
    color: #cbd5e1;
    text-decoration: none;
    flex: 1;
    min-width: 0;
    transition: background 0.1s ease;
}

.user-chip:hover[b-zucfdd5lbw] {
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    text-decoration: none;
}

.user-avatar[b-zucfdd5lbw] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #39ff14, #2dd90a);
    color: #0a0f19;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.user-name[b-zucfdd5lbw] {
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.logout-btn[b-zucfdd5lbw] {
    background: none;
    border: none;
    color: #94a3b8;
    padding: 0.375rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logout-btn:hover[b-zucfdd5lbw] {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
}

.logout-btn i.bi[b-zucfdd5lbw] {
    font-size: 1rem;
}

.login-link[b-zucfdd5lbw] {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    color: #39ff14;
    font-weight: 500;
    text-decoration: none;
    font-size: 0.9rem;
    flex: 1;
    transition: background 0.1s ease;
}

.login-link:hover[b-zucfdd5lbw] {
    background: rgba(57, 255, 20, 0.1);
    color: #39ff14;
    text-decoration: none;
}

/* ============================================================
   Mobiel: hamburger + inklapbaar menu
   ============================================================ */

@media (max-width: 767.98px) {
    .nav-toggle-btn[b-zucfdd5lbw] {
        display: flex;
    }

    .brand-logo[b-zucfdd5lbw] {
        max-height: 44px;
        max-width: 160px;
    }

    .sidebar-nav[b-zucfdd5lbw],
    .sidebar-footer[b-zucfdd5lbw] {
        display: none;
    }

    .nav-toggle-input:checked ~ .sidebar-nav[b-zucfdd5lbw],
    .nav-toggle-input:checked ~ .sidebar-footer[b-zucfdd5lbw] {
        display: block;
    }

    .nav-toggle-input:checked ~ .sidebar-footer[b-zucfdd5lbw] {
        display: flex;
    }
}

/* Desktop: scrollbaar sidebar */
@media (min-width: 768px) {
    .sidebar-nav[b-zucfdd5lbw] {
        overflow-y: auto;
        flex: 1;
    }

    .sidebar-nav[b-zucfdd5lbw]::-webkit-scrollbar {
        width: 4px;
    }

    .sidebar-nav[b-zucfdd5lbw]::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 2px;
    }
}

/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-8dqx7lufod],
.components-reconnect-repeated-attempt-visible[b-8dqx7lufod],
.components-reconnect-failed-visible[b-8dqx7lufod],
.components-pause-visible[b-8dqx7lufod],
.components-resume-failed-visible[b-8dqx7lufod],
.components-rejoining-animation[b-8dqx7lufod] {
    display: none;
}

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


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

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

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