/* Estilo básico para asegurar que el body ocupe toda la pantalla */
body, html {
    height: 100%;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0;
    font-family: Arial, sans-serif;
}

/* Contenedor para el spinner y el texto */
.loading-container {
    text-align: center;
}

/* Estilo del loader */
.loader {
    border: 16px solid #f3f3f3; /* Color de fondo */
    border-top: 16px solid #3498db; /* Color del borde superior */
    border-radius: 50%; /* Hacerlo redondo */
    width: 120px; /* Tamaño del spinner */
    height: 120px; /* Tamaño del spinner */
    animation: spin 2s linear infinite; /* Giro continuo */
    margin-bottom: 20px; /* Espacio entre el spinner y el texto */
}

/* Animación de giro */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hidden {
    display: none;
}

/* Estilo para el texto */
.progress-text {
    margin-left: 50px;
    margin-top: 20px;
    font-size: 24px;
    font-weight: bold;
    color: white;
    position: fixed;
    align-content: center;
}
