﻿#page-loader {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #dbeafe, #f8fafc);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

/* Glass card */
.glass-card {
    width: 320px;
    padding: 40px 30px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(14px);
    box-shadow: 0 25px 60px rgba(0,0,0,.12);
    text-align: center;
    animation: scaleIn .6s ease;
}

/* Animated gradient ring */
.logo-ring {
    width: 140px;
    height: 140px;
    margin: auto;
    border-radius: 50%;
    background: linear-gradient(270deg, #3c8dbc, #00c6ff, #3c8dbc);
    background-size: 600% 600%;
    padding: 5px;
    animation: rotateGradient 3s linear infinite;
}

/* Logo */
.loader-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: white;
    border-radius: 50%;
    padding: 18px;
    animation: pulse 2.2s ease-in-out infinite;
}

/* App name */
.main-text {
    margin-top: 22px;
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    letter-spacing: .6px;
}

/* Loading text */
.loading-line {
    margin-top: 10px;
    font-size: 13px;
    color: #374151;
    font-weight: 500;
}

/* Animated dots */
.dot-anim::after {
    content: '';
    animation: dots 1.6s steps(4, end) infinite;
}

/* Animations */
@keyframes rotateGradient {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

@keyframes pulse {
    0%,100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.06);
    }
}

@keyframes dots {
    0% {
        content: '';
    }

    25% {
        content: '.';
    }

    50% {
        content: '..';
    }

    75% {
        content: '...';
    }
}

@keyframes scaleIn {
    from {
        transform: scale(.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}


