.app-loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    pointer-events: all;
}

[data-theme="light"] .app-loading-overlay {
    background: rgba(243, 244, 246, 0.72);
}

[data-theme="dark"] .app-loading-overlay {
    background: rgba(15, 23, 42, 0.72);
}

.app-loading-overlay[hidden] {
    display: none !important;
}

body.app-loading-active {
    overflow: hidden !important;
}

.app-loading-overlay__panel {
    position: relative;
    display: flex;
    width: 5rem;
    height: 5rem;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    box-shadow: none;
    isolation: isolate;
}

.app-loading-overlay__panel::after {
    content: "";
    position: absolute;
    width: 4.15rem;
    height: 4.15rem;
    border: 1px solid rgba(118, 191, 70, 0.24);
    border-top-color: rgba(118, 191, 70, 0.72);
    border-radius: 50%;
    filter: drop-shadow(0 0 8px rgba(118, 191, 70, 0.28));
    animation: appLoadingOrbit 1.9s linear infinite;
}

.app-loading-overlay__image {
    position: relative;
    z-index: 1;
    width: 3.25rem;
    height: 3.25rem;
    object-fit: contain;
    animation: appLoadingSpin 0.85s linear infinite;
}

@keyframes appLoadingOrbit {
    to { transform: rotate(360deg); }
}

@keyframes appLoadingSpin {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .app-loading-overlay__panel::after,
    .app-loading-overlay__image {
        animation-duration: 3.5s;
    }
}
