﻿.spinner {
    margin: auto;
    border: 16px solid #f3f3f3;
    border-top: 16px solid #007bff;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Utiliser transform + will-change pour des animations fluides */
gin-spinner-wrapper .fill-left,
.gin-spinner-wrapper .fill-right {
    will-change: transform;
    transform-origin: center bottom;
    animation: liquidMove 1800ms ease-in-out infinite alternate;
}

@keyframes liquidMove {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-28%);
    }
}

.gin-spinner-wrapper .bubble {
    will-change: transform, opacity;
    animation: bubbleUp 2400ms linear infinite;
}

@keyframes bubbleUp {
    0% {
        transform: translateY(0);
        opacity: 0.95;
    }

    80% {
        opacity: 0.2;
    }

    100% {
        transform: translateY(-40px);
        opacity: 0;
    }
}

.d-none {
    display: none !important;
}