/* ============================================================
   CuponTrust — rtl.css
   Inversions pour les langues RTL (arabe, etc.)
   Chargé uniquement quand dir="rtl" sur <html>
   ============================================================ */

/* Direction générale */
html[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

/* Navigation */
html[dir="rtl"] .header-inner { flex-direction: row-reverse; }
html[dir="rtl"] .logo { flex-direction: row-reverse; }
html[dir="rtl"] .main-nav { flex-direction: row-reverse; }
html[dir="rtl"] .header-actions { flex-direction: row-reverse; }
html[dir="rtl"] .lang-dropdown { right: auto; left: 0; }

/* Drawer mobile */
html[dir="rtl"] .drawer-panel { left: auto; right: 0; animation-name: slideInRTL; }
@keyframes slideInRTL {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}
html[dir="rtl"] .drawer-nav a { flex-direction: row-reverse; }

/* Select arrow */
html[dir="rtl"] .form-group select {
  background-position: left 12px center;
  padding-right: 16px;
  padding-left: 40px;
}

/* Form */
html[dir="rtl"] .form-group label { text-align: right; }
html[dir="rtl"] .form-group label .required { margin-left: 0; margin-right: 3px; }
html[dir="rtl"] .form-privacy { flex-direction: row-reverse; }

/* Cards with flex */
html[dir="rtl"] .feature-card { flex-direction: row-reverse; }
html[dir="rtl"] .contact-info-item { flex-direction: row-reverse; }
html[dir="rtl"] .step-card { direction: rtl; }
html[dir="rtl"] .trust-item { flex-direction: row-reverse; }
html[dir="rtl"] .alert { flex-direction: row-reverse; }
html[dir="rtl"] .result-email-note { flex-direction: row-reverse; }
html[dir="rtl"] .info-card ul li { flex-direction: row-reverse; }
html[dir="rtl"] .process-step { flex-direction: row-reverse; }

/* FAQ */
html[dir="rtl"] .faq-question { flex-direction: row-reverse; }

/* Footer */
html[dir="rtl"] .footer-bottom { flex-direction: row-reverse; text-align: right; }
html[dir="rtl"] .footer-col { text-align: right; }

/* Back to top */
html[dir="rtl"] .back-to-top { right: auto; left: 20px; }

/* breadcrumb */
html[dir="rtl"] .breadcrumb { flex-direction: row-reverse; }

/* Hero stats */
html[dir="rtl"] .hero-stats { flex-direction: row-reverse; }

/* Custom: inverse padding/margin helpers in RTL */
html[dir="rtl"] .pl-16 { padding-left: 0; padding-right: 16px; }
html[dir="rtl"] .pr-16 { padding-right: 0; padding-left: 16px; }
html[dir="rtl"] .ml-8  { margin-left: 0;  margin-right: 8px; }
html[dir="rtl"] .mr-8  { margin-right: 0; margin-left: 8px; }

/* Input text alignment */
html[dir="rtl"] input[type="text"],
html[dir="rtl"] input[type="email"],
html[dir="rtl"] textarea {
  text-align: right;
}

/* Poppins/Inter look fine for Arabic but add Noto Sans Arabic as fallback */
html[dir="rtl"] body {
  font-family: 'Noto Sans Arabic', 'Inter', 'Roboto', sans-serif;
}
