/* ==================== */
/*  GLOBAL FULL-PAGE LOADER  */
/* ==================== */
#loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    text-align: center;
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

#loader div {
    width: 60px;
    height: 60px;
    background: var(--e-global-color-92e2cf4);
    border-radius: 10%;
    animation: nice-rotate 1.5s ease infinite;
}

@keyframes nice-rotate {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(0.8);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}


/* ==================== */
/*  CONTAINER-LOCAL CLONED LOADER  */
/* ==================== */
/* این کلاس روی کلون لودر زده می‌شود */
.clone-loader {
    display:         flex;               /* مشابه #loader */
    position:        absolute;           /* برای پوشش کانتینر */
    top:             0;
    left:            0;
    width:           100%;
    height:          100%;
    background:      rgba(255, 255, 255, 0.8);
    justify-content: center;
    align-items:     center;
    z-index:         9999;
    pointer-events:  auto;
}

/* اسپینر درونی لودر کلون‌شده */
.clone-loader > div {
    width:         60px;
    height:        60px;
    background:    var(--e-global-color-92e2cf4);
    border-radius: 10%;
    animation:     nice-rotate 1.5s ease infinite;
}
