.lmsotp-page {
    --lmsotp-green: #58a18f;
    --lmsotp-green-dark: #4b9583;
    --lmsotp-green-line: #70b9ad;
    --lmsotp-green-soft: #e2f3f1;
    --lmsotp-text: #4b4b4b;
    --lmsotp-muted: #a7a7a7;
    --lmsotp-border: #bdbdbd;
    --lmsotp-danger-soft: #fdecee;
    --lmsotp-danger: #e99bad;
    box-sizing: border-box;
    max-width: 960px;
    width: 100%;
    margin: 24px auto 40px;
    padding: 0 16px;
    direction: rtl;
    color: var(--lmsotp-text);
    font-family: inherit;
    font-size: 15px;
    line-height: 1.7;
}

.lmsotp-page,
.lmsotp-page *,
.lmsotp-page *::before,
.lmsotp-page *::after {
    box-sizing: border-box !important;
}

.lmsotp-card {
    width: 450px;
    max-width: 100%;
    margin: 0 auto;
    padding: 32px 40px 36px;
    background: #fff;
    border: 1px solid #d5d5d5;
    border-radius: 16px;
    box-shadow: none;
}

.lmsotp-head {
    position: relative;
    text-align: right;
}

.lmsotp-head h1 {
    margin: 0;
    padding: 0;
    color: #4b4b4b;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
}

.lmsotp-head-line {
    width: 100%;
    height: 3px;
    margin: 16px 0 28px;
    background: var(--lmsotp-green-line);
    border-radius: 3px;
}

.lmsotp-head-with-back .lmsotp-back {
    position: absolute;
    left: 0;
    top: -5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: #555;
    font-family: Arial, sans-serif;
    font-size: 34px;
    font-weight: 300;
    line-height: 1;
    text-decoration: none;
}

.lmsotp-intro {
    margin: 0 0 20px;
    color: #555;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.8;
    text-align: right;
}

.lmsotp-form {
    margin: 0;
}

.lmsotp-label {
    display: block;
    margin: 0 0 6px;
    color: #4b4b4b;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    text-align: right;
}

.lmsotp-label > span {
    color: #579f8d;
    font-size: 16px;
    font-weight: 700;
}

.lmsotp-label small {
    color: #777;
    font-size: 12px;
    font-weight: 400;
}

.lmsotp-input,
.lmsotp-textarea {
    display: block;
    width: 100% !important;
    border: 1px solid var(--lmsotp-border) !important;
    border-radius: 10px !important;
    outline: none;
    background: #fff !important;
    color: #4b4b4b !important;
    box-shadow: none !important;
    font-family: inherit;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.lmsotp-input {
    height: 48px !important;
    padding: 0 12px !important;
    font-size: 14px !important;
    line-height: 46px !important;
}

.lmsotp-textarea {
    min-height: 130px;
    padding: 12px !important;
    resize: vertical;
    font-size: 14px !important;
    line-height: 1.8 !important;
}

.lmsotp-textarea[name="about"] {
    min-height: 160px;
}

.lmsotp-textarea[name="address"] {
    min-height: 100px;
}

.lmsotp-input:focus,
.lmsotp-textarea:focus,
.lmsotp-otp-box:focus {
    border-color: #58a18f !important;
    box-shadow: 0 0 0 3px rgba(88, 161, 143, .14) !important;
}

.lmsotp-input::placeholder,
.lmsotp-textarea::placeholder {
    color: var(--lmsotp-muted);
    opacity: 1;
}

.lmsotp-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.lmsotp-phone-wrap {
    position: relative;
    direction: ltr;
}

.lmsotp-phone-prefix:empty {
    display: none;
}

.lmsotp-phone-input {
    direction: ltr;
    text-align: left;
    padding-inline: 14px !important;
}

.lmsotp-phone-input::placeholder {
    direction: rtl;
    text-align: right;
}

.lmsotp-btn {
    display: block;
    min-height: 48px;
    padding: 0 18px !important;
    border: 1px solid var(--lmsotp-green-line) !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    color: #fff !important;
    font-family: inherit;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 46px !important;
    text-align: center;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, transform .12s ease;
}

.lmsotp-btn:active {
    transform: translateY(1px);
}

.lmsotp-btn-primary {
    width: 100%;
    margin-top: 22px;
    background: var(--lmsotp-green) !important;
}

.lmsotp-btn-primary:hover,
.lmsotp-btn-primary:focus {
    background: var(--lmsotp-green-dark) !important;
    border-color: var(--lmsotp-green-dark) !important;
}

.lmsotp-page-login .lmsotp-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.lmsotp-login-password-wrap {
    margin-top: 12px;
}

.lmsotp-login-password-wrap[hidden] {
    display: none !important;
}

.lmsotp-login-mode-toggle {
    display: block;
    width: max-content;
    max-width: 100%;
    margin: 14px auto 0;
    padding: 0;
    color: #579f8d;
    background: transparent;
    border: 0;
    cursor: pointer;
    font: inherit;
    text-decoration: none;
}

.lmsotp-login-mode-toggle:hover,
.lmsotp-login-mode-toggle:focus {
    color: #407f70;
    text-decoration: underline;
}

.lmsotp-phone-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: fit-content;
    max-width: 100%;
    min-height: 56px;
    margin: 0 auto 18px;
    padding: 8px 14px;
    overflow: hidden;
    border-radius: 14px;
    background: #e2f3f1;
    color: #579f8d;
    direction: ltr;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.lmsotp-phone-chip > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: inherit;
    text-decoration: none;
}

