/*
 * ==========================================================
 * EXCLUDE EDIT USER FORMS FROM RTL LAYOUT
 * ==========================================================
 *
 * Forces LTR layout for edit user forms only
 * Excludes tk-user-new (add user form) to keep it RTL
 */

/* ==========================================================
 * FORCE LTR FOR EDIT USER FORMS ONLY (NOT ADD USER)
 * ========================================================== */

.tk-profile-edit-box:not(.tk-user-new) {
    direction: ltr !important;
    text-align: left !important;
}

.tk-profile-edit-box:not(.tk-user-new) .tk-top-bar {
    direction: ltr !important;
    text-align: left !important;
}

.tk-profile-edit-box:not(.tk-user-new) .tk-main {
    direction: ltr !important;
}

.tk-profile-edit-box:not(.tk-user-new) .tk-input {
    direction: ltr !important;
    text-align: left !important;
}

.tk-profile-edit-box:not(.tk-user-new) .tk-input > span {
    text-align: left !important;
}

.tk-profile-edit-box:not(.tk-user-new) .tk-input > input,
.tk-profile-edit-box:not(.tk-user-new) .tk-input > select,
.tk-profile-edit-box:not(.tk-user-new) .tk-input > textarea {
    text-align: left !important;
    direction: ltr !important;
}

.tk-profile-edit-box:not(.tk-user-new) .tk-title {
    text-align: left !important;
    direction: ltr !important;
}

.tk-profile-edit-box:not(.tk-user-new) .tk-edit-box {
    direction: ltr !important;
}

.tk-profile-edit-box:not(.tk-user-new) .tk-details {
    direction: ltr !important;
}

.tk-profile-edit-box:not(.tk-user-new) .tk-additional-details {
    direction: ltr !important;
}

/* Fix button alignment in LTR */
.tk-profile-edit-box:not(.tk-user-new) .tk-top-bar > div:last-child {
    direction: ltr !important;
    justify-content: flex-end !important;
}

.tk-profile-edit-box:not(.tk-user-new) .tk-delete {
    text-align: left !important;
    direction: ltr !important;
}

/* Move name 20px to the right to avoid overlap with profile image - More specific */
.tk-profile-edit-box:not(.tk-user-new) .tk-top-bar .tk-profile span,
.tk-profile-edit-box:not(.tk-user-new) .tk-profile .tk-name {
    margin-left: 20px !important;
    padding-left: 10px !important;
    position: relative !important;
    left: 20px !important;
}