/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page-wrapper[b-2monspcnll] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- Navbar --- */
.zp-navbar[b-2monspcnll] {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 200, 220, 0.15);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    transition: background 0.3s ease;
}

.brand-text[b-2monspcnll] {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #ffffff;
}

/* --- Nav Toggle (Hamburger → X) --- */

.zp-nav-toggle[b-2monspcnll] {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 0;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.375rem;
    cursor: pointer;
    z-index: 1060;
}

@media (max-width: 991.98px) {
    .zp-nav-toggle[b-2monspcnll] {
        display: flex;
    }
}

.zp-toggle-bar[b-2monspcnll] {
    display: block;
    width: 20px;
    height: 2px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

.zp-nav-toggle.open .zp-toggle-bar:nth-child(1)[b-2monspcnll] {
    transform: translateY(7px) rotate(45deg);
}

.zp-nav-toggle.open .zp-toggle-bar:nth-child(2)[b-2monspcnll] {
    opacity: 0;
    transform: scaleX(0);
}

.zp-nav-toggle.open .zp-toggle-bar:nth-child(3)[b-2monspcnll] {
    transform: translateY(-7px) rotate(-45deg);
}

.brand-ampersand[b-2monspcnll] {
    color: #00d4ff;
}

[b-2monspcnll] .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s ease;
    position: relative;
}

[b-2monspcnll] .nav-link:hover,
[b-2monspcnll] .nav-link:focus {
    color: #00d4ff !important;
}

[b-2monspcnll] .nav-link.active {
    color: #00d4ff !important;
}

[b-2monspcnll] .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, #0098b8);
    border-radius: 1px;
}

/* --- Dropdown Menu --- */

[b-2monspcnll] .zp-dropdown {
    position: relative;
}

[b-2monspcnll] .zp-dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-family: inherit;
    font-size: inherit;
}

[b-2monspcnll] .zp-chevron {
    font-size: 0.65rem;
    transition: transform 0.25s ease;
    margin-left: 0.15rem;
}

[b-2monspcnll] .zp-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 580px;
    background: rgba(10, 22, 40, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 200, 220, 0.15);
    border-radius: 0.75rem;
    padding: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 1050;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

[b-2monspcnll] .zp-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Hover-Öffnung nur auf Desktop */
@media (min-width: 992px) {
    [b-2monspcnll] .zp-dropdown:hover > .zp-dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

    [b-2monspcnll] .zp-dropdown:hover > .zp-dropdown-toggle .zp-chevron {
        transform: rotate(180deg);
    }
}

[b-2monspcnll] .zp-dropdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem;
}

[b-2monspcnll] .zp-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 0.85rem;
    border-radius: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

[b-2monspcnll] .zp-dropdown-item:hover {
    background: rgba(0, 212, 255, 0.08);
    color: #ffffff;
}

[b-2monspcnll] .zp-dropdown-item strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.1rem;
}

[b-2monspcnll] .zp-dropdown-item span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.3;
}

[b-2monspcnll] .zp-dropdown-item:hover strong {
    color: #00d4ff;
}

[b-2monspcnll] .zp-dropdown-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

[b-2monspcnll] .zp-dropdown-item:hover .zp-dropdown-icon {
    background: rgba(0, 212, 255, 0.18);
}

[b-2monspcnll] .zp-dropdown-divider {
    grid-column: 1 / -1;
    border: none;
    border-top: 1px solid rgb(255 255 255);
    margin: 0.35rem 0;
    opacity:0.5;
}

/* Mobile Navigation */
@media (max-width: 991.98px) {
    [b-2monspcnll] .zp-mobile-menu.collapse.show {
        background: rgba(10, 22, 40, 0.92);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: 0 0 1rem 1rem;
        border: 1px solid rgba(0, 200, 220, 0.1);
        border-top: none;
        margin-top: 0.5rem;
        padding: 0.5rem 0.75rem 1rem;
    }

    [b-2monspcnll] .navbar-nav {
        padding: 0;
        gap: 0;
        align-items: stretch !important;
    }

    [b-2monspcnll] .nav-link {
        padding: 0.65rem 0.75rem !important;
        text-align: left;
    }

    [b-2monspcnll] .nav-link.active::after {
        display: none;
    }

    [b-2monspcnll] .zp-mobile-section {
        padding-top: 0.75rem;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        margin-top: 0.25rem;
    }

    [b-2monspcnll] .zp-mobile-heading {
        display: block;
        padding: 0.35rem 0.75rem 0.15rem;
        font-size: 0.65rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.12em;
        color: rgba(0, 212, 255, 0.6);
    }

    [b-2monspcnll] .zp-mobile-sublink {
        padding-left: 1.5rem !important;
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.7) !important;
    }

    [b-2monspcnll] .zp-mobile-sublink:hover {
        color: #00d4ff !important;
        background: rgba(0, 212, 255, 0.05);
        border-radius: 0.4rem;
    }

    [b-2monspcnll] .zp-dropdown-menu {
        position: static;
        transform: none;
        min-width: 100%;
        background: transparent;
        border: none;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
        margin: 0;
        opacity: 0;
        visibility: hidden;
        display: none;
    }

    [b-2monspcnll] .zp-dropdown-menu.show {
        opacity: 1;
        visibility: visible;
        display: block;
        transform: none;
    }

    [b-2monspcnll] .zp-dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 0.65rem 0.75rem !important;
    }

    [b-2monspcnll] .zp-dropdown {
        position: static;
    }
}

/* --- Main Content --- */
.main-content[b-2monspcnll] {
    flex: 1;
    padding-top: 74px;
}

/* --- Footer --- */
.zp-footer[b-2monspcnll] {
    background: #070e1a;
    color: rgba(255, 255, 255, 0.7);
    padding: 3rem 0 1.5rem;
    margin-top: auto;
}