.lmsotp-phone-chip > a svg {
    display: block;
    flex: 0 0 auto;
    width: 20px !important;
    height: 20px !important;
}

.lmsotp-phone-chip > span,
.lmsotp-phone-chip > a > span {
    unicode-bidi: isolate;
}

.lmsotp-phone-chip > a:hover,
.lmsotp-phone-chip > a:focus {
    color: #579f8d;
}
.lmsotp-verify-text {
    margin: 0 0 12px;
    color: #555;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
    text-align: center;
}

.lmsotp-verify-text strong {
    color: #579f8d;
    direction: ltr;
    unicode-bidi: isolate;
    white-space: nowrap;
}

.lmsotp-otp-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 0 0 16px;
    direction: ltr;
}

.lmsotp-otp-box {
    width: 48px;
    height: 48px;
    padding: 0 !important;
    border: 1px solid var(--lmsotp-border) !important;
    border-radius: 10px !important;
    outline: 0;
    background: #fff !important;
    color: #4b4b4b !important;
    box-shadow: none !important;
    direction: ltr;
    font-size: 16px !important;
    font-weight: 500;
    line-height: 46px !important;
    text-align: center;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.lmsotp-action-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 132px;
    gap: 10px;
    align-items: center;
    direction: rtl;
}

.lmsotp-action-row .lmsotp-btn {
    margin-top: 0;
}

.lmsotp-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 10px;
    border: 1px solid #d6eeeb;
    border-radius: 10px;
    background: #fff;
    color: #79bbae;
    font-size: 15px;
    font-weight: 500;
    direction: ltr;
    text-align: center;
}

.lmsotp-text-link {
    display: table;
    max-width: 100%;
    margin: 14px auto 0;
    padding: 0;
    border-bottom: 1px solid #c8c8c8;
    color: #949494;
    font-size: 15px;
    line-height: 1.7;
    text-decoration: none;
}

.lmsotp-text-link:hover,
.lmsotp-text-link:focus {
    color: var(--lmsotp-green-dark);
    text-decoration: underline;
}

.lmsotp-resend.is-disabled {
    pointer-events: none;
    opacity: .45;
}

.lmsotp-register-tabs {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin: 0 0 18px;
}

.lmsotp-consultant-notice {
    display: none;
    align-items: center;
    gap: 7px;
    min-height: 42px;
    margin: 0 0 14px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #fdecee;
    color: #5d5557;
    font-size: 12px;
    line-height: 1.6;
}

.lmsotp-page.is-consultant-active .lmsotp-consultant-notice {
    display: flex;
}

.lmsotp-visibility-icon {
    display: inline-flex;
    flex: 0 0 18px;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: #d995a3;
}

.lmsotp-visibility-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.lmsotp-visibility-icon img,
.lmsotp-private-mark img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.lmsotp-visibility-icon circle {
    fill: currentColor;
    stroke: none;
}

.lmsotp-private-mark {
    display: none !important;
}

.lmsotp-page.is-consultant-active .lmsotp-label > .lmsotp-private-mark {
    display: inline-flex !important;
    float: left;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin: 0 0 0 4px;
    color: #d995a3 !important;
    font-size: inherit !important;
    font-weight: 400 !important;
    line-height: 1;
    vertical-align: middle;
}

.lmsotp-private-mark svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.lmsotp-private-mark circle {
    fill: currentColor;
    stroke: none;
}

.lmsotp-tab {
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: #999;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    cursor: pointer;
    transition: color .15s ease, background-color .15s ease, border-color .15s ease;
}

.lmsotp-tab.is-active {
    border-color: var(--lmsotp-green-line);
    background: var(--lmsotp-green);
    color: #fff;
    font-weight: 700;
}

