#components-reconnect-modal.mbs-reconnect-shell {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(2, 8, 23, 0.48);
    backdrop-filter: blur(6px);
    z-index: 4000;
}

#components-reconnect-modal.components-reconnect-hide {
    display: none !important;
}

#components-reconnect-modal .mbs-reconnect-card {
    width: min(100%, 28rem);
    border-radius: 1.25rem;
    padding: 2rem 1.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(37, 99, 235, 0.15);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.24);
    text-align: center;
}

#components-reconnect-modal .mbs-reconnect-spinner {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    border-radius: 999px;
    border: 4px solid rgba(37, 99, 235, 0.18);
    border-top-color: #2563eb;
    animation: mbsReconnectSpin 1s linear infinite;
}

#components-reconnect-modal .mbs-reconnect-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.01em;
    margin-bottom: 0.5rem;
}

#components-reconnect-modal .mbs-reconnect-copy {
    color: #334155;
    line-height: 1.6;
    font-size: 0.96rem;
}

#components-reconnect-modal .mbs-reconnect-copy--muted {
    margin-top: 0.45rem;
    color: #64748b;
    font-size: 0.91rem;
}

#components-reconnect-modal .mbs-reconnect-actions {
    margin-top: 1.25rem;
}

#components-reconnect-modal .mbs-reconnect-button {
    appearance: none;
    border: 0;
    border-radius: 0.9rem;
    padding: 0.8rem 1.15rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.24);
    cursor: pointer;
}

#components-reconnect-modal .mbs-reconnect-button:hover {
    filter: brightness(1.03);
}

@keyframes mbsReconnectSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
