/* ===== Animation de chargement (DriVRSpinner) ===== */

.drivr-spinner-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    z-index: 9999;
}

.auth-loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    /*background: linear-gradient(135deg, #f5f7fa 0%, #e4e9f2 100%);*/
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    gap: 24px;
}

.loading-logo-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-logo {
    width: 60px;
    height: auto;
    animation: logo-breathe 2s ease-in-out infinite;
    z-index: 1;
}

.loading-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #186EB6;
    border-right-color: #186EB6;
    animation: ring-spin 1.2s linear infinite;
}

.loading-ring::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-bottom-color: #28AD73;
    animation: ring-spin 1.8s linear infinite reverse;
}

.loading-dots {
    display: flex;
    gap: 8px;
}

.loading-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #186EB6;
    animation: dot-bounce 1.4s ease-in-out infinite;
}

.loading-dots .dot:nth-child(2) {
    animation-delay: 0.2s;
    background-color: #28AD73;
}

.loading-dots .dot:nth-child(3) {
    animation-delay: 0.4s;
    background-color: #186EB6;
}

@keyframes ring-spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes logo-breathe {
    0%, 100% { transform: scale(1); opacity: 0.85; }
    50%      { transform: scale(1.08); opacity: 1; }
}

@keyframes dot-bounce {
    0%, 80%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    40% {
        transform: translateY(-12px);
        opacity: 1;
    }
}