.lmsotp-confirmed-phone {
    display: none;
}

.lmsotp-grid {
    display: grid;
    gap: 14px 10px;
}

.lmsotp-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lmsotp-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lmsotp-consultant-fields > .lmsotp-grid-2:first-of-type > .lmsotp-field-email {
    grid-column: 1;
    grid-row: 3;
}

.lmsotp-consultant-fields > .lmsotp-grid-2:first-of-type > .lmsotp-field-education {
    grid-column: 2;
    grid-row: 3;
}

.lmsotp-consultant-fields > .lmsotp-grid-2:first-of-type > .lmsotp-field-experience {
    grid-column: 1;
    grid-row: 4;
}

.lmsotp-consultant-fields > .lmsotp-grid-2:first-of-type > .lmsotp-field-languages {
    grid-column: 2;
    grid-row: 4;
}

.lmsotp-field {
    min-width: 0;
}

.lmsotp-field-full {
    margin-top: 16px;
}

.lmsotp-consultant-fields {
    margin-top: 18px;
}

.lmsotp-consultant-fields[hidden] {
    display: none !important;
}

.lmsotp-alert {
    margin: 6px 0 0;
    padding: 8px 10px;
    border-radius: 8px;
    background: var(--lmsotp-danger-soft);
    color: #986a75;
    font-size: 12px;
    line-height: 1.7;
}

.lmsotp-alert span {
    color: var(--lmsotp-danger);
}

.lmsotp-segmented {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    min-height: 48px;
    padding: 3px;
    border: 1px solid var(--lmsotp-border);
    border-radius: 10px;
    background: #fff;
}

.lmsotp-segmented label {
    margin: 0;
    cursor: pointer;
}

.lmsotp-segmented input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.lmsotp-segmented span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    border-radius: 7px;
    color: #999;
    font-size: 14px;
}

.lmsotp-segmented input:checked + span {
    background: var(--lmsotp-green);
    color: #fff;
    font-weight: 700;
}

.lmsotp-register-gender .lmsotp-segmented {
    min-height: 44px;
}

.lmsotp-register-gender .lmsotp-segmented span {
    height: 36px;
}

.lmsotp-register-gender input:focus-visible + span {
    outline: 2px solid var(--lmsotp-green);
    outline-offset: -2px;
}

.lmsotp-upload {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 126px;
    padding: 12px 8px;
    border: 1px dashed #a8c4d6;
    border-radius: 10px;
    background: #f5f9fe;
    color: #607986;
    text-align: center;
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease;
}

.lmsotp-upload:hover,
.lmsotp-upload:focus-within {
    border-color: var(--lmsotp-green);
    background: #f3fbf9;
}

.lmsotp-upload input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.lmsotp-upload-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: #79a9d7;
}

.lmsotp-upload-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.lmsotp-upload-icon-profile svg {
    fill: none;
    stroke: none;
}

.lmsotp-upload-icon-profile .lmsotp-profile-head,
.lmsotp-upload-icon-profile .lmsotp-profile-body {
    fill: currentColor;
    stroke: none;
}

.lmsotp-upload-icon-profile .lmsotp-upload-arrow {
    fill: currentColor;
    stroke: none;
}

.lmsotp-upload-icon-file svg {
    fill: none;
    stroke: none;
}

.lmsotp-upload-icon-file .lmsotp-file-shape {
    fill: currentColor;
    opacity: .34;
}

