/* START CUSTOM — Digits login overrides */

@font-face {
    font-family: "AutomaticRTL";
    src: url("../fonts/AutomaticRTL.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.digits-form_container {
    width: 500px !important;
    max-width: 90%;
    z-index: 9;
    padding: 40px 0;
}

.digits_back_icon {
    position: absolute;
    display: inline-block;
    width: 29px;
    height: 28px;
    top: 7px;
    left: inherit !important;
    right: 0px !important;
    transform: rotate(180deg) !important;
}

.digits-form_heading {
    color: var(--dtitle);
    font-weight: 900;
    text-align: right !important;
    padding-right: 38px !important;
}

.digits_back_icon {
    left: 0px !important;
}

.digits_otp_info_desc {
    display: none;
    position: absolute;
    width: 205px;
    line-height: 17px;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 3px 12px #2d333d0f;
    background-color: var(--dform_bg);
    border: 1px solid var(--dfield_bg);
    color: var(--dprimary);
    right: -347px !important;
    top: 41px !important;
    cursor: default;
}

.digits-form_input_row .digits-field-type_checkbox .dig_input_wrapper div,
.digits-form_input_row .digits-field-type_radio .dig_input_wrapper div,
.digits-form_input_row .digits-field-type_tac .dig_input_wrapper div {
    z-index: 2;
    position: relative;
    padding: 0 32px;
    text-align: right !important;
}

.digits_form_index_section .digits_show_on_index {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    text-align: right !important;
    display: block;
}

.digits-form_heading {
    color: var(--dtitle);
    font-weight: 900;
    text-align: right !important;
}

.dig_sml_box_msg,
.dig_sml_box_msg_head {
    color: #6d6d6d;
    font-size: 18px;
    text-align: center;
    font-family: AutomaticRTL !important;
}

.digits_font,
.dig_ma-box,
.dig_ma-box input,
.dig_ma-box input::placeholder,
.dig_ma-box ::placeholder,
.dig_ma-box label,
.dig_ma-box button,
.dig_ma-box select,
.dig_ma-box * {
    font-family: AutomaticRTL !important;
}

.digits_account_security_dashboard .digits_secure_account button.setup_button {
    background-color: #2d333d;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    border-radius: 8px;
    font-family: "AutomaticRTL" !important;
    min-width: 130px;
}

.digits_account_security_dashboard .digits_secure_account_heading {
    color: #394f67;
    font-size: 17px;
    font-weight: 700;
    font-family: AutomaticRTL !important;
}

.digits_account_security_dashboard-totp_setup form {
    display: flex;
    padding: 24px 40px;
    align-items: center;
    justify-content: center;
    font-family: AutomaticRTL !important;
}

.digits_account_security_dashboard-head {
    color: #2d333d;
    text-align: center;
    font-weight: 700;
    font-size: 24px;
    font-family: AutomaticRTL !important;
}

html[dir=rtl] .dig_popdismiss {
    right: 26px !important;
    left: unset !important;
}

.dig_popmessage .dig_firele {
    display: flex;
    margin-right: 11px !important;
    position: relative;
    margin-left: 12px !important;
    justify-content: center;
    align-items: center;
}

html[dir=rtl] .dig_lasele {
    right: -34px !important;
    left: unset !important;
    font-family: "AutomaticRTL" !important;
}

html[dir=rtl] .dig_popmessage {
    right: 24px !important;
    left: 25px !important;
}

.digits_otp_info_ic {
    position: absolute;
    top: calc(50% - 7px) !important;
}

.digits-form_button_ic {
    margin-right: 11px !important;
    transform: rotate(180deg) !important;
}

.digits-form_input_row .digits-field-type_checkbox .dig_input_wrapper::after,
.digits-form_input_row .digits-field-type_checkbox .dig_input_wrapper::before,
.digits-form_input_row .digits-field-type_radio .dig_input_wrapper::after,
.digits-form_input_row .digits-field-type_radio .dig_input_wrapper::before,
.digits-form_input_row .digits-field-type_tac .dig_input_wrapper::after,
.digits-form_input_row .digits-field-type_tac .dig_input_wrapper::before {
    width: 24px;
    height: 24px;
    content: ' ';
    mask-repeat: no-repeat;
    mask-size: cover;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: cover;
    display: inline-block;
    position: absolute;
    top: -2px;
    z-index: 1;
    pointer-events: none;
    right: 0 !important;
    left: inherit !important;
}

.digits-form_container * {
    box-sizing: border-box;
    transition: all 150ms ease-in;
    font-family: "AutomaticRTL" !important;
}

.dig_login_signup_bar a {
    text-decoration: inherit;
    color: inherit;
    font-size: inherit;
    display: inline-block;
    font-family: "AutomaticRTL" !important;
}

.dig_login_signup_bar span {
    opacity: .35;
    font-family: "AutomaticRTL" !important;
}

.digits-form_tab-bar .digits-form_tab-item {
    color: var(--dprimary);
    display: inline-block;
    font-size: 20px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    padding-bottom: 3px;
    font-weight: 900;
    opacity: .35;
    font-family: "AutomaticRTL" !important;
}

.digits-form_tab-bar .digits-tab_active {
    border-bottom-color: var(--dprimary);
    opacity: 1;
    font-family: AutomaticRTL !important;
}
