/* ============================================
   SPINNER GLOBAL - Componente de carga
   ============================================ */

.global-spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.global-spinner-overlay.active {
    opacity: 1;
    visibility: visible;
}

.global-spinner-container {
    background: #1a1a1d;
    border-radius: 16px;
    padding: 40px 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    min-width: 280px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.global-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: #10b981;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.global-spinner-message {
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    margin: 0;
    line-height: 1.5;
}

.global-spinner-submessage {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    text-align: center;
    margin: 8px 0 0 0;
}

