﻿/* Full-screen dark overlay */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Card container */
.loader-card {
    background: #ffffff;
    padding: 30px 40px;
    border-radius: 14px;
    text-align: center;
    width: 320px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
    animation: fadeScale 0.3s ease-in-out;
}

/* Loader gif */
.loader-gif {
    width: 80px;
    margin-bottom: 15px;
}

/* Title */
.loader-title {
    color: #1089FF;
    font-weight: 600;
    margin-bottom: 6px;
}

/* Subtitle */
.loader-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

/* Animated dots */
.loader-dots span {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #1089FF;
    border-radius: 50%;
    margin: 0 3px;
    animation: bounce 1.4s infinite ease-in-out both;
}

.loader-dots span:nth-child(1) { animation-delay: -0.32s; }
.loader-dots span:nth-child(2) { animation-delay: -0.16s; }

/* Animations */
@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

@keyframes fadeScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}