@import '_content/ZauberCMS.Components/ZauberCMS.Components.fyqnhejswb.bundle.scp.css';

/* /Layouts/MainLayout.razor.rz.scp.css */
/* Scoped strictly to MainLayout's #blazor-error-ui banner (no ::deep or global selectors). */
#blazor-error-ui[b-liev4tj1ur] {
    background: #1f1f1f;
    color: #e5e7eb;
    border-top: 3px solid #974444;
    bottom: 0;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.45);
    display: none;
    left: 0;
    padding: 0.75rem 2.75rem 0.75rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    font-size: 0.9rem;
}

#blazor-error-ui .reload[b-liev4tj1ur] {
    color: #f87171;
    margin-left: 0.5rem;
    text-decoration: underline;
    font-weight: 600;
}

#blazor-error-ui .reload:hover[b-liev4tj1ur] {
    color: #ffffff;
    text-decoration: none;
}

#blazor-error-ui .dismiss[b-liev4tj1ur] {
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 0.65rem;
    color: #a3a3a3;
}

#blazor-error-ui .dismiss:hover[b-liev4tj1ur] {
    color: #ffffff;
}
/* /Layouts/ReconnectModal.razor.rz.scp.css */
/* Scoped front-end reconnection modal styled for Team Pegasus (dark charcoal + #974444).
   All rules stay strictly scoped to this component (no ::deep, body, a, or :root overrides)
   and @keyframes use unique pegasus-reconnect-* names so nothing can collide in /admin. */
.components-reconnect-first-attempt-visible[b-hkyjkxg2qz],
.components-reconnect-repeated-attempt-visible[b-hkyjkxg2qz],
.components-reconnect-failed-visible[b-hkyjkxg2qz],
.components-pause-visible[b-hkyjkxg2qz],
.components-resume-failed-visible[b-hkyjkxg2qz],
.components-rejoining-animation[b-hkyjkxg2qz] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show:not(.components-reconnect-retrying):not(.components-reconnect-failed):not(.components-reconnect-paused):not(.components-reconnect-resume-failed) .components-reconnect-first-attempt-visible[b-hkyjkxg2qz],
#components-reconnect-modal.components-reconnect-show:not(.components-reconnect-failed):not(.components-reconnect-paused):not(.components-reconnect-resume-failed) .components-rejoining-animation[b-hkyjkxg2qz],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-hkyjkxg2qz],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-hkyjkxg2qz],
#components-reconnect-modal.components-reconnect-retrying[b-hkyjkxg2qz],
#components-reconnect-modal.components-reconnect-retrying:not(.components-reconnect-failed) .components-reconnect-repeated-attempt-visible[b-hkyjkxg2qz],
#components-reconnect-modal.components-reconnect-retrying:not(.components-reconnect-failed) .components-rejoining-animation[b-hkyjkxg2qz],
#components-reconnect-modal.components-reconnect-failed[b-hkyjkxg2qz],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-hkyjkxg2qz] {
    display: block;
}

#components-reconnect-modal[b-hkyjkxg2qz] {
    background-color: #2d2d2d;
    color: #e5e7eb;
    width: 22rem;
    max-width: calc(100vw - 2rem);
    margin: 20vh auto;
    padding: 2rem;
    border: 1px solid #525252;
    border-top: 4px solid #974444;
    border-radius: 0.375rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
    opacity: 0;
    transition: display 0.4s allow-discrete, overlay 0.4s allow-discrete;
    animation: pegasus-reconnect-fadeOut-b-hkyjkxg2qz 0.4s both;
    &[open] {
        animation: pegasus-reconnect-slideUp-b-hkyjkxg2qz 0.6s cubic-bezier(.05, .89, .25, 1.02) 0.15s, pegasus-reconnect-fadeIn-b-hkyjkxg2qz 0.4s ease-in-out 0.15s;
        animation-fill-mode: both;
    }
}

#components-reconnect-modal[b-hkyjkxg2qz]::backdrop {
    background-color: rgba(0, 0, 0, 0.65);
    animation: pegasus-reconnect-fadeIn-b-hkyjkxg2qz 0.4s ease-in-out;
    opacity: 1;
}

@keyframes pegasus-reconnect-slideUp-b-hkyjkxg2qz {
    0% {
        transform: translateY(20px) scale(0.96);
    }

    100% {
        transform: translateY(0) scale(1);
    }
}

@keyframes pegasus-reconnect-fadeIn-b-hkyjkxg2qz {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes pegasus-reconnect-fadeOut-b-hkyjkxg2qz {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-hkyjkxg2qz] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-hkyjkxg2qz] {
    margin: 0;
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #e5e7eb;
}

#components-reconnect-modal button[b-hkyjkxg2qz] {
    border: 0;
    background-color: #974444;
    color: #ffffff;
    min-height: 44px;
    padding: 0.5rem 1.75rem;
    border-radius: 0.25rem;
    font-family: "Bebas Neue", cursive;
    font-size: 1.25rem;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background-color 150ms ease;
}

#components-reconnect-modal button:hover[b-hkyjkxg2qz],
#components-reconnect-modal button:focus-visible[b-hkyjkxg2qz] {
    background-color: #7f1d1d;
    outline: 2px solid rgba(255, 255, 255, 0.7);
    outline-offset: 2px;
}

.components-rejoining-animation[b-hkyjkxg2qz] {
    position: relative;
    width: 72px;
    height: 72px;
}

.components-rejoining-animation div[b-hkyjkxg2qz] {
    position: absolute;
    border: 3px solid #974444;
    opacity: 1;
    border-radius: 50%;
    animation: pegasus-reconnect-ripple-b-hkyjkxg2qz 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.components-rejoining-animation div:nth-child(2)[b-hkyjkxg2qz] {
    animation-delay: -0.5s;
}

@keyframes pegasus-reconnect-ripple-b-hkyjkxg2qz {
    0% {
        top: 36px;
        left: 36px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 36px;
        left: 36px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 36px;
        left: 36px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0;
        left: 0;
        width: 72px;
        height: 72px;
        opacity: 0;
    }
}
