/* Loading Animation Styling */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 40%, rgba(255, 255, 255, 0.4) 100%);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.loading-overlay.show {
    opacity: 1;
    visibility: visible;
}

.loading-logo-svg {
    width: 280px;
    height: auto;
    margin-bottom: 24px;
}

.loading-text {
    font-weight: 600;
    color: #6b7280;
    /* Neutral muted color */
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    font-family: inherit;
}

/* Pulse animation for the heart of the app */
@keyframes slimPulse {
    0% {
        transform: scale(1);
    }

    14% {
        transform: scale(1.08);
    }

    28% {
        transform: scale(1);
    }

    42% {
        transform: scale(1.08);
    }

    70% {
        transform: scale(1);
    }
}

/* Line drawing animation for turquoise orbits */
@keyframes drawOrbit {
    0% {
        stroke-dashoffset: 300;
        opacity: 0.1;
    }

    50% {
        stroke-dashoffset: 0;
        opacity: 0.6;
    }

    100% {
        stroke-dashoffset: -300;
        opacity: 0.1;
    }
}

.logo-main-text {
    animation: slimPulse 2s ease-in-out infinite;
    transform-origin: center;
}

/* Specific orbit styling with dasharray for shortening/lengthening */
.orbit-path {
    stroke-dasharray: 150;
    stroke-dashoffset: 150;
    animation: drawOrbit 4s linear infinite;
}

.orbit-path:nth-child(2) {
    animation-delay: -1s;
}

.orbit-path:nth-child(3) {
    animation-delay: -2s;
}

.orbit-path:nth-child(4) {
    animation-delay: -3s;
}

.logo-dots circle {
    animation: slimPulse 3s ease-in-out infinite;
    animation-delay: -0.5s;
}

/* Inline Loader Container */
.inline-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: var(--muted);
    width: 100%;
}

.inline-loader .loading-logo-svg {
    width: 100%;
    height: 100%;
    max-width: 80px;
    /* Limit max size */
    margin-bottom: 8px;
}