

.loader-overlay {
    position: fixed;
    inset: 0; /* reemplaza top/left/right/bottom con una sola línea */
    background: rgba(10, 10, 10, 0.65);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.spinner {
    width: 80px;
    height: 80px;
    border: 8px solid rgba(255, 255, 255, 0.2);
    border-top: 8px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

.loader-text {
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    font-family: 'Segoe UI', sans-serif;
    text-align: center;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