.lmsotp-upload-icon-file .lmsotp-file-fold {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.lmsotp-upload-icon-file .lmsotp-file-arrow {
    fill: currentColor;
}

.lmsotp-upload-title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    min-height: 30px;
    padding: 0 10px;
    overflow: hidden;
    border-radius: 8px;
    background: var(--lmsotp-green);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lmsotp-upload small {
    color: #76868d;
    font-size: 10px;
    line-height: 1.5;
}

.lmsotp-upload-wide {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    grid-template-areas: "icon title" "icon help";
    align-items: center;
    justify-items: end;
    min-height: 92px;
    padding: 12px 14px;
    border-style: dashed;
    text-align: right;
    direction: ltr;
}

.lmsotp-upload-wide .lmsotp-upload-icon {
    grid-area: icon;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #e2efff;
}

.lmsotp-upload-wide .lmsotp-upload-title {
    grid-area: title;
    justify-self: end;
    direction: rtl;
}

.lmsotp-upload-wide small {
    grid-area: help;
    justify-self: end;
    width: auto;
    direction: rtl;
}

.lmsotp-files-grid {
    margin-top: 16px;
}

.lmsotp-files-grid .lmsotp-label {
    min-height: 1.6em;
    font-size: 12px;
}

.lmsotp-files-grid .lmsotp-upload {
    min-height: 112px;
    padding: 8px 5px;
    border-style: solid;
}

.lmsotp-files-grid .lmsotp-upload-icon {
    width: 32px;
    height: 32px;
}

.lmsotp-files-grid .lmsotp-upload-title {
    width: 100%;
    min-height: 28px;
    padding: 0 4px;
    font-size: 10px;
}

.lmsotp-files-grid .lmsotp-upload small {
    font-size: 9px;
}

.lmsotp-sheba-wrap {
    position: relative;
    direction: ltr;
}

.lmsotp-sheba-wrap .lmsotp-input {
    padding-left: 42px !important;
    text-align: left;
}

.lmsotp-sheba-prefix {
    position: absolute;
    top: 50%;
    left: 13px;
    z-index: 1;
    color: #777;
    font-size: 13px;
    transform: translateY(-50%);
    pointer-events: none;
}

.lmsotp-register-submit {
    width: 100%;
    margin: 22px 0 0;
}

.lmsotp-register-form .select2-container {
    width: 100% !important;
    color: #4b4b4b;
    font-family: inherit;
    font-size: 14px;
}

.lmsotp-register-form .select2-container--default .select2-selection--single {
    display: flex;
    align-items: center;
    height: 48px;
    border: 1px solid var(--lmsotp-border);
    border-radius: 10px;
    background: #fff;
}

.lmsotp-register-form .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-right: 12px;
    padding-left: 28px;
    color: #4b4b4b;
    line-height: 1.5;
}

.lmsotp-register-form .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 1px;
    left: 1px;
    height: 46px;
}

.lmsotp-register-form .select2-container--default .select2-selection--multiple {
    position: relative;
    min-height: 48px;
    padding: 3px 5px 3px 26px;
    border: 1px solid var(--lmsotp-border);
    border-radius: 10px;
    background: #fff;
}

.lmsotp-register-form .select2-container--default .select2-selection--multiple::after {
    position: absolute;
    top: 17px;
    left: 13px;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid #999;
    border-bottom: 1.5px solid #999;
    content: "";
    transform: rotate(45deg);
    pointer-events: none;
}

.lmsotp-register-form .select2-container--default .select2-selection--multiple .select2-selection__placeholder {
    color: #a7a7a7;
    line-height: 2;
}

.lmsotp-register-form .select2-container--default.select2-container--focus .select2-selection--single,
.lmsotp-register-form .select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: #58a18f;
    box-shadow: 0 0 0 3px rgba(88, 161, 143, .14);
}

.lmsotp-register-form .select2-container--default .select2-selection--multiple .select2-selection__choice {
    margin-top: 4px;
    border-color: #d6eeeb;
    border-radius: 6px;
    background: #f1f8f7;
    line-height: 1.5;
}

.lmsotp-register-form .select2-dropdown {
    border-color: #bdbdbd;
    font-family: inherit;
}

.lmsotp-register-form .select2-results__option--highlighted[aria-selected] {
    background: var(--lmsotp-green);
}

.error-input,
.error-input .aaaclass {
    border-color: #d97984 !important;
}

.error-input-lang {
    border: 1px solid #d97984;
    border-radius: 10px !important;
}

.password-info {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    padding: 0;
    border: 0;
    background: none;
    vertical-align: middle;
    cursor: pointer;
}

.password-info svg {
    display: block;
    width: 18px;
    height: 18px;
}

.password-tooltip {
    position: absolute;
    right: 50%;
    bottom: calc(100% + 8px);
    z-index: 1000;
    width: max-content;
    max-width: min(280px, 80vw);
    padding: 10px 14px;
    border-radius: 8px;
    background: #333;
    color: #fff;
    font-size: 12px;
    line-height: 1.8;
    text-align: right;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(50%);
    transition: opacity .2s ease, visibility .2s ease;
}

