/* ==========================================================================
   Dorano Forms — RTL Overrides
   ========================================================================== */

/* Auth card direction */
.dorano-auth {
    direction: rtl;
}

/* Input wrap: keep natural RTL direction (icon right, input left, toggle far-left) */
.dorano-auth__input-wrap {
    flex-direction: row;
}

/* Password toggle should stay at the end (left side in RTL) */
.dorano-auth__toggle-pw {
    order: 0;
}

/* Text inputs: ensure RTL text direction */
.dorano-auth__input-wrap input {
    text-align: right;
    direction: rtl;
}

/* Email/tel inputs: keep LTR for actual content but right-align */
.dorano-auth__input-wrap input[type="email"],
.dorano-auth__input-wrap input[type="tel"] {
    direction: ltr;
    text-align: right;
}

/* Password field: LTR characters but right-aligned */
.dorano-auth__input-wrap input[type="password"] {
    direction: ltr;
    text-align: right;
}

/* Labels alignment */
.dorano-auth__field label,
.dorano-auth__panel .woocommerce-form-row label {
    text-align: right;
}

/* Half-row fields RTL */
.dorano-auth__panel .form-row-first {
    margin-left: 0;
    margin-right: 4%;
    float: right;
}

.dorano-auth__panel .form-row-last {
    float: left;
}

/* Remember/forgot row */
.dorano-auth__row {
    flex-direction: row;
}

/* Injected registration fields: ensure right-aligned */
.dorano-auth__panel .woocommerce-form-row .input-text,
.dorano-auth__panel .woocommerce-form-row select {
    text-align: right;
}

/* Checkout form RTL */
.woocommerce-checkout .form-row {
    text-align: right;
}
