﻿.swal2-popup.swal2-toast .swal2-icon {
    margin: 0 0 0 .5em !important;
}

.form-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    z-index: 10;
    cursor: not-allowed;
}

.form-loading {
    pointer-events: none; /* جلوگیری از تعامل با فیلدها */
    opacity: 0.7; /* کاهش شفافیت برای حالت لودینگ */
}

.ltr {
    direction: ltr !important;
}

.ltr-center {
    direction: ltr !important;
    text-align: center !important;
}

.ltr-right {
    direction: ltr !important;
    text-align: right !important;
}

.ltr-left {
    direction: ltr !important;
    text-align: left !important;
}

.rtl {
    direction: rtl !important;
}

.rtl-center {
    direction: rtl !important;
    text-align: center !important;
}

.rtl-right {
    direction: rtl !important;
    text-align: right !important;
}

.rtl-left {
    direction: rtl !important;
    text-align: left !important;
}

.partners-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.partner-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

    .partner-logo:hover {
        transform: scale(1.1);
    }

    .partner-logo img,
    .partner-logo svg {
        width: 50px;
        height: 50px;
        margin-left: 10px;
    }

    .partner-logo span {
        font-size: 1.1rem;
        font-weight: 500;
    }

@media (max-width: 576px) {
    .partner-logo img,
    .partner-logo svg {
        width: 40px;
        height: 40px;
    }

    .partner-logo span {
        font-size: 1rem;
    }
}
.image-upload-container:hover .upload-overlay {
    opacity: 1 !important;
}

.image-upload-container:hover img {
    opacity: 0.7;
}

.upload-overlay {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner-border {
    width: 2rem;
    height: 2rem;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border 0.75s linear infinite;
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}
/* Loading Styles */
.loading-overlay {
    font-family: inherit;
}

.loading-spinner {
    /* استایل‌های اضافی برای spinner در صورت نیاز */
}

/* حالت تاریک */
.dark .loading-overlay {
    background-color: rgba(0, 0, 0, 0.7);
}

/* برای فرم‌ها */
form.loading {
    pointer-events: none;
}

/* انیمیشن‌های اضافی */
.loading-overlay.fade-in {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* responsive */
@media (max-width: 640px) {
    .loading-overlay {
        font-size: 12px;
    }
}
.price-format {
    font-variant-numeric: tabular-nums;
}

    .price-format::after {
        content: attr(data-price);
    }