/* Form Builder Pro - RTL Support */

/* RTL Direction */
.fbp-rtl {
    direction: rtl;
    text-align: right;
}

/* Required Mark */
.fbp-rtl .fbp-required {
    margin-left: 0;
    margin-right: 3px;
}

/* Select Dropdown Arrow */
.fbp-rtl .fbp-field-select {
    background-position: left 12px center;
    padding-left: 35px;
    padding-right: 15px;
}

/* Radio & Checkbox */
.fbp-rtl .fbp-radio-label,
.fbp-rtl .fbp-checkbox-label {
    flex-direction: row-reverse;
}

/* Field Error Message */
.fbp-rtl .fbp-field-error-message {
    text-align: right;
}

/* Form Messages */
.fbp-rtl .fbp-success-message,
.fbp-rtl .fbp-error-message {
    text-align: right;
}

/* Loading Spinner */
.fbp-rtl .fbp-submit-btn.fbp-loading::after {
    margin-left: auto;
    margin-right: -10px;
    right: 50%;
    left: auto;
}

/* File Upload */
.fbp-rtl .fbp-field-file {
    text-align: right;
}

/* Empty State Error */
.fbp-rtl .fbp-error {
    text-align: center;
}