.password-info:hover .password-tooltip,
.password-info:focus .password-tooltip,
.password-info:focus-within .password-tooltip {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 640px) {
    .lmsotp-page {
        margin-top: 16px;
        margin-bottom: 28px;
        padding: 0 12px;
    }

    .lmsotp-card {
        padding: 24px 20px 28px;
        border-radius: 14px;
    }

    .lmsotp-head-line {
        margin: 14px 0 22px;
    }

    .lmsotp-intro {
        font-size: 15px;
    }

    .lmsotp-register-tabs {
        gap: 8px;
        margin-bottom: 16px;
    }

    .lmsotp-tab {
        min-height: 42px;
        padding: 0 10px;
        font-size: 13px;
    }

    .lmsotp-grid-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 9px;
    }

    .lmsotp-grid-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
    }

    .lmsotp-label {
        margin-bottom: 5px;
        font-size: 12px;
    }

    .lmsotp-label small {
        font-size: 10px;
    }

    .lmsotp-input {
        height: 46px !important;
        padding: 0 9px !important;
        font-size: 12px !important;
        line-height: 44px !important;
    }

    .lmsotp-textarea {
        min-height: 100px;
        padding: 10px !important;
        font-size: 12px !important;
    }

    .lmsotp-textarea[name="about"] {
        min-height: 140px;
    }

    .lmsotp-textarea[name="address"] {
        min-height: 90px;
    }

    .lmsotp-phone-chip {
        margin-bottom: 18px;
        font-size: 16px;
    }

    .lmsotp-otp-row {
        gap: 8px;
    }

    .lmsotp-otp-box {
        width: 44px;
        height: 46px;
        font-size: 16px !important;
        line-height: 44px !important;
    }

    .lmsotp-action-row {
        grid-template-columns: minmax(0, 1fr) 112px;
        gap: 8px;
    }

    .lmsotp-btn,
    .lmsotp-timer {
        min-height: 46px;
    }

    .lmsotp-btn {
        padding: 0 12px !important;
        font-size: 14px !important;
        line-height: 44px !important;
    }

    .lmsotp-timer {
        padding: 0 6px;
        font-size: 13px;
    }

    .lmsotp-field-full,
    .lmsotp-consultant-fields,
    .lmsotp-files-grid {
        margin-top: 14px;
    }

    .lmsotp-files-grid .lmsotp-label {
        min-height: 1.6em;
        margin-bottom: 4px;
        font-size: 10px;
    }

    .lmsotp-files-grid .lmsotp-upload {
        min-height: 102px;
        padding: 7px 4px;
        gap: 5px;
    }

    .lmsotp-files-grid .lmsotp-upload-icon {
        width: 28px;
        height: 28px;
    }

    .lmsotp-files-grid .lmsotp-upload-title {
        min-height: 25px;
        padding: 0 3px;
        font-size: 9px;
    }

    .lmsotp-files-grid .lmsotp-upload small {
        font-size: 8px;
    }

    .lmsotp-upload-wide {
        grid-template-columns: 48px minmax(0, 1fr);
        min-height: 88px;
        padding: 9px 10px;
    }

    .lmsotp-upload-wide .lmsotp-upload-icon {
        width: 42px;
        height: 42px;
    }

    .lmsotp-segmented {
        min-height: 46px;
    }

    .lmsotp-segmented span {
        height: 38px;
        font-size: 12px;
    }

    .lmsotp-register-submit {
        margin-top: 18px;
    }
}

@media (max-width: 360px) {
    .lmsotp-page {
        padding-right: 8px;
        padding-left: 8px;
    }

    .lmsotp-card {
        padding-right: 14px;
        padding-left: 14px;
    }

    .lmsotp-tab {
        padding-right: 7px;
        padding-left: 7px;
        font-size: 12px;
    }
}

/* Registration form refinements matched to the supplied consultant reference. */
.lmsotp-register-page {
    margin-top: 20px;
}

.lmsotp-register-page .lmsotp-register-card {
    width: 100%;
    max-width: none;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.lmsotp-register-page .lmsotp-tab {
    min-height: 41px;
}

.lmsotp-register-form .lmsotp-label {
    font-weight: 600;
}

.lmsotp-register-form .lmsotp-grid {
    row-gap: 12px;
}

.lmsotp-consultant-fields > .lmsotp-grid-2:first-of-type > .lmsotp-field-email {
    grid-column: 2;
}

.lmsotp-consultant-fields > .lmsotp-grid-2:first-of-type > .lmsotp-field-education {
    grid-column: 1;
}

.lmsotp-consultant-fields > .lmsotp-grid-2:first-of-type > .lmsotp-field-experience {
    grid-column: 2;
}

.lmsotp-consultant-fields > .lmsotp-grid-2:first-of-type > .lmsotp-field-languages {
    grid-column: 1;
}

.lmsotp-register-form .lmsotp-input {
    height: 44px !important;
    line-height: 42px !important;
}

.lmsotp-register-form .lmsotp-segmented {
    min-height: 44px;
}

.lmsotp-register-form .lmsotp-segmented span {
    height: 36px;
}

.lmsotp-register-form .select2-container--default .select2-selection--single {
    height: 44px;
}

.lmsotp-register-form .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 42px;
}

.lmsotp-register-form .select2-container--default .select2-selection--multiple {
    min-height: 44px;
}

