@charset "UTF-8";

/*!
 * Bootstrap v5.0.1 (https://getbootstrap.com/)
 * Copyright 2011-2021 The Bootstrap Authors
 * Copyright 2011-2021 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
 */

/* LTR */

.arrow {
    left: auto;
    right: 1.5rem;
}

.modal-footer .arrow {
    rotate: 90deg;
}

img[src*="next"],
img[src*="prev"],
img[src*="arrow-left-white"] {
    transform: rotate(-180deg);
}

.scroll {
    direction: rtl !important;
}

.scroll>*:not(#modal_share_container) {
    direction: ltr !important;
}

.page-item:last-child .page-link {
    border-radius: 0.25rem 0.5rem 0.5rem 0.25rem;
}

.page-item:first-child .page-link {
    border-radius: 0.5rem 0.25rem 0.25rem 0.5rem;
}

.dropdown-menu-start[data-bs-popper] {
    right: 0;
    left: auto;
}

/* Card direction: hadith & benefit cards follow page locale (LTR) */
/* Aya card stays RTL via .ayah_card .share_container in style.css */
.hedayat_card .share_container {
    direction: ltr;
}

.ayah_card .share_container {
    direction: rtl;
}

.ayah_card .explain_text {
    direction: ltr;
}

.owl-carousel .hedayat_card .card_footer {
    direction: ltr;
}
