﻿:root {
    --primary-color: #1976d2;
    --track-color: #e0e0e0;
    --text-color: #4a4a4a;
}

#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

    #loading-overlay.hidden {
        opacity: 0;
        pointer-events: none;
    }

.loading-progress {
    width: 80px;
    height: 80px;
    transform: rotate(-90deg);
}

    .loading-progress .track {
        fill: none;
        stroke: var(--track-color);
        stroke-width: 8;
    }

    .loading-progress .indicator {
        fill: none;
        stroke: var(--primary-color);
        stroke-width: 8;
        stroke-linecap: round;
        stroke-dasharray: 283;
        stroke-dashoffset: 283;
        animation: spin 1.2s ease-in-out infinite;
    }

@keyframes spin {
    0% {
        stroke-dashoffset: 283;
    }

    50% {
        stroke-dashoffset: 70;
    }

    100% {
        stroke-dashoffset: 283;
    }
}

.loading-text {
    margin-top: 12px;
    font-size: 14px;
    color: var(--text-color);
}
