/* ==========================================================================
   Ajustements RTL — charges uniquement quand la langue courante est l'arabe
   (dir="rtl"). La police arabe remplace la police latine.
   ========================================================================== */

body {
    font-family: var(--police-ar);
    direction: rtl;
    text-align: right;
}

/* Le corps utilise les proprietes logiques : le reste suit automatiquement */
.corps {
    flex-direction: row;
}

.sidebar {
    border-inline-end: none;
}

.menu-lateral a {
    text-align: right;
}

.infos-utilisateur dt {
    text-align: right;
}

.champ {
    text-align: right;
}

.champ input {
    text-align: right;
}

.champ input[type="email"] {
    direction: ltr; /* les e-mails restent en lecture latine */
    text-align: left;
}

/* Fleche du bouton retour : vers la droite en arabe */
.fleche-retour {
    transform: scaleX(-1);
}
