/* Reconnect modal styling */
.my-reconnect-modal > div {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10000;
    display: none;
    overflow: hidden;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
}

.my-reconnect-modal > div > div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 2rem 3rem;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.my-reconnect-modal > div > div > p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #475569;
    margin-bottom: 1rem;
}

.components-reconnect-show > .show {
    display: block !important;
}

.components-reconnect-failed > .failed,
.components-reconnect-rejected > .rejected {
    display: block !important;
    cursor: pointer;
}

/* Wave animation */
.sk-wave {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 4px;
    height: 30px;
}

.sk-wave-rect {
    width: 4px;
    height: 100%;
    background-color: #2563eb;
    border-radius: 2px;
    animation: sk-wave 1.2s infinite ease-in-out;
}

.sk-wave-rect:nth-child(1) { animation-delay: -1.2s; }
.sk-wave-rect:nth-child(2) { animation-delay: -1.1s; }
.sk-wave-rect:nth-child(3) { animation-delay: -1.0s; }
.sk-wave-rect:nth-child(4) { animation-delay: -0.9s; }
.sk-wave-rect:nth-child(5) { animation-delay: -0.8s; }

@keyframes sk-wave {
    0%, 40%, 100% { transform: scaleY(0.4); }
    20% { transform: scaleY(1); }
}