.lmsotp-register-form .lmsotp-field-languages .select2-container--default .select2-selection--multiple {
    display: flex;
    align-items: center;
    height: 44px;
    min-height: 44px;
    overflow: hidden;
    direction: rtl;
    text-align: right;
}

.lmsotp-register-form #specialty_secondary + .select2-container,
.lmsotp-register-form #languages + .select2-container {
    font-family: inherit !important;
    font-size: 14px !important;
}

.lmsotp-register-form #specialty_secondary + .select2-container .select2-selection,
.lmsotp-register-form #specialty_secondary + .select2-container .select2-selection__rendered,
.lmsotp-register-form #specialty_secondary + .select2-container .select2-selection__choice,
.lmsotp-register-form #languages + .select2-container .select2-selection,
.lmsotp-register-form #languages + .select2-container .select2-selection__rendered,
.lmsotp-register-form #languages + .select2-container .select2-selection__choice {
    font-family: inherit !important;
    font-size: 14px !important;
}

.lmsotp-register-form .lmsotp-field-languages .select2-selection--multiple .select2-selection__rendered {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    white-space: nowrap;
    direction: rtl;
    text-align: right;
    justify-content: flex-start;
}

.lmsotp-register-form .lmsotp-field-languages .select2-selection--multiple .select2-selection__choice {
    flex: 0 0 auto;
    margin-top: 0;
}

.lmsotp-register-form #languages + .select2-container .select2-search--inline {
    flex: 1 1 auto;
    min-width: 0;
    direction: rtl;
}

.lmsotp-register-form #languages + .select2-container .select2-search__field {
    display: block;
    width: 100% !important;
    min-width: 0;
    height: 1.4em !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    direction: rtl !important;
    text-align: right !important;
    font-family: inherit !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    resize: none !important;
}

