/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-uobt9r9uoi],
.components-reconnect-repeated-attempt-visible[b-uobt9r9uoi],
.components-reconnect-failed-visible[b-uobt9r9uoi],
.components-pause-visible[b-uobt9r9uoi],
.components-resume-failed-visible[b-uobt9r9uoi],
.components-rejoining-animation[b-uobt9r9uoi] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-uobt9r9uoi],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-uobt9r9uoi],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-uobt9r9uoi],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-uobt9r9uoi],
#components-reconnect-modal.components-reconnect-retrying[b-uobt9r9uoi],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-uobt9r9uoi],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-uobt9r9uoi],
#components-reconnect-modal.components-reconnect-failed[b-uobt9r9uoi],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-uobt9r9uoi] {
    display: block;
}

#components-reconnect-modal[b-uobt9r9uoi] {
    width: min(92vw, 26rem);
    margin: 18vh auto;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    box-shadow: none;
    color: #212123;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    opacity: 0;
    outline: none;
    animation: components-reconnect-modal-fadeOutOpacity-b-uobt9r9uoi 0.2s both;
    transition: display 0.2s allow-discrete, overlay 0.2s allow-discrete;
}

#components-reconnect-modal:focus[b-uobt9r9uoi],
#components-reconnect-modal:focus-visible[b-uobt9r9uoi] {
    outline: none;
}

#components-reconnect-modal[open][b-uobt9r9uoi] {
    animation: components-reconnect-modal-slideUp-b-uobt9r9uoi 0.2s cubic-bezier(0.16, 1, 0.3, 1), components-reconnect-modal-fadeInOpacity-b-uobt9r9uoi 0.2s ease-out;
    animation-fill-mode: both;
}

#components-reconnect-modal[b-uobt9r9uoi]::backdrop {
    background:
        linear-gradient(rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.62)),
        rgba(33, 33, 35, 0.86);
    animation: components-reconnect-modal-fadeInOpacity-b-uobt9r9uoi 0.2s ease-out;
    opacity: 1;
}

.components-reconnect-card[b-uobt9r9uoi] {
    overflow: hidden;
    border: 1px solid #E8E8E8;
    border-radius: 8px;
    background: #FFFFFF;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3);
}

.components-reconnect-card[b-uobt9r9uoi]::before {
    display: block;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2563EB, #06B6D4);
    content: "";
}

.components-reconnect-header[b-uobt9r9uoi] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 3.5rem;
    padding: 0.85rem 1.25rem;
    background: #0F172A;
    color: #FFFFFF;
}

.components-reconnect-brand[b-uobt9r9uoi] {
    color: #FFFFFF;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    display: inline-flex;
    align-items: center;
}

.components-reconnect-status[b-uobt9r9uoi] {
    display: inline-flex;
    align-items: center;
    min-height: 1.6rem;
    padding: 0 0.7rem;
    border: 1px solid rgba(56, 189, 248, 0.45);
    background: rgba(37, 99, 235, 0.15);
    border-radius: 999px;
    color: #38BDF8;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}

.components-reconnect-container[b-uobt9r9uoi] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.95rem;
    padding: 1.8rem 1.5rem 1.7rem;
}

#components-reconnect-modal p[b-uobt9r9uoi] {
    max-width: 20rem;
    margin: 0;
    color: #0F172A;
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.5;
}

#components-reconnect-modal button[b-uobt9r9uoi] {
    min-height: 2.5rem;
    margin-top: 0.2rem;
    padding: 0 1.4rem;
    border: 0;
    border-radius: 8px;
    background: #2563EB;
    color: #FFFFFF;
    cursor: pointer;
    font: 700 0.9rem 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

#components-reconnect-modal button:hover[b-uobt9r9uoi] {
    background: #1D4ED8;
}

#components-reconnect-modal button:focus-visible[b-uobt9r9uoi] {
    outline: none;
    box-shadow: 0 0 0 3px #FFFFFF, 0 0 0 6px #2563EB;
}

#components-reconnect-modal button:active[b-uobt9r9uoi] {
    background: #1E40AF;
}

.components-rejoining-animation[b-uobt9r9uoi] {
    position: relative;
    width: 3.75rem;
    height: 3.75rem;
}

.components-rejoining-animation div[b-uobt9r9uoi] {
    position: absolute;
    border: 2px solid rgba(37, 99, 235, 0.35);
    border-radius: 50%;
    opacity: 1;
    animation: components-rejoining-animation-b-uobt9r9uoi 1.35s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.components-rejoining-animation div:nth-child(2)[b-uobt9r9uoi] {
    border-color: rgba(6, 182, 212, 0.35);
    animation-delay: -0.45s;
}

.components-rejoining-animation span[b-uobt9r9uoi] {
    position: absolute;
    inset: 1.18rem;
    border: 3px solid #2563EB;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.14), 0 0.4rem 1rem rgba(0, 0, 0, 0.08);
}

@keyframes components-reconnect-modal-slideUp-b-uobt9r9uoi {
    0% {
        transform: translateY(18px);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-uobt9r9uoi {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-uobt9r9uoi {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes components-rejoining-animation-b-uobt9r9uoi {
    0% {
        top: 1.875rem;
        left: 1.875rem;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 1.875rem;
        left: 1.875rem;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0;
        left: 0;
        width: 3.75rem;
        height: 3.75rem;
        opacity: 0;
    }
}

@media (max-width: 480px) {
    #components-reconnect-modal[b-uobt9r9uoi] {
        margin-top: 14vh;
    }

    .components-reconnect-header[b-uobt9r9uoi] {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.5rem;
    }
}
