/* Estilos para el modal de reconexión */
.components-reconnect-hide {
    display: none !important;
}

.components-reconnect-show {
    display: block !important;
}

.components-reconnect-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
}

.components-reconnect-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    max-width: 400px;
    width: 90%;
}

.components-reconnect-content {
    padding: 2rem;
    text-align: center;
}

.components-reconnect-icon {
    color: #6366f1;
    margin-bottom: 1rem;
    animation: spin 2s linear infinite;
}

.components-reconnect-title {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #374151;
}

.components-reconnect-message {
    margin: 0 0 1.5rem 0;
    color: #6b7280;
    font-size: 0.9rem;
}

.components-reconnect-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid #e5e7eb;
    border-top: 3px solid #6366f1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem auto;
}

.components-reconnect-button {
    background-color: #6366f1;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.components-reconnect-button:hover {
    background-color: #5856eb;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Estilos responsivos */
@media (max-width: 480px) {
    .components-reconnect-content {
        padding: 1.5rem;
    }
    
    .components-reconnect-title {
        font-size: 1.1rem;
    }
}