.lmsotp-register-form .lmsotp-field-languages .select2-selection--multiple::after {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.lmsotp-register-form .lmsotp-textarea[name="about"] {
    height: 145px;
    min-height: 145px;
}

.lmsotp-register-form .lmsotp-textarea[name="address"] {
    height: 92px;
    min-height: 92px;
}

.lmsotp-register-form .lmsotp-files-grid .lmsotp-upload {
    min-height: 104px;
}

.lmsotp-register-form .lmsotp-files-grid + .lmsotp-field-sheba {
    margin-top: 30px;
}

.lmsotp-register-form .lmsotp-field-sheba + .lmsotp-grid-2 {
    margin-top: 24px;
}

.lmsotp-register-form .lmsotp-field-address {
    margin-top: 22px;
}

.select2-dropdown.bbbclass,
.select2-dropdown.lmsotp-select2-language-dropdown {
    direction: rtl;
    font-family: inherit !important;
    font-size: 14px !important;
}

.select2-dropdown.bbbclass .select2-results__option,
.select2-dropdown.lmsotp-select2-language-dropdown .select2-results__option {
    direction: rtl;
    text-align: right !important;
    font-family: inherit !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

@media (min-width: 641px) {
    .lmsotp-register-page {
        padding-inline: clamp(12px, 7.5vw, 40px);
    }

    .lmsotp-register-page .lmsotp-register-card {
        max-width: 450px;
    }
}

/* Password visibility control and the three upload states requested for the forms. */
.lmsotp-password-input-wrap,
.lmsotp-password-input-wrap *,
.lmsotp-upload-widget,
.lmsotp-upload-widget * {
    box-sizing: border-box !important;
}

.lmsotp-password-input-wrap {
    position: relative;
    width: 100%;
}

.lmsotp-password-input-wrap > .lmsotp-input {
    padding-left: 42px !important;
}

.lmsotp-password-toggle {
    position: absolute;
    top: 50%;
    left: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 4px;
    transform: translateY(-50%);
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: #858585;
    cursor: pointer;
}

.lmsotp-password-toggle:hover,
.lmsotp-password-toggle:focus-visible {
    color: var(--lmsotp-green-dark);
    outline: 2px solid #b8d9d1;
    outline-offset: 1px;
}

.lmsotp-eye-icon {
    display: block;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.lmsotp-eye-icon circle {
    fill: none;
    stroke: currentColor;
}

.lmsotp-eye-icon[hidden] {
    display: none !important;
}

.lmsotp-upload-widget {
    position: relative;
    width: 100%;
    min-width: 0;
    min-height: 126px;
    color: #607986;
}

.lmsotp-upload-widget > [data-file-input] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    opacity: 0;
}

.lmsotp-upload-panel {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 126px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 6px;
    overflow: hidden;
    border: 1px dashed #b5cde1;
    border-radius: 10px;
    background: #edf5fd;
    color: #607986;
    text-align: center;
    transition: background-color .15s ease, border-color .15s ease;
}

.lmsotp-upload-panel[hidden] {
    display: none !important;
}

.lmsotp-upload-widget[data-upload-state="empty"] [data-upload-panel="empty"],
.lmsotp-upload-widget[data-upload-state="uploading"] [data-upload-panel="uploading"] {
    border-color: #b5cde1;
    border-style: dashed;
    background: #edf5fd;
}

.lmsotp-upload-widget[data-upload-state="uploaded"] [data-upload-panel="uploaded"] {
    border-color: #9cc9be;
    border-style: solid;
    background: #e1f2ed;
}

.lmsotp-upload-widget[data-upload-state="failed"] [data-upload-panel="failed"] {
    border-color: #dfabb1;
    border-style: solid;
    background: #f9e5e8;
}

.lmsotp-upload-state-icon {
    display: block;
    flex: 0 0 auto;
    width: 31px;
    height: 35px;
    object-fit: contain;
}

.lmsotp-upload-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.lmsotp-upload-action {
    display: inline-flex;
    max-width: 100%;
    min-height: 28px;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    overflow: hidden;
    border: 0;
    border-radius: 7px;
    background: var(--lmsotp-green);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lmsotp-upload-action:hover,
.lmsotp-upload-action:focus-visible {
    background: var(--lmsotp-green-dark);
    outline: 2px solid #b8d9d1;
    outline-offset: 1px;
}

.lmsotp-upload-copy small {
    max-width: 100%;
    color: #76868d;
    font-size: 9px;
    line-height: 1.5;
}

.lmsotp-files-grid .lmsotp-upload-widget {
    min-height: 126px;
}

.lmsotp-files-grid .lmsotp-upload-state-icon {
    width: 29px;
    height: 32px;
}

.lmsotp-files-grid .lmsotp-upload-copy {
    width: 100%;
}

.lmsotp-upload-panel-saved {
    display: grid;
    grid-template-rows: minmax(52px, 1fr) 27px 14px;
    gap: 4px;
    padding: 7px;
}

.lmsotp-upload-preview {
    display: flex;
    width: 100%;
    min-width: 0;
    min-height: 0;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 7px;
    background: #fff;
}

.lmsotp-upload-preview img,
.lmsotp-upload-preview iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 52px;
    border: 0;
    object-fit: contain;
}

.lmsotp-upload-file-type {
    color: #7caaed;
    font-size: 12px;
    font-weight: 700;
}

.lmsotp-upload-trash {
    position: absolute;
    top: 4px;
    right: 4px;
    z-index: 1;
    display: inline-flex;
    width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
    padding: 2px;
    border: 1px solid #fff;
    border-radius: 50%;
    background: #df5363;
    color: #fff;
    cursor: pointer;
}

.lmsotp-upload-trash svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.lmsotp-upload-delete-button {
    width: 100%;
    min-height: 27px;
}

.lmsotp-upload-filename {
    max-width: 100%;
    overflow: hidden;
    color: #586761;
    font-size: 9px;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lmsotp-upload-panel-failed .lmsotp-upload-copy small {
    color: #9f4d5a;
}

.lmsotp-upload-widget-wide {
    min-height: 92px;
}

.lmsotp-upload-widget-wide .lmsotp-upload-panel {
    min-height: 92px;
    padding: 10px 14px;
}

.lmsotp-upload-widget-wide [data-upload-panel="empty"],
.lmsotp-upload-widget-wide [data-upload-panel="failed"] {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    grid-template-areas: "icon copy";
    justify-items: end;
    text-align: right;
    direction: ltr;
}

.lmsotp-upload-widget-wide .lmsotp-upload-state-icon {
    grid-area: icon;
    width: 46px;
    height: 52px;
}

.lmsotp-upload-widget-wide .lmsotp-upload-copy {
    grid-area: copy;
    align-items: flex-end;
    direction: rtl;
    text-align: right;
}

.lmsotp-upload-widget-wide .lmsotp-upload-copy small {
    font-size: 10px;
}

.lmsotp-upload-widget-wide .lmsotp-upload-action {
    font-size: 12px;
}

.lmsotp-upload-widget-wide .lmsotp-upload-panel-saved {
    min-height: 126px;
}

.lmsotp-upload-spinner {
    display: inline-block;
    width: 22px;
    height: 22px;
    border: 2px solid #c9dced;
    border-top-color: #7caaed;
    border-radius: 50%;
    animation: lmsotp-upload-spin .8s linear infinite;
}

@keyframes lmsotp-upload-spin {
    to { transform: rotate(360deg); }
}

.lmsotp-upload-widget[aria-busy="true"] {
    opacity: .72;
    pointer-events: none;
}

.lmsotp-alert[hidden] {
    display: none !important;
}

.lmsotp-register-form .select2-container.error-input .select2-selection--single,
.lmsotp-register-form .select2-container.error-input .select2-selection--multiple {
    border-color: #d97984 !important;
}

/* Password label guidance and a single, legible eye state. */
.lmsotp-password-label-row {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 6px;
}

.lmsotp-password-label-row .lmsotp-label {
    margin-bottom: 0;
}

.password-info.is-open .password-tooltip {
    opacity: 1;
    visibility: visible;
}

.password-tooltip > span {
    display: block;
}

.lmsotp-password-input-wrap > .lmsotp-input {
    padding-left: 45px !important;
}

.lmsotp-password-toggle {
    left: 6px;
    width: 34px;
    height: 34px;
    padding: 3px;
}

.lmsotp-password-toggle[aria-pressed="true"] {
    color: var(--lmsotp-green-dark);
}

.lmsotp-password-toggle .lmsotp-eye-icon {
    display: block !important;
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

.lmsotp-password-toggle .lmsotp-eye-slash {
    opacity: 1;
    transition: opacity .12s ease;
}

.lmsotp-password-toggle[aria-pressed="true"] .lmsotp-eye-slash {
    opacity: 0;
}

/* Language choices grow into rows without an inner scrollbar. */
.lmsotp-register-form .lmsotp-field-languages .select2-container--default .select2-selection--multiple {
    height: auto;
    min-height: 44px;
    overflow: visible;
}

.lmsotp-register-form .lmsotp-field-languages .select2-selection--multiple .select2-selection__rendered {
    flex-wrap: wrap;
    min-height: 38px;
    height: auto;
    overflow: visible;
    white-space: normal;
}

.lmsotp-register-form #languages + .select2-container .select2-search--inline {
    flex: 1 1 2px;
    min-width: 0;
}

.lmsotp-register-form #languages + .select2-container .select2-search__field {
    width: auto !important;
    overflow: hidden !important;
}

.lmsotp-register-form #languages + .select2-container.lmsotp-languages-filled .select2-search--inline {
    flex: 0 0 2px;
    max-width: 2px;
}

.lmsotp-register-form #languages + .select2-container.lmsotp-languages-filled .select2-search__field {
    width: 2px !important;
}

