/* استایل‌های اصلی ویدجت Ajax */
.eiva-ajax-container {
    position: relative;
    min-height: 50px;
}

/* محتوای مخفی */
.eiva-hidden-content {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

.eiva-loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.eiva-loading-text {
    margin-top: 15px; /* مقدار پیش‌فرض - می‌تواند توسط کنترل المنتور تغییر کند */
    font-size: 14px;
    color: #666;
}

.eiva-ajax-content {
    line-height: 1.6;
}

/**
 * Loaders.css - کتابخانه لودرهای CSS
 * بر اساس https://github.com/ConnorAtherton/loaders.css
 * سفارشی‌سازی شده برای افزونه Ajax Template Loader
 */

/* استایل‌های مشترک */
.eiva-loader {
    display: inline-block;
    position: relative;
}

.eiva-loader:not(.eiva-loader-folding-cube ,.eiva-loader-fading-circle) > div {
   background-color: currentColor !important; 
    animation-fill-mode: both;
}

.eiva-loader > div:before,
.eiva-loader > div:after {
    background-color: currentColor !important;
}

/* ===== BALL LOADERS ===== */

/* Ball Pulse */
@keyframes eiva-ball-pulse {
    0%, 60%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    30% {
        opacity: 0.1;
        transform: scale(0.01);
    }
}

.eiva-loader-ball-pulse {
    width: 54px;
    height: 18px;
    display: inline-block;
}

.eiva-loader-ball-pulse > div {
    width: 10px;
    height: 10px;
    border-radius: 100%;
    margin: 2px;
    animation-fill-mode: both;
    display: inline-block;
    background-color: currentColor;
    animation: eiva-ball-pulse 0.75s 0s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08);
}

.eiva-loader-ball-pulse > div:nth-child(1) {
    animation-delay: -0.32s;
}

.eiva-loader-ball-pulse > div:nth-child(2) {
    animation-delay: -0.16s;
}

