/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-6vtot5la5t],
.components-reconnect-repeated-attempt-visible[b-6vtot5la5t],
.components-reconnect-failed-visible[b-6vtot5la5t],
.components-pause-visible[b-6vtot5la5t],
.components-resume-failed-visible[b-6vtot5la5t],
.components-rejoining-animation[b-6vtot5la5t] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-6vtot5la5t],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-6vtot5la5t],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-6vtot5la5t],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-6vtot5la5t],
#components-reconnect-modal.components-reconnect-retrying[b-6vtot5la5t],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-6vtot5la5t],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-6vtot5la5t],
#components-reconnect-modal.components-reconnect-failed[b-6vtot5la5t],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-6vtot5la5t] {
    display: block;
}

#components-reconnect-modal[b-6vtot5la5t] {
    width: min(90vw, 26rem);
    margin: 18vh auto;
    padding: 0;
    border: 1px solid #324563;
    border-top: 2px solid #3b82f6;
    border-radius: 5px;
    background: #101a2d;
    color: #f2f5fb;
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.52);
    opacity: 0;
}

#components-reconnect-modal[open][b-6vtot5la5t] {
    animation: components-reconnect-enter-b-6vtot5la5t 180ms ease-out both;
}

#components-reconnect-modal[b-6vtot5la5t]::backdrop {
    background: rgba(3, 6, 13, 0.72);
}

.components-reconnect-container[b-6vtot5la5t] {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.8rem;
    text-align: center;
}

.components-reconnect-title[b-6vtot5la5t] {
    margin: 0;
    color: #f2f5fb;
    font-family: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
}

#components-reconnect-modal p:not(.components-reconnect-title)[b-6vtot5la5t] {
    margin: 0;
    color: #9aa9c0;
    font-family: "JetBrains Mono", "Cascadia Mono", Consolas, monospace;
    font-size: 0.72rem;
    line-height: 1.55;
}

#components-reconnect-modal button[b-6vtot5la5t] {
    min-height: 2.45rem;
    margin-top: 0.35rem;
    padding: 0.55rem 1rem;
    border: 1px solid #4a6590;
    border-radius: 3px;
    background: #17243b;
    color: #f2f5fb;
    font-family: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
    font-weight: 600;
    cursor: pointer;
}

#components-reconnect-modal button:hover[b-6vtot5la5t] {
    border-color: #3b82f6;
    background: #1b2d49;
}

#components-reconnect-modal button:focus-visible[b-6vtot5la5t] {
    outline: 2px solid #70a5ff;
    outline-offset: 3px;
}

.components-rejoining-animation[b-6vtot5la5t] {
    position: relative;
    width: 3.2rem;
    height: 3.2rem;
}

.components-rejoining-animation div[b-6vtot5la5t] {
    position: absolute;
    inset: 0;
    border: 2px solid #3b82f6;
    border-radius: 50%;
    animation: components-rejoining-ring-b-6vtot5la5t 1.45s ease-out infinite;
    opacity: 0;
}

.components-rejoining-animation div:nth-child(2)[b-6vtot5la5t] {
    animation-delay: 0.48s;
}

@keyframes components-reconnect-enter-b-6vtot5la5t {
    from { opacity: 0; transform: translateY(0.6rem); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes components-rejoining-ring-b-6vtot5la5t {
    0% { opacity: 0.8; transform: scale(0.2); }
    100% { opacity: 0; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    #components-reconnect-modal[open][b-6vtot5la5t],
    .components-rejoining-animation div[b-6vtot5la5t] {
        animation-duration: 0.01ms;
        animation-iteration-count: 1;
    }
}
