﻿


/* --- Parent Container for Logo and Loading Bar --- */
.app-loading-indicator {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: radial-gradient(ellipse at center, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
    animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* --- Logo Styles with Pulse Animation --- */
.logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 8px 16px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    margin-bottom: 48px;
    animation: logoPulse 2s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 8px 16px rgba(0, 0, 0, 0.1);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 25px 70px rgba(65, 105, 225, 0.2), 0 10px 20px rgba(0, 0, 205, 0.15);
    }
}

.logo-wrapper img {
    max-width: 85%;
    max-height: 85%;
    display: block;
    border-radius: 16px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

/* --- Modern Shimmer Loading Bar --- */
.loading-bar-container {
    width: 85%;
    max-width: 420px;
    height: 6px;
    background: linear-gradient(90deg, #e9ecef 0%, #dee2e6 50%, #e9ecef 100%);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.08);
    margin-bottom: 24px;
}

.loading-bar-fill {
    height: 100%;
    width: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        transparent 20%,
        rgba(65, 105, 225, 0.4) 40%,
        rgba(0, 0, 205, 0.6) 50%,
        rgba(65, 105, 225, 0.4) 60%,
        transparent 80%,
        transparent 100%
    );
    background-size: 200% 100%;
    border-radius: 10px;
    position: absolute;
    animation: shimmerSlide 2s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(65, 105, 225, 0.3);
}

@keyframes shimmerSlide {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* --- Loading Text --- */
.loading-text {
    font-family: 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #6c757d;
    letter-spacing: 0.5px;
    animation: textFade 2s ease-in-out infinite;
}

@keyframes textFade {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .logo-wrapper {
        width: 110px;
        height: 110px;
        border-radius: 20px;
    }

    .logo-wrapper img {
        border-radius: 14px;
    }

    .loading-bar-container {
        width: 90%;
        max-width: 320px;
    }

    .loading-text {
        font-size: 13px;
    }
}


