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

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

#components-reconnect-modal[b-j3y6l00710] {
    width: min(420px, calc(100% - 28px));
    margin: 20vh auto;
    padding: 30px;
    border: 1px solid var(--wo-color-border, #cee8e0);
    border-radius: 24px;
    background: var(--wo-color-surface, white);
    color: var(--wo-color-ink, #0d1c17);
    box-shadow: 0 24px 80px rgba(13, 28, 23, .22);
    opacity: 0;
    transition: display .24s allow-discrete, overlay .24s allow-discrete;
    animation: reconnect-fade-out-b-j3y6l00710 .24s both;
}

#components-reconnect-modal[open][b-j3y6l00710] {
    animation: reconnect-slide-up-b-j3y6l00710 .32s cubic-bezier(.2, .8, .2, 1), reconnect-fade-in-b-j3y6l00710 .2s ease-out;
    animation-fill-mode: both;
}

#components-reconnect-modal[b-j3y6l00710]::backdrop {
    background: rgba(7, 18, 15, .58);
    backdrop-filter: blur(5px);
    animation: reconnect-fade-in-b-j3y6l00710 .2s ease-out;
}

.components-reconnect-container[b-j3y6l00710] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.reconnect-logo[b-j3y6l00710] {
    width: 48px;
    height: 48px;
    border-radius: 15px;
}

#components-reconnect-modal h2[b-j3y6l00710] {
    margin: 3px 0 0;
    font-size: 22px;
    text-align: center;
}

#components-reconnect-modal p[b-j3y6l00710] {
    margin: 0;
    color: var(--wo-color-muted, #5c7068);
    line-height: 1.5;
    text-align: center;
}

#components-reconnect-modal button[b-j3y6l00710] {
    min-height: 44px;
    margin-top: 4px;
    padding: 10px 18px;
    border: 0;
    border-radius: 14px;
    background: var(--wo-color-accent, #0bda95);
    color: var(--wo-color-on-accent, #0d1c17);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

#components-reconnect-modal button:hover[b-j3y6l00710] { background: #19e2a0; }
#components-reconnect-modal button:focus-visible[b-j3y6l00710] { outline: 3px solid rgba(8, 122, 88, .3); outline-offset: 3px; }

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

.components-rejoining-animation div[b-j3y6l00710] {
    position: absolute;
    inset: 0;
    border: 3px solid var(--wo-color-border, #cee8e0);
    border-top-color: var(--wo-color-accent-strong, #087a58);
    border-radius: 50%;
    animation: reconnect-spin-b-j3y6l00710 .8s linear infinite;
}

.components-rejoining-animation div:nth-child(2)[b-j3y6l00710] { display: none; }

@keyframes reconnect-spin-b-j3y6l00710 { to { transform: rotate(360deg); } }
@keyframes reconnect-slide-up-b-j3y6l00710 { from { transform: translateY(18px) scale(.98); } to { transform: translateY(0) scale(1); } }
@keyframes reconnect-fade-in-b-j3y6l00710 { from { opacity: 0; } to { opacity: 1; } }
@keyframes reconnect-fade-out-b-j3y6l00710 { from { opacity: 1; } to { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
    #components-reconnect-modal[b-j3y6l00710],
    #components-reconnect-modal[open][b-j3y6l00710],
    #components-reconnect-modal[b-j3y6l00710]::backdrop { animation-duration: .01ms; }
    .components-rejoining-animation div[b-j3y6l00710] { animation-duration: 1.4s; }
}
