﻿/* overlay loader */
.loader-wrapper {
    position: fixed; /* sopra tutto */
    inset: 0;
    background: rgba(255, 255, 255, 0.9); /* leggermente trasparente */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    opacity: 1;
    transition: opacity 0.1s ease;
}

    .loader-wrapper.hidden {
        opacity: 0;
        pointer-events: none;
    }

.loader {
    width: 60px;
    height: 60px;
    border: 6px solid #ddd;
    border-top: 6px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


