/*
 * RTL overrides for hosting-booking.css. Scoped under body.ccb-lang-ar
 * (set by the cc-bilingual plugin) rather than replacing the base
 * stylesheet outright — the base file is almost entirely flexbox/grid,
 * which mirrors correctly under dir="rtl" on its own; only these
 * confirmed directional declarations need an explicit flip.
 *
 * Enqueued conditionally, only when Arabic is active — see
 * class-dsb-assets.php.
 */

/* .dsb-steps__item:not(:last-child)::after — the chevron separator's
   spacing, hosting-booking.css:132-136 */
body.ccb-lang-ar .dsb-steps__item:not(:last-child)::after {
	margin-left: 0;
	margin-right: var(--ds-4);
}

/* .dsb-plan [data-dsb-change-plan] — pushed to the trailing edge of its
   flex row, hosting-booking.css:186-188 */
body.ccb-lang-ar .dsb-plan [data-dsb-change-plan] {
	margin-left: 0;
	margin-right: auto;
}

/* .dsb-plans__btn — plan-card button text alignment, hosting-booking.css:249-262 */
body.ccb-lang-ar .dsb-plans__btn {
	text-align: right;
}

/* .dsb-choice__btn — domain-mode choice button text alignment, hosting-booking.css:376-389 */
body.ccb-lang-ar .dsb-choice__btn {
	text-align: right;
}

/* .dsb-fieldset label — contact-channel/window radio label spacing, hosting-booking.css:537-544 */
body.ccb-lang-ar .dsb-fieldset label {
	margin-right: 0;
	margin-left: var(--ds-5);
}
