﻿/* دائرة التحميل وقت الانتقال بين الصفحات (navloader.js) */

.sh-kh-nav-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 34, 33, 0.28);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0s linear 0.2s;
}

.sh-kh-nav-loader.is-active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.2s ease;
}

.sh-kh-nav-loader-box {
    width: 84px;
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--sec-color, #002221);
    border: 1px solid rgba(91, 225, 30, 0.35);
    box-shadow: 0 0 14px rgba(91, 225, 30, 0.18), 0 10px 30px rgba(0, 0, 0, 0.25);
}

.sh-kh-nav-loader-ring {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 4px solid rgba(91, 225, 30, 0.18);
    border-top-color: var(--pr-color, #5BE11E);
    animation: sh-kh-nav-spin 0.8s linear infinite;
}

/* نص لقارئ الشاشة بس */
.sh-kh-nav-loader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

@keyframes sh-kh-nav-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .sh-kh-nav-loader-ring {
        animation-duration: 1.6s;
    }
}