/* Empty and failed upload panels stack the icon above their controls. */
.lmsotp-upload-panel[data-upload-panel="empty"],
.lmsotp-upload-panel[data-upload-panel="failed"] {
    flex-direction: column;
}

.lmsotp-upload-widget-wide [data-upload-panel="empty"],
.lmsotp-upload-widget-wide [data-upload-panel="failed"] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    direction: rtl;
    text-align: right;
}

.lmsotp-upload-widget-wide .lmsotp-upload-copy {
    width: 100%;
    align-items: flex-start;
}

.lmsotp-upload-widget.is-invalid .lmsotp-upload-panel {
    border-color: #d97984;
}

/* Keep the language tags compact, wrapped, and aligned to the RTL edge. */
.lmsotp-register-form .lmsotp-field-languages .select2-selection--multiple {
    direction: rtl !important;
    text-align: right !important;
}

.lmsotp-register-form .lmsotp-field-languages .select2-selection--multiple .select2-selection__rendered {
    display: flex !important;
    flex-flow: row wrap !important;
    align-content: center;
    align-items: center;
    justify-content: flex-start !important;
    gap: 4px;
    width: 100%;
    direction: rtl !important;
    text-align: right !important;
}

.lmsotp-register-form .lmsotp-field-languages .select2-selection--multiple .select2-selection__choice {
    float: none !important;
    flex: 0 0 auto !important;
    width: max-content;
    max-width: 100%;
    margin: 0 !important;
}

/* Center the profile image control and cap its saved-image preview. */
.lmsotp-register-form .lmsotp-upload-widget-wide [data-upload-panel="empty"],
.lmsotp-register-form .lmsotp-upload-widget-wide [data-upload-panel="failed"] {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.lmsotp-register-form .lmsotp-upload-widget-wide .lmsotp-upload-copy {
    align-items: center;
    text-align: center;
}

.lmsotp-register-form .lmsotp-upload-widget-wide .lmsotp-upload-preview {
    width: 100%;
    max-width: 220px;
    max-height: 96px;
    margin-inline: auto;
    justify-self: center;
}

.lmsotp-register-form .lmsotp-upload-widget-wide .lmsotp-upload-preview img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 96px;
    object-fit: contain;
}
