@keyframes nuhro-spin {
    to {
        transform: rotate(360deg);
    }
}

.nuhro-reconnect-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.55);
    align-items: center;
    justify-content: center;
}

.nuhro-reconnect-card {
    background: var(--mud-palette-surface, #fff);
    border-radius: 12px;
    padding: 24px 28px;
    max-width: 320px;
    width: 90%;
    text-align: center;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.3);
}

.nuhro-reconnect-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.nuhro-reconnect-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.nuhro-reconnect-description {
    font-size: 0.9rem;
    opacity: 0.75;
    margin-bottom: 16px;
}

.nuhro-reconnect-spinner-wrap {
    margin-bottom: 14px;
}

.nuhro-reconnect-spinner {
    display: inline-block;
    width: 28px;
    height: 28px;
    border: 3px solid rgba(0, 0, 0, 0.15);
    border-top-color: #16a34a;
    border-radius: 50%;
    animation: nuhro-spin 0.8s linear infinite;
}

.nuhro-reconnect-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.nuhro-btn {
    border: none;
    border-radius: 8px;
    padding: 8px 18px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    color: #fff;
}

.nuhro-btn-primary {
    display: none;
    background: #16a34a;
}

.nuhro-btn-secondary {
    display: inline-block;
    background: #0f766e;
}
