/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-q6j3c4sgkn],
.components-reconnect-repeated-attempt-visible[b-q6j3c4sgkn],
.components-reconnect-failed-visible[b-q6j3c4sgkn],
.components-pause-visible[b-q6j3c4sgkn],
.components-resume-failed-visible[b-q6j3c4sgkn],
.components-rejoining-animation[b-q6j3c4sgkn] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-q6j3c4sgkn],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-q6j3c4sgkn],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-q6j3c4sgkn],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-q6j3c4sgkn],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-q6j3c4sgkn],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-q6j3c4sgkn],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-q6j3c4sgkn] {
    display: inline-flex;
}

#components-reconnect-modal[b-q6j3c4sgkn] {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 2147483647;
    width: min(360px, calc(100vw - 28px));
    margin: 0;
    border: 1px solid #dbe3ef;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.94);
    color: #fff;
    padding: 9px 10px 9px 12px;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.24);
}

#components-reconnect-modal[b-q6j3c4sgkn]::backdrop {
    display: none;
    background: transparent;
}

.components-reconnect-container[b-q6j3c4sgkn] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
}

#components-reconnect-modal p[b-q6j3c4sgkn] {
    min-width: 0;
    margin: 0;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
}

#components-reconnect-modal button[b-q6j3c4sgkn] {
    min-height: 30px;
    flex: 0 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    padding: 0 11px;
    font: 900 12px/1 var(--app-font-family, "Segoe UI", system-ui, sans-serif);
    cursor: pointer;
}

#components-reconnect-modal button:hover[b-q6j3c4sgkn] {
    background: rgba(255, 255, 255, 0.2);
}

.components-rejoining-animation[b-q6j3c4sgkn] {
    position: relative;
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
}

.components-rejoining-animation div[b-q6j3c4sgkn] {
    position: absolute;
    inset: 0;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-top-color: transparent;
    border-radius: 999px;
    animation: components-rejoining-animation-b-q6j3c4sgkn 0.9s linear infinite;
}

.components-rejoining-animation div:nth-child(2)[b-q6j3c4sgkn] {
    display: none;
}

@keyframes components-rejoining-animation-b-q6j3c4sgkn {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 620px) {
    #components-reconnect-modal[b-q6j3c4sgkn] {
        right: 10px;
        bottom: max(10px, env(safe-area-inset-bottom));
        width: calc(100vw - 20px);
        border-radius: 12px;
    }

    .components-reconnect-container[b-q6j3c4sgkn] {
        align-items: center;
    }
}