.footer-brand[b-2monspcnll] {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
}

.footer-description[b-2monspcnll] {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.55);
}

.footer-heading[b-2monspcnll] {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #00d4ff;
    margin-bottom: 1rem;
}

.footer-links li[b-2monspcnll] {
    margin-bottom: 0.5rem;
}

.footer-links a[b-2monspcnll] {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-links a:hover[b-2monspcnll] {
    color: #00d4ff;
}

.footer-divider[b-2monspcnll] {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0 1rem;
}

.footer-copy[b-2monspcnll] {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0;
}

/* --- Error UI --- */
#blazor-error-ui[b-2monspcnll] {
    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-2monspcnll] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
/* --- Visibility states (framework-driven) --- */


.components-reconnect-first-attempt-visible[b-v867toh1z9],
.components-reconnect-repeated-attempt-visible[b-v867toh1z9],
.components-reconnect-failed-visible[b-v867toh1z9],
.components-pause-visible[b-v867toh1z9],
.components-resume-failed-visible[b-v867toh1z9] {
    display: none;
}

/* --- Loading fallback visible only if no reconnect state is active --- */
.components-reconnect-loading-visible[b-v867toh1z9] {
    display: none;
    text-align: center;
    color: rgba(255,255,255,0.45);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-top: 0.5rem;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-v867toh1z9],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-v867toh1z9],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-v867toh1z9],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-v867toh1z9],
#components-reconnect-modal.components-reconnect-retrying[b-v867toh1z9],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-v867toh1z9],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-v867toh1z9],
#components-reconnect-modal.components-reconnect-failed[b-v867toh1z9],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-v867toh1z9] {
    display: block;
}
}
#components-reconnect-modal[open]:not(.components-reconnect-show):not(.components-reconnect-retrying):not(.components-reconnect-failed):not(.components-reconnect-paused):not(.components-reconnect-resume-failed) .components-reconnect-loading-visible[b-v867toh1z9] {
    display: block;
}

/* --- Dialog --- */

#components-reconnect-modal[b-v867toh1z9] {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 212, 255, 0.1);
    outline: none;
    width: 20rem;
    max-width: 90vw;
    margin: 25vh auto;
    padding: 2rem 1.75rem;
    border-radius: 0.75rem;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: zp-modal-fadeOut-b-v867toh1z9 0.4s both;
}

#components-reconnect-modal[open][b-v867toh1z9] {
    animation:
        zp-modal-slideUp-b-v867toh1z9 0.6s cubic-bezier(.05, .89, .25, 1.02),
        zp-modal-fadeIn-b-v867toh1z9 0.4s ease-out;
    animation-fill-mode: both;
}

/* --- Backdrop --- */

#components-reconnect-modal[b-v867toh1z9]::backdrop {
    background: rgba(10, 22, 40, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: zp-modal-fadeIn-b-v867toh1z9 0.4s ease-out;
    opacity: 1;
}

/* --- Content layout --- */

.components-reconnect-container[b-v867toh1z9] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-v867toh1z9] {
    margin: 0;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.02em;
}

/* --- Buttons --- */

#components-reconnect-modal button[b-v867toh1z9] {
    border: 1px solid rgba(0, 212, 255, 0.3);
    background: transparent;
    color: #00d4ff;
    padding: 0.45rem 1.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 0.4rem;
    cursor: pointer;
    letter-spacing: 0.03em;
    transition: background 0.2s ease, border-color 0.2s ease;
}

#components-reconnect-modal button:hover[b-v867toh1z9] {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.5);
}

#components-reconnect-modal button:active[b-v867toh1z9] {
    background: rgba(0, 212, 255, 0.15);
}

/* --- Light-streak loader --- */

.components-rejoining-animation[b-v867toh1z9] {
    position: relative;
    height: 2px;
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 1px;
    overflow: hidden;
}

.zp-loader-overlay[b-v867toh1z9] {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        87deg,
        rgba(10, 22, 40, 1) 0%,
        rgba(10, 22, 40, 0.1) 30%,
        rgba(10, 22, 40, 0.1) 70%,
        rgba(10, 22, 40, 1) 100%
    );
}

.zp-loader-light[b-v867toh1z9] {
    width: 70px;
    height: 100%;
    position: absolute;
    left: -30%;
    top: 0;
    background: linear-gradient(
        87deg,
        rgba(0, 212, 255, 0) 0%,
        rgba(0, 212, 255, 0.8) 40%,
        rgba(0, 212, 255, 0.8) 60%,
        rgba(0, 212, 255, 0) 100%
    );
    animation: zp-light-sweep-b-v867toh1z9 2s infinite ease-in-out;
}

/* --- Animated dots --- */

.zp-dots span[b-v867toh1z9] {
    animation: zp-dot-blink-b-v867toh1z9 1.4s infinite both;
}

.zp-dots span:nth-child(2)[b-v867toh1z9] {
    animation-delay: 0.2s;
}

.zp-dots span:nth-child(3)[b-v867toh1z9] {
    animation-delay: 0.4s;
}

/* --- Keyframes --- */

@keyframes zp-light-sweep-b-v867toh1z9 {
    from { left: -30%; }
    to { left: 100%; }
}

@keyframes zp-dot-blink-b-v867toh1z9 {
    0%, 20% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes zp-modal-slideUp-b-v867toh1z9 {
    from { transform: translateY(20px) scale(0.97); }
    to { transform: translateY(0) scale(1); }
}

@keyframes zp-modal-fadeIn-b-v867toh1z9 {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zp-modal-fadeOut-b-v867toh1z9 {
    from { opacity: 1; }
    to { opacity: 0; }
}
