/* Rihlatu Al-Qur'an Translation Engine Styles */

/* Suppress Google Translate Default UI, Tooltips & Frame Banner */
.goog-te-banner-frame,
iframe.goog-te-banner-frame,
.goog-te-balloon-frame,
#goog-gt-tt,
.goog-te-balloon,
.goog-tooltip,
.goog-tooltip:hover {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    pointer-events: none !important;
}

body {
    top: 0px !important;
    position: static !important;
}

.goog-text-highlight {
    background: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

#google_translate_element {
    display: none !important;
    visibility: hidden !important;
}

/* RTL Typography & Alignment for Arabic */
html[dir="rtl"] {
    text-align: right;
}

html[lang="ar"],
html[dir="rtl"] {
    font-family: 'Figtree', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Cairo", "Amiri", "Tahoma", sans-serif;
}

/* Flip arrow icons smoothly when in RTL mode */
html[dir="rtl"] .rtl-flip {
    transform: scaleX(-1);
}

/* Ensure smooth interactive dropdown */
.app-language-dropdown {
    min-width: 170px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}
