/* SweetAlert2 RTL Support - Global Styles */
/* This file should be included in all layouts that use SweetAlert2 */

.swal2-rtl {
    direction: rtl;
    text-align: right;
}

.swal2-rtl .swal2-title {
    text-align: center;
    font-family: 'IRANSansX', 'Tahoma', sans-serif;
}

.swal2-rtl .swal2-content {
    text-align: center;
    font-family: 'IRANSansX', 'Tahoma', sans-serif;
}

.swal2-rtl .swal2-html-container {
    text-align: center;
    direction: rtl;
}

.swal2-rtl .swal2-actions {
    flex-direction: row-reverse;
    gap: 0.5em;
}

.swal2-rtl .swal2-confirm {
    margin-left: 0.5em;
    margin-right: 0;
    font-family: 'IRANSansX', 'Tahoma', sans-serif;
}

.swal2-rtl .swal2-cancel {
    margin-right: 0.5em;
    margin-left: 0;
    font-family: 'IRANSansX', 'Tahoma', sans-serif;
}

.swal2-rtl .swal2-footer {
    text-align: center;
    direction: rtl;
}

/* Ensure proper spacing for RTL buttons */
.swal2-rtl .swal2-actions button {
    font-family: 'IRANSansX', 'Tahoma', sans-serif;
}

/* Loading spinner alignment for RTL */
.swal2-rtl .swal2-loader {
    margin: 0 auto;
}

