/* ─── Overlay de carga TADÁ (mismo diseño que TADA_Admin) ─────────────────── */
#tadaLoadingOverlay {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(3px);
    align-items: center;
    justify-content: center;
}

#tadaLoadingOverlay.active {
    display: flex;
}

.tada-loading-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.tada-loading-logo {
    width: 110px;
    animation: tada-pulse 1.4s ease-in-out infinite;
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.35));
}

@keyframes tada-pulse {
    0%, 100% { transform: scale(1);   opacity: 1;    }
    50%       { transform: scale(1.1); opacity: 0.75; }
}

.tada-loading-dots {
    display: flex;
    gap: 8px;
}

.tada-loading-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    animation: tada-dot-bounce 1.2s ease-in-out infinite;
}

.tada-loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.tada-loading-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes tada-dot-bounce {
    0%, 80%, 100% { transform: translateY(0);     opacity: 0.4; }
    40%           { transform: translateY(-10px); opacity: 1;   }
}

@media (prefers-reduced-motion: reduce) {
    .tada-loading-logo,
    .tada-loading-dots span {
        animation: none;
    }
}