/* Ball Pulse Sync */
@keyframes eiva-ball-pulse-sync {
    33% {
        transform: translateY(10px);
    }
    66% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

.eiva-loader-ball-pulse-sync {
    width: 54px;
    height: 18px;
}

.eiva-loader-ball-pulse-sync > div {
    width: 10px;
    height: 10px;
    border-radius: 100%;
    margin: 2px;
    animation-fill-mode: both;
    display: inline-block;
    animation: eiva-ball-pulse-sync 0.6s 0s infinite ease-in-out;
}

.eiva-loader-ball-pulse-sync > div:nth-child(1) {
    animation-delay: -0.14s;
}

.eiva-loader-ball-pulse-sync > div:nth-child(2) {
    animation-delay: -0.07s;
}

/* Ball Scale */
@keyframes eiva-ball-scale {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

.eiva-loader-ball-scale {
    width: 40px;
    height: 40px;
}

.eiva-loader-ball-scale > div {
    width: 40px;
    height: 40px;
    border-radius: 100%;
    background-color: currentColor;
    animation: eiva-ball-scale 1s 0s ease-in-out infinite;
}

/* Ball Scale Random */
.eiva-loader-ball-scale-random {
    width: 37px;
    height: 40px;
}

.eiva-loader-ball-scale-random > div {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 100%;
    animation: eiva-ball-scale 1s 0s ease-in-out infinite;
}

.eiva-loader-ball-scale-random > div:nth-child(1) {
    left: 0px;
    animation-delay: -0.2s;
}

.eiva-loader-ball-scale-random > div:nth-child(2) {
    left: 15px;
    animation-delay: -0.1s;
}

.eiva-loader-ball-scale-random > div:nth-child(3) {
    left: 30px;
    animation-delay: 0s;
}

/* Ball Rotate */
@keyframes eiva-ball-rotate {
    0% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(180deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.eiva-loader-ball-rotate {
    width: 40px;
    height: 40px;
}

.eiva-loader-ball-rotate > div {
    width: 5px;
    height: 5px;
    border-radius: 100%;
    margin: 2px;
    animation-fill-mode: both;
    position: relative;
    animation: eiva-ball-rotate 1s 0s ease-in-out infinite;
}

.eiva-loader-ball-rotate > div:before {
    content: '';
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 100%;
    background-color: currentColor;
    top: -10px;
    left: -10px;
}

/* Ball Clip Rotate */
@keyframes eiva-ball-clip-rotate {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(0.8);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

.eiva-loader-ball-clip-rotate {
    width: 40px;
    height: 40px;
}

.eiva-loader-ball-clip-rotate > div {
    width: 40px;
    height: 40px;
    border-radius: 100%;
    border: 2px solid currentColor;
    border-bottom-color: transparent;
    animation: eiva-ball-clip-rotate 0.75s 0s linear infinite;
}

/* Ball Clip Rotate Pulse */
@keyframes eiva-ball-clip-rotate-pulse-rotate {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(0.8);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

@keyframes eiva-ball-clip-rotate-pulse-scale {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    30% {
        opacity: 0.3;
        transform: scale(0.15);
    }
}

.eiva-loader-ball-clip-rotate-pulse {
    width: 40px;
    height: 40px;
    position: relative;
}

.eiva-loader-ball-clip-rotate-pulse > div:nth-child(1) {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    border: 2px solid currentColor;
    border-bottom-color: transparent;
    animation: eiva-ball-clip-rotate-pulse-rotate 1s 0s cubic-bezier(0.09, 0.57, 0.49, 0.9) infinite;
}

.eiva-loader-ball-clip-rotate-pulse > div:nth-child(2) {
    position: absolute;
    width: 26px;
    height: 26px;
    border-radius: 100%;
    top: 7px;
    left: 7px;
    animation: eiva-ball-clip-rotate-pulse-scale 1s 0s cubic-bezier(0.09, 0.57, 0.49, 0.9) infinite;
}

/* Ball Clip Rotate Multiple */
@keyframes eiva-ball-clip-rotate-multiple-rotate {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(0.6);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

.eiva-loader-ball-clip-rotate-multiple {
    width: 40px;
    height: 40px;
    position: relative;
}

.eiva-loader-ball-clip-rotate-multiple > div {
    position: absolute;
    border-radius: 100%;
    border: 2px solid currentColor;
    border-bottom-color: transparent;
    border-top-color: transparent;
    animation: eiva-ball-clip-rotate-multiple-rotate 1s 0s ease-in-out infinite;
}

.eiva-loader-ball-clip-rotate-multiple > div:nth-child(1) {
    width: 40px;
    height: 40px;
    left: 0px;
    top: 0px;
    animation-delay: -0.5s;
}

.eiva-loader-ball-clip-rotate-multiple > div:nth-child(2) {
    width: 20px;
    height: 20px;
    left: 10px;
    top: 10px;
}

/* Ball Scale Ripple */
@keyframes eiva-ball-scale-ripple {
    0% {
        transform: scale(0.1);
        opacity: 1;
    }
    70% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        opacity: 0.0;
        transform: scale(1.2);
    }
}

.eiva-loader-ball-scale-ripple {
    width: 40px;
    height: 40px;
}

.eiva-loader-ball-scale-ripple > div {
    width: 40px;
    height: 40px;
    border-radius: 100%;
    border: 2px solid currentColor;
    animation: eiva-ball-scale-ripple 1s 0s ease-out infinite;
}

/* Ball Scale Ripple Multiple */
.eiva-loader-ball-scale-ripple-multiple {
    width: 40px;
    height: 40px;
    position: relative;
}

.eiva-loader-ball-scale-ripple-multiple > div {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    border: 2px solid currentColor;
    animation: eiva-ball-scale-ripple 1.25s 0s ease-out infinite;
}

.eiva-loader-ball-scale-ripple-multiple > div:nth-child(1) {
    animation-delay: -0.8s;
}

.eiva-loader-ball-scale-ripple-multiple > div:nth-child(2) {
    animation-delay: -0.4s;
}

.eiva-loader-ball-scale-ripple-multiple > div:nth-child(3) {
    animation-delay: 0s;
}

/* Ball Beat */
@keyframes eiva-ball-beat {
    50% {
        opacity: 0.2;
        transform: scale(0.75);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.eiva-loader-ball-beat {
    width: 54px;
    height: 18px;
}

.eiva-loader-ball-beat > div {
    width: 10px;
    height: 10px;
    border-radius: 100%;
    margin: 2px;
    animation-fill-mode: both;
    display: inline-block;
    animation: eiva-ball-beat 0.7s 0s infinite linear;
}

.eiva-loader-ball-beat > div:nth-child(1) {
    animation-delay: -0.32s;
}

.eiva-loader-ball-beat > div:nth-child(2) {
    animation-delay: -0.16s;
}

/* Ball Scale Multiple */
.eiva-loader-ball-scale-multiple {
    width: 54px;
    height: 18px;
}

.eiva-loader-ball-scale-multiple > div {
    width: 10px;
    height: 10px;
    border-radius: 100%;
    margin: 2px;
    animation-fill-mode: both;
    display: inline-block;
    animation: eiva-ball-scale 1s 0s ease-in-out infinite;
}

.eiva-loader-ball-scale-multiple > div:nth-child(1) {
    animation-delay: -0.2s;
}

.eiva-loader-ball-scale-multiple > div:nth-child(2) {
    animation-delay: -0.1s;
}

/* Ball Triangle Path */
@keyframes eiva-ball-triangle-path-ball-one {
    33% {
        transform: translate(13px, -18px);
    }
    66% {
        transform: translate(-13px, -18px);
    }
    100% {
        transform: translate(0, 0);
    }
}

@keyframes eiva-ball-triangle-path-ball-two {
    33% {
        transform: translate(13px, 18px);
    }
    66% {
        transform: translate(-13px, 18px);
    }
    100% {
        transform: translate(0, 0);
    }
}

@keyframes eiva-ball-triangle-path-ball-tree {
    33% {
        transform: translate(-26px, 0);
    }
    66% {
        transform: translate(26px, 0);
    }
    100% {
        transform: translate(0, 0);
    }
}

.eiva-loader-ball-triangle-path {
    width: 27px;
    height: 27px;
    position: relative;
}

.eiva-loader-ball-triangle-path > div:nth-child(1) {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 100%;
    left: 10px;
    top: 0;
    animation: eiva-ball-triangle-path-ball-one 2s 0s ease-in-out infinite;
}

.eiva-loader-ball-triangle-path > div:nth-child(2) {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 100%;
    left: 10px;
    top: 19px;
    animation: eiva-ball-triangle-path-ball-two 2s 0s ease-in-out infinite;
}

.eiva-loader-ball-triangle-path > div:nth-child(3) {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 100%;
    left: 0;
    top: 9px;
    animation: eiva-ball-triangle-path-ball-tree 2s 0s ease-in-out infinite;
}

/* Ball Pulse Rise */
@keyframes eiva-ball-pulse-rise-even {
    0% {
        transform: scale(1.1);
    }
    25% {
        transform: translateY(-30px);
    }
    50% {
        transform: scale(0.4);
    }
    75% {
        transform: translateY(30px);
    }
    100% {
        transform: translateY(0);
        transform: scale(1.0);
    }
}

@keyframes eiva-ball-pulse-rise-odd {
    0% {
        transform: scale(0.4);
    }
    25% {
        transform: translateY(30px);
    }
    50% {
        transform: scale(1.1);
    }
    75% {
        transform: translateY(-30px);
    }
    100% {
        transform: translateY(0);
        transform: scale(0.75);
    }
}

.eiva-loader-ball-pulse-rise {
    width: 70px;
    height: 14px;
}

.eiva-loader-ball-pulse-rise > div {
    width: 10px;
    height: 10px;
    border-radius: 100%;
    margin: 2px;
    animation-fill-mode: both;
    display: inline-block;
}

.eiva-loader-ball-pulse-rise > div:nth-child(1) {
    animation: eiva-ball-pulse-rise-odd 1s 0s infinite cubic-bezier(0.15, 0.46, 0.9, 0.6);
}

.eiva-loader-ball-pulse-rise > div:nth-child(2) {
    animation: eiva-ball-pulse-rise-even 1s 0.1s infinite cubic-bezier(0.15, 0.46, 0.9, 0.6);
}

.eiva-loader-ball-pulse-rise > div:nth-child(3) {
    animation: eiva-ball-pulse-rise-odd 1s 0.2s infinite cubic-bezier(0.15, 0.46, 0.9, 0.6);
}

.eiva-loader-ball-pulse-rise > div:nth-child(4) {
    animation: eiva-ball-pulse-rise-even 1s 0.3s infinite cubic-bezier(0.15, 0.46, 0.9, 0.6);
}

.eiva-loader-ball-pulse-rise > div:nth-child(5) {
    animation: eiva-ball-pulse-rise-odd 1s 0.4s infinite cubic-bezier(0.15, 0.46, 0.9, 0.6);
}

/* Ball Grid Beat */
@keyframes eiva-ball-grid-beat {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.35;
    }
    100% {
        opacity: 1;
    }
}

.eiva-loader-ball-grid-beat {
    width: 57px;
    height: 57px;
}

.eiva-loader-ball-grid-beat > div {
    width: 15px;
    height: 15px;
    border-radius: 100%;
    margin: 2px;
    animation-fill-mode: both;
    display: inline-block;
    float: left;
    animation: eiva-ball-grid-beat 1.5s 0s infinite ease-in-out;
}

.eiva-loader-ball-grid-beat > div:nth-child(1) {
    animation-delay: 0.03s;
}

.eiva-loader-ball-grid-beat > div:nth-child(2) {
    animation-delay: 0.06s;
}

.eiva-loader-ball-grid-beat > div:nth-child(3) {
    animation-delay: 0.09s;
}

.eiva-loader-ball-grid-beat > div:nth-child(4) {
    animation-delay: 0.12s;
}

.eiva-loader-ball-grid-beat > div:nth-child(5) {
    animation-delay: 0.15s;
}

.eiva-loader-ball-grid-beat > div:nth-child(6) {
    animation-delay: 0.18s;
}

.eiva-loader-ball-grid-beat > div:nth-child(7) {
    animation-delay: 0.21s;
}

.eiva-loader-ball-grid-beat > div:nth-child(8) {
    animation-delay: 0.24s;
}

.eiva-loader-ball-grid-beat > div:nth-child(9) {
    animation-delay: 0.27s;
}

/* Ball Grid Pulse */
@keyframes eiva-ball-grid-pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.5);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.eiva-loader-ball-grid-pulse {
    width: 57px;
    height: 57px;
}

.eiva-loader-ball-grid-pulse > div {
    width: 15px;
    height: 15px;
    border-radius: 100%;
    margin: 2px;
    animation-fill-mode: both;
    display: inline-block;
    float: left;
    animation: eiva-ball-grid-pulse 1.5s 0s infinite ease-in-out;
}

.eiva-loader-ball-grid-pulse > div:nth-child(1) {
    animation-delay: 0.03s;
}

.eiva-loader-ball-grid-pulse > div:nth-child(2) {
    animation-delay: 0.06s;
}

.eiva-loader-ball-grid-pulse > div:nth-child(3) {
    animation-delay: 0.09s;
}

.eiva-loader-ball-grid-pulse > div:nth-child(4) {
    animation-delay: 0.12s;
}

.eiva-loader-ball-grid-pulse > div:nth-child(5) {
    animation-delay: 0.15s;
}

.eiva-loader-ball-grid-pulse > div:nth-child(6) {
    animation-delay: 0.18s;
}

.eiva-loader-ball-grid-pulse > div:nth-child(7) {
    animation-delay: 0.21s;
}

.eiva-loader-ball-grid-pulse > div:nth-child(8) {
    animation-delay: 0.24s;
}

.eiva-loader-ball-grid-pulse > div:nth-child(9) {
    animation-delay: 0.27s;
}

/* Ball Spin Fade Loader */
@keyframes eiva-ball-spin-fade-loader {
    50% {
        opacity: 0.3;
        transform: scale(0.4);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.eiva-loader-ball-spin-fade-loader {
    width: 40px;
    height: 40px;
    position: relative;
}

.eiva-loader-ball-spin-fade-loader > div {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 100%;
    animation: eiva-ball-spin-fade-loader 1s 0s infinite ease-in-out;
}

.eiva-loader-ball-spin-fade-loader > div:nth-child(1) {
    top: 25px;
    left: 50px;
    animation-delay: 0s;
}

.eiva-loader-ball-spin-fade-loader > div:nth-child(2) {
    top: 17px;
    left: 17px;
    animation-delay: -0.875s;
}

.eiva-loader-ball-spin-fade-loader > div:nth-child(3) {
    top: 25px;
    left: 10px;
    animation-delay: -0.75s;
}

.eiva-loader-ball-spin-fade-loader > div:nth-child(4) {
    top: 32px;
    left: 17px;
    animation-delay: -0.625s;
}

.eiva-loader-ball-spin-fade-loader > div:nth-child(5) {
    top: 40px;
    left: 25px;
    animation-delay: -0.5s;
}

.eiva-loader-ball-spin-fade-loader > div:nth-child(6) {
    top: 32px;
    left: 32px;
    animation-delay: -0.375s;
}

.eiva-loader-ball-spin-fade-loader > div:nth-child(7) {
    top: 25px;
    left: 40px;
    animation-delay: -0.25s;
}

.eiva-loader-ball-spin-fade-loader > div:nth-child(8) {
    top: 17px;
    left: 32px;
    animation-delay: -0.125s;
}

/* Ball Zig Zag */
@keyframes eiva-ball-zig-zag {
    33% {
        transform: translate(-15px, -30px);
    }
    66% {
        transform: translate(15px, 30px);
    }
    100% {
        transform: translate(0, 0);
    }
}

.eiva-loader-ball-zig-zag {
    width: 10px;
    height: 10px;
    position: relative;
}

.eiva-loader-ball-zig-zag > div {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 100%;
    animation: eiva-ball-zig-zag 0.7s 0s infinite linear;
}

.eiva-loader-ball-zig-zag > div:nth-child(1) {
    left: 0;
    animation-delay: -0.15s;
}

.eiva-loader-ball-zig-zag > div:nth-child(2) {
    left: 0;
    animation-delay: 0s;
}

/* Ball Zig Zag Deflect */
@keyframes eiva-ball-zig-zag-deflect {
    17% {
        transform: translate(-15px, -30px);
    }
    34% {
        transform: translate(15px, -30px);
    }
    50% {
        transform: translate(0, 0);
    }
    67% {
        transform: translate(-15px, 30px);
    }
    84% {
        transform: translate(15px, 30px);
    }
    100% {
        transform: translate(0, 0);
    }
}

.eiva-loader-ball-zig-zag-deflect {
    width: 10px;
    height: 10px;
    position: relative;
}

.eiva-loader-ball-zig-zag-deflect > div {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 100%;
    animation: eiva-ball-zig-zag-deflect 1.5s 0s infinite linear;
}

.eiva-loader-ball-zig-zag-deflect > div:nth-child(1) {
    left: 0;
    animation-delay: -0.25s;
}

.eiva-loader-ball-zig-zag-deflect > div:nth-child(2) {
    left: 0;
    animation-delay: 0s;
}

/* ===== LINE LOADERS ===== */

/* Line Scale */
@keyframes eiva-line-scale {
    0% {
        transform: scaley(1.0);
    }
    50% {
        transform: scaley(0.4);
    }
    100% {
        transform: scaley(1.0);
    }
}

.eiva-loader-line-scale {
    width: 50px;
    height: 40px;
}

.eiva-loader-line-scale > div {
    width: 4px;
    height: 40px;
    border-radius: 2px;
    margin: 2px;
    animation-fill-mode: both;
    display: inline-block;
    animation: eiva-line-scale 1s 0s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08);
}

.eiva-loader-line-scale > div:nth-child(1) {
    animation-delay: -0.4s;
}

.eiva-loader-line-scale > div:nth-child(2) {
    animation-delay: -0.3s;
}

.eiva-loader-line-scale > div:nth-child(3) {
    animation-delay: -0.2s;
}

.eiva-loader-line-scale > div:nth-child(4) {
    animation-delay: -0.1s;
}

.eiva-loader-line-scale > div:nth-child(5) {
    animation-delay: 0s;
}

/* Line Scale Party */
@keyframes eiva-line-scale-party {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.5);
    }
    100% {
        transform: scale(1);
    }
}

.eiva-loader-line-scale-party {
    width: 40px;
    height: 40px;
}

.eiva-loader-line-scale-party > div {
    width: 4px;
    height: 40px;
    border-radius: 2px;
    margin: 2px;
    animation-fill-mode: both;
    display: inline-block;
    animation: eiva-line-scale-party 1s 0s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08);
}

.eiva-loader-line-scale-party > div:nth-child(1) {
    animation-delay: -0.8s;
}

.eiva-loader-line-scale-party > div:nth-child(2) {
    animation-delay: -0.6s;
}

.eiva-loader-line-scale-party > div:nth-child(3) {
    animation-delay: -0.4s;
}

.eiva-loader-line-scale-party > div:nth-child(4) {
    animation-delay: -0.2s;
}

/* Line Scale Pulse Out */
@keyframes eiva-line-scale-pulse-out {
    0% {
        transform: scaley(1.0);
    }
    50% {
        transform: scaley(0.3);
    }
    100% {
        transform: scaley(1.0);
    }
}

.eiva-loader-line-scale-pulse-out {
    width: 50px;
    height: 40px;
}

.eiva-loader-line-scale-pulse-out > div {
    width: 4px;
    height: 40px;
    border-radius: 2px;
    margin: 2px;
    animation-fill-mode: both;
    display: inline-block;
    animation: eiva-line-scale-pulse-out 0.9s 0s infinite cubic-bezier(0.85, 0.25, 0.37, 0.85);
}

.eiva-loader-line-scale-pulse-out > div:nth-child(1) {
    animation-delay: -0.6s;
}

.eiva-loader-line-scale-pulse-out > div:nth-child(2) {
    animation-delay: -0.45s;
}

.eiva-loader-line-scale-pulse-out > div:nth-child(3) {
    animation-delay: -0.3s;
}

.eiva-loader-line-scale-pulse-out > div:nth-child(4) {
    animation-delay: -0.15s;
}

.eiva-loader-line-scale-pulse-out > div:nth-child(5) {
    animation-delay: 0s;
}

/* Line Scale Pulse Out Rapid */
@keyframes eiva-line-scale-pulse-out-rapid {
    0% {
        transform: scaley(1.0);
    }
    80% {
        transform: scaley(0.3);
    }
    90% {
        transform: scaley(1.0);
    }
}

.eiva-loader-line-scale-pulse-out-rapid {
    width: 50px;
    height: 40px;
}

.eiva-loader-line-scale-pulse-out-rapid > div {
    width: 4px;
    height: 40px;
    border-radius: 2px;
    margin: 2px;
    animation-fill-mode: both;
    display: inline-block;
    animation: eiva-line-scale-pulse-out-rapid 0.6s 0s infinite cubic-bezier(0.11, 0.49, 0.38, 0.78);
}

.eiva-loader-line-scale-pulse-out-rapid > div:nth-child(1) {
    animation-delay: -0.5s;
}

.eiva-loader-line-scale-pulse-out-rapid > div:nth-child(2) {
    animation-delay: -0.375s;
}

.eiva-loader-line-scale-pulse-out-rapid > div:nth-child(3) {
    animation-delay: -0.25s;
}

.eiva-loader-line-scale-pulse-out-rapid > div:nth-child(4) {
    animation-delay: -0.125s;
}

.eiva-loader-line-scale-pulse-out-rapid > div:nth-child(5) {
    animation-delay: 0s;
}

/* Line Spin Fade Loader */
@keyframes eiva-line-spin-fade-loader {
    50% {
        opacity: 0.3;
    }
    100% {
        opacity: 1;
    }
}

.eiva-loader-line-spin-fade-loader {
    width: 40px;
    height: 40px;
    position: relative;
}

.eiva-loader-line-spin-fade-loader > div {
    position: absolute;
    width: 2px;
    height: 10px;
    border-radius: 2px;
    left: 20px;
    top: 15px;
    transform-origin: 1px 25px;
    animation: eiva-line-spin-fade-loader 1s 0s infinite ease-in-out;
}

.eiva-loader-line-spin-fade-loader > div:nth-child(1) {
    transform: rotate(0deg);
    animation-delay: -0.875s;
}

.eiva-loader-line-spin-fade-loader > div:nth-child(2) {
    transform: rotate(45deg);
    animation-delay: -0.75s;
}

.eiva-loader-line-spin-fade-loader > div:nth-child(3) {
    transform: rotate(90deg);
    animation-delay: -0.625s;
}

.eiva-loader-line-spin-fade-loader > div:nth-child(4) {
    transform: rotate(135deg);
    animation-delay: -0.5s;
}

.eiva-loader-line-spin-fade-loader > div:nth-child(5) {
    transform: rotate(180deg);
    animation-delay: -0.375s;
}

.eiva-loader-line-spin-fade-loader > div:nth-child(6) {
    transform: rotate(225deg);
    animation-delay: -0.25s;
}

.eiva-loader-line-spin-fade-loader > div:nth-child(7) {
    transform: rotate(270deg);
    animation-delay: -0.125s;
}

.eiva-loader-line-spin-fade-loader > div:nth-child(8) {
    transform: rotate(315deg);
    animation-delay: 0s;
}

/* ===== SHAPE LOADERS ===== */

/* Triangle Skew Spin */
@keyframes eiva-triangle-skew-spin {
    25% {
        transform: perspective(100px) rotateX(180deg) rotateY(0);
    }
    50% {
        transform: perspective(100px) rotateX(180deg) rotateY(180deg);
    }
    75% {
        transform: perspective(100px) rotateX(0) rotateY(180deg);
    }
    100% {
        transform: perspective(100px) rotateX(0) rotateY(0);
    }
}

.eiva-loader-triangle-skew-spin {
    width: 40px;
    height: 40px;
}

.eiva-loader-triangle-skew-spin > div {
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 20px solid currentColor;
    animation: eiva-triangle-skew-spin 3s 0s cubic-bezier(0.09, 0.57, 0.49, 0.9) infinite;
}

/* Square Spin */
@keyframes eiva-square-spin {
    25% {
        transform: perspective(100px) rotateX(180deg) rotateY(0);
    }
    50% {
        transform: perspective(100px) rotateX(180deg) rotateY(180deg);
    }
    75% {
        transform: perspective(100px) rotateX(0) rotateY(180deg);
    }
    100% {
        transform: perspective(100px) rotateX(0) rotateY(0);
    }
}

.eiva-loader-square-spin {
    width: 40px;
    height: 40px;
}

.eiva-loader-square-spin > div {
    width: 40px;
    height: 40px;
    animation: eiva-square-spin 3s 0s cubic-bezier(0.09, 0.57, 0.49, 0.9) infinite;
}

/* Wandering Cubes */
@keyframes eiva-wandering-cubes-rotate {
    25% {
        transform: translateX(42px) rotate(-90deg) scale(0.5);
    }
    50% {
        transform: translateX(42px) translateY(42px) rotate(-180deg);
    }
    75% {
        transform: translateX(0px) translateY(42px) rotate(-270deg) scale(0.5);
    }
    100% {
        transform: rotate(-360deg);
    }
}

.eiva-loader-wandering-cubes {
    width: 60px;
    height: 60px;
    position: relative;
}

.eiva-loader-wandering-cubes > div {
    width: 15px;
    height: 15px;
    position: absolute;
    top: 0;
    left: 0;
    animation: eiva-wandering-cubes-rotate 1.8s 0s ease-in-out infinite;
}

.eiva-loader-wandering-cubes > div:nth-child(1) {
    animation-delay: -0.9s;
}

.eiva-loader-wandering-cubes > div:nth-child(2) {
    animation-delay: 0s;
}

/* Pulse */
@keyframes eiva-pulse {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

.eiva-loader-pulse {
    width: 40px;
    height: 40px;
}

.eiva-loader-pulse > div {
    width: 40px;
    height: 40px;
    border-radius: 100%;
    animation: eiva-pulse 1s 0s ease-in-out infinite;
}

/* Chasing Dots */
@keyframes eiva-chasing-dots-rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes eiva-chasing-dots-bounce {
    0%, 100% {
        transform: scale(0);
    }
    50% {
        transform: scale(1);
    }
}

.eiva-loader-chasing-dots {
    width: 40px;
    height: 40px;
    position: relative;
    animation: eiva-chasing-dots-rotate 2s infinite linear;
}

.eiva-loader-chasing-dots > div {
    width: 60%;
    height: 60%;
    display: inline-block;
    position: absolute;
    top: 0;
    border-radius: 100%;
    animation: eiva-chasing-dots-bounce 2s infinite ease-in-out;
}

.eiva-loader-chasing-dots > div:nth-child(1) {
    left: 0;
}

.eiva-loader-chasing-dots > div:nth-child(2) {
    left: 0;
    animation-delay: -1s;
}

/* Three Bounce */
@keyframes eiva-three-bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

.eiva-loader-three-bounce {
    width: 70px;
    height: 20px;
}

.eiva-loader-three-bounce > div {
    width: 18px;
    height: 18px;
    border-radius: 100%;
    display: inline-block;
    animation: eiva-three-bounce 1.4s 0s ease-in-out infinite both;
}

.eiva-loader-three-bounce > div:nth-child(1) {
    animation-delay: -0.32s;
}

.eiva-loader-three-bounce > div:nth-child(2) {
    animation-delay: -0.16s;
}

/* Fading Circle */
@keyframes eiva-fading-circle {
    0%, 39%, 100% {
        opacity: 0;
        transform: scale(0.6);
    }
    40% {
        opacity: 1;
        transform: scale(1);
    }
}

.eiva-loader-fading-circle {
    width: 40px;
    height: 40px;
    position: relative;
}

.eiva-loader-fading-circle > div {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.eiva-loader-fading-circle > div:before {
    content: '';
    display: block;
    margin: 0 auto;
    width: 15%;
    height: 15%;
    border-radius: 100%;
    background-color: currentColor;
    animation: eiva-fading-circle 1.2s infinite ease-in-out both;
}

.eiva-loader-fading-circle > div:nth-child(1) {
    transform: rotate(30deg);
}

.eiva-loader-fading-circle > div:nth-child(1):before {
    animation-delay: -1.1s;
}

.eiva-loader-fading-circle > div:nth-child(2) {
    transform: rotate(60deg);
}

.eiva-loader-fading-circle > div:nth-child(2):before {
    animation-delay: -1s;
}

.eiva-loader-fading-circle > div:nth-child(3) {
    transform: rotate(90deg);
}

.eiva-loader-fading-circle > div:nth-child(3):before {
    animation-delay: -0.9s;
}

.eiva-loader-fading-circle > div:nth-child(4) {
    transform: rotate(120deg);
}

.eiva-loader-fading-circle > div:nth-child(4):before {
    animation-delay: -0.8s;
}

.eiva-loader-fading-circle > div:nth-child(5) {
    transform: rotate(150deg);
}

.eiva-loader-fading-circle > div:nth-child(5):before {
    animation-delay: -0.7s;
}

.eiva-loader-fading-circle > div:nth-child(6) {
    transform: rotate(180deg);
}

.eiva-loader-fading-circle > div:nth-child(6):before {
    animation-delay: -0.6s;
}

.eiva-loader-fading-circle > div:nth-child(7) {
    transform: rotate(210deg);
}

.eiva-loader-fading-circle > div:nth-child(7):before {
    animation-delay: -0.5s;
}

.eiva-loader-fading-circle > div:nth-child(8) {
    transform: rotate(240deg);
}

.eiva-loader-fading-circle > div:nth-child(8):before {
    animation-delay: -0.4s;
}

.eiva-loader-fading-circle > div:nth-child(9) {
    transform: rotate(270deg);
}

.eiva-loader-fading-circle > div:nth-child(9):before {
    animation-delay: -0.3s;
}

.eiva-loader-fading-circle > div:nth-child(10) {
    transform: rotate(300deg);
}

.eiva-loader-fading-circle > div:nth-child(10):before {
    animation-delay: -0.2s;
}

.eiva-loader-fading-circle > div:nth-child(11) {
    transform: rotate(330deg);
}

.eiva-loader-fading-circle > div:nth-child(11):before {
    animation-delay: -0.1s;
}

.eiva-loader-fading-circle > div:nth-child(12) {
    transform: rotate(360deg);
}

.eiva-loader-fading-circle > div:nth-child(12):before {
    animation-delay: 0s;
}

/* Folding Cube */
@keyframes eiva-folding-cube {
    0%, 10% {
        transform: perspective(140px) rotateX(-180deg);
        opacity: 0;
    }
    25%, 75% {
        transform: perspective(140px) rotateX(0deg);
        opacity: 1;
    }
    90%, 100% {
        transform: perspective(140px) rotateY(180deg);
        opacity: 0;
    }
}

.eiva-loader-folding-cube {
    width: 40px;
    height: 40px;
    position: relative;
    transform: rotateZ(45deg);
}

.eiva-loader-folding-cube > div {
    float: left;
    width: 50%;
    height: 50%;
    position: relative;
    transform: scale(1.1);
}

.eiva-loader-folding-cube > div:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: currentColor;
    animation: eiva-folding-cube 2.4s infinite linear both;
    transform-origin: 100% 100%;
}

.eiva-loader-folding-cube > div:nth-child(1) {
    transform: scale(1.1) rotateZ(0deg);
}

.eiva-loader-folding-cube > div:nth-child(1):before {
    animation-delay: 0s;
}

.eiva-loader-folding-cube > div:nth-child(2) {
    transform: scale(1.1) rotateZ(90deg);
}

.eiva-loader-folding-cube > div:nth-child(2):before {
    animation-delay: 0.3s;
}

.eiva-loader-folding-cube > div:nth-child(3) {
    transform: scale(1.1) rotateZ(270deg);
}

.eiva-loader-folding-cube > div:nth-child(3):before {
    animation-delay: 0.9s;
}

.eiva-loader-folding-cube > div:nth-child(4) {
    transform: scale(1.1) rotateZ(180deg);
}

.eiva-loader-folding-cube > div:nth-child(4):before {
    animation-delay: 0.6s;
}

/* ===== ADDITIONAL LOADERS ===== */

/* Cube Transition */
@keyframes eiva-cube-transition {
    25% {
        transform: translateX(42px) rotate(-90deg) scale(0.5);
    }
    50% {
        transform: translateX(42px) translateY(42px) rotate(-180deg);
    }
    75% {
        transform: translateX(0px) translateY(42px) rotate(-270deg) scale(0.5);
    }
    100% {
        transform: rotate(-360deg);
    }
}

.eiva-loader-cube-transition {
    width: 60px;
    height: 60px;
    position: relative;
}

.eiva-loader-cube-transition > div {
    width: 15px;
    height: 15px;
    position: absolute;
    top: 0;
    left: 0;
    animation: eiva-cube-transition 1.6s 0s ease-in-out infinite;
}

.eiva-loader-cube-transition > div:nth-child(2) {
    animation-delay: -0.8s;
}

/* Rotating Plane */
@keyframes eiva-rotating-plane {
    0% {
        transform: perspective(120px) rotateX(0deg) rotateY(0deg);
    }
    50% {
        transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
    }
    100% {
        transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    }
}

.eiva-loader-rotating-plane {
    width: 40px;
    height: 40px;
}

.eiva-loader-rotating-plane > div {
    width: 40px;
    height: 40px;
    animation: eiva-rotating-plane 1.2s infinite ease-in-out;
}

/* Double Bounce */
@keyframes eiva-double-bounce {
    0%, 100% {
        transform: scale(0);
    }
    50% {
        transform: scale(1);
    }
}

.eiva-loader-double-bounce {
    width: 40px;
    height: 40px;
    position: relative;
}

.eiva-loader-double-bounce > div {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    animation: eiva-double-bounce 2s infinite ease-in-out;
}

.eiva-loader-double-bounce > div:nth-child(2) {
    animation-delay: -1s;
}

/* Wave */
@keyframes eiva-wave {
    0%, 40%, 100% {
        transform: scaleY(0.4);
    }
    20% {
        transform: scaleY(1);
    }
}

.eiva-loader-wave {
    width: 50px;
    height: 40px;
}

.eiva-loader-wave > div {
    width: 6px;
    height: 100%;
    display: inline-block;
    margin: 1px;
    animation: eiva-wave 1.2s infinite ease-in-out;
}

.eiva-loader-wave > div:nth-child(1) {
    animation-delay: -1.2s;
}

.eiva-loader-wave > div:nth-child(2) {
    animation-delay: -1.1s;
}

.eiva-loader-wave > div:nth-child(3) {
    animation-delay: -1s;
}

.eiva-loader-wave > div:nth-child(4) {
    animation-delay: -0.9s;
}

.eiva-loader-wave > div:nth-child(5) {
    animation-delay: -0.8s;
}

/* Spinner Pulse */
@keyframes eiva-spinner-pulse {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

.eiva-loader-spinner-pulse {
    width: 40px;
    height: 40px;
}

.eiva-loader-spinner-pulse > div {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: eiva-spinner-pulse 1s ease-in-out infinite;
}

/* Spinner Chasing Dots */
@keyframes eiva-spinner-chasing-dots-rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes eiva-spinner-chasing-dots-bounce {
    0%, 100% {
        transform: scale(0);
    }
    50% {
        transform: scale(1);
    }
}

.eiva-loader-spinner-chasing-dots {
    width: 40px;
    height: 40px;
    position: relative;
    animation: eiva-spinner-chasing-dots-rotate 2s infinite linear;
}

.eiva-loader-spinner-chasing-dots > div {
    width: 60%;
    height: 60%;
    display: inline-block;
    position: absolute;
    top: 0;
    border-radius: 100%;
    animation: eiva-spinner-chasing-dots-bounce 2s infinite ease-in-out;
}

.eiva-loader-spinner-chasing-dots > div:nth-child(1) {
    left: 0;
}

.eiva-loader-spinner-chasing-dots > div:nth-child(2) {
    left: 0;
    animation-delay: -1s;
}

/* Spinner Three Bounce */
@keyframes eiva-spinner-three-bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

.eiva-loader-spinner-three-bounce {
    width: 70px;
    height: 20px;
}

.eiva-loader-spinner-three-bounce > div {
    width: 18px;
    height: 18px;
    border-radius: 100%;
    display: inline-block;
    animation: eiva-spinner-three-bounce 1.4s ease-in-out infinite both;
}

.eiva-loader-spinner-three-bounce > div:nth-child(1) {
    animation-delay: -0.32s;
}

.eiva-loader-spinner-three-bounce > div:nth-child(2) {
    animation-delay: -0.16s;
}

/* ===== RESPONSIVE & UTILITY CLASSES ===== */

/* سایزبندی responsive */
@media (max-width: 768px) {
    .eiva-loader {
        transform: scale(0.8);
    }
}

@media (max-width: 480px) {
    .eiva-loader {
        transform: scale(0.6);
    }
}

/* کلاس‌های کمکی برای سایز */
.eiva-loader-small {
    transform: scale(0.7);
}

.eiva-loader-medium {
    transform: scale(1);
}

.eiva-loader-large {
    transform: scale(1.3);
}

.eiva-loader-extra-large {
    transform: scale(1.6);
}

/* حالت مخفی */
.eiva-loader-hidden {
    display: none !important;
}

/* حالت شفاف */
.eiva-loader-transparent {
    opacity: 0.5;
}

/* تنظیمات رنگ سفارشی */
.eiva-loader-primary {
    color: #007cba;
}

.eiva-loader-secondary {
    color: #666;
}

.eiva-loader-success {
    color: #46b450;
}

.eiva-loader-warning {
    color: #ffb900;
}

.eiva-loader-danger {
    color: #dc3232;
}









.eiva-ajax-container .eiva-loader-container .eiva-loader.eiva-loader-ball-clip-rotate div {
    background-color: transparent !important;
}


.eiva-ajax-container .eiva-loader-container .eiva-loader.eiva-loader-ball-clip-rotate-pulse div {
    background-color: transparent !important;
}


.eiva-ajax-container .eiva-loader-container .eiva-loader.eiva-loader-ball-clip-rotate-multiple div {
    background-color: transparent !important;
}


div .eiva-loader-ball-spin-fade-loader > div:nth-child(1) {
    top: 9px;
    left: 24px;
    animation-delay: 0s;
}

.eiva-ajax-container .eiva-loader-container .eiva-loader.eiva-loader-fading-circle div {
    background-color: transparent !important;
}
.eiva-ajax-container .eiva-loader-container .eiva-loader.eiva-loader-folding-cube div {
    background-color: transparent !important;
}