﻿/* Overlay de carregamento */
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(245, 247, 250, 0.95);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.4s ease-in-out;
}

/* Container central */
.spinner-container {
    text-align: center;
    animation: slideUp 0.6s ease-out;
}

/* Spinner circular corporativo */
.spinner {
    border: 5px solid #d1d5db;
    border-top: 5px solid #004080;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite, pulse 1.5s ease-in-out infinite;
    margin: auto;
}

/* Texto elegante */
.loading-text {
    margin-top: 1rem;
    font-size: 1.1rem;
    color: #003366;
    font-weight: 500;
    letter-spacing: 0.5px;
    animation: fadeIn 1s ease-in-out infinite alternate;
}

/* Animações */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 64, 128, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(0, 64, 128, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 64, 128, 0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}
