﻿

.otp {
    padding: 8px 8px;
    font-size: 16px;
    text-align: center;
    font-weight: 700;
    line-height: 1;
}

.register-form .register-email-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
    width: 100%;
}

.register-form .register-email-field {
    flex: 1 1 auto;
    min-width: 0;
}

.register-form .register-email-field .login-input-style {
    width: 100%;
    padding-right: 15px;
}

.register-form .phone-wrapper .intl-tel-input .selected-flag {
    width: 110px !important;
    padding-left: 14px;
}

.register-form .phone-wrapper .selected-flag .iti-arrow {
    right: 10px;
}

.register-form .phone-wrapper input#PhoneNumber,
.register-form .phone-wrapper input#PhoneNumber:hover,
.register-form .phone-wrapper input#PhoneNumber:focus,
.register-form .phone-wrapper input#PhoneNumber:-webkit-autofill,
.register-form .phone-wrapper input#PhoneNumber:-webkit-autofill:hover,
.register-form .phone-wrapper input#PhoneNumber:-webkit-autofill:focus {
    box-sizing: border-box;
    padding-left: 122px !important;
}

.register-form .phone-wrapper .register-country-prompt {
    display: none;
}

.register-form .phone-wrapper.country-unselected .selected-flag .iti-flag,
.register-form .phone-wrapper.country-unselected .selected-flag .selected-dial-code {
    visibility: hidden;
}

.register-form .phone-wrapper.country-unselected .register-country-prompt {
    position: absolute;
    top: 50%;
    left: 11px;
    display: block;
    transform: translateY(-50%);
    color: #526b76;
    font-size: 12px;
    white-space: nowrap;
    pointer-events: none;
}

.register-form .register-name-group {
    margin-bottom: 38px;
}

.register-form .register-name-field .register-field-error {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    bottom: auto;
    display: block;
    margin-top: 4px;
    font-size: 11px;
    line-height: 1.25;
    white-space: normal;
}

.register-form .register-name-field .register-field-error:empty {
    display: none;
}

.register-form .register-email-errors .register-field-error {
    position: static;
    display: block;
    margin-top: 5px;
    line-height: 1.3;
}

.register-form .register-email-errors .register-field-error:empty {
    display: none;
}

.register-form .register-email-actions {
    position: static;
    display: flex;
    flex: 0 0 auto;
    justify-content: center;
    align-items: center;
    min-height: 45px;
    margin: 0;
    transform: none;
}

.register-form #btnSendOTP,
.register-form #timer {
    position: static;
    top: auto;
    right: auto;
    transform: none;
    min-width: 112px;
    padding: 9px 16px;
    border: 1px solid var(--primary-theme-color);
    border-radius: 8px;
    background: var(--primary-theme-color);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}

.register-form #btnSendOTP {
    cursor: pointer;
    transition: background-color .2s ease, box-shadow .2s ease;
}


.register-form #timer {
    border-color: var(--border-light-color-01);
    background: var(--bg-white-color);
    color: var(--secondary-text-color);
}

@media (max-width: 420px) {
    .register-form .register-email-row {
        flex-wrap: nowrap;
        gap: 6px;
    }
    .register-form #timer,
    .register-form #btnSendOTP {
        min-width: 75px;
        padding: 11px 10px;
        font-size: 12px;
    }
    .register-form .register-email-field {
        flex-basis: 100%;
    }

    .register-form .register-email-actions {
        margin-left: auto;
        width: auto;
    }
    .register-form .register-name-group {
        margin-bottom: 15px;
    }
    .login-input-group {
        margin-bottom: 25px;
    }
}

@media (max-width: 575px) {
    /* Keep the country picker outside the scrollable registration form. */
    body > .intl-tel-input.iti-container {
        position: fixed !important;
        top: 16px !important;
        right: 16px;
        bottom: 16px;
        left: 16px !important;
        width: auto !important;
        z-index: 1060;
    }

    body > .intl-tel-input.iti-container .country-list {
        width: 100%;
        max-height: 100%;
    }
}



    #timer {
        padding-right:5px
    }

    @media only screen and (max-width: 600px) {
        .otp {
            padding: 8px 3px;
            font-size: 15px;
        }
    }

    .mobileCode .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 15px !important;
        width: 18px !important;
        background: #f9f9f9;
        right: 0px !important;
    }

    .mobileCode .select2-container--default .select2-selection--single .select2-selection__rendered {
        padding-left: 0 !important;
    }



.register-field-error {
    font-size: 11px;
    line-height: normal;
}
.register-field-error.otp-error {
    position: static;
    display: block;
    margin-top: 6px;
    line-height: 1.3;
}
.register-field-error.otp-error:empty {
    display: none;
}
/*#PasswordValidationError.register-field-error {
    font-size: 11px;
    bottom: -25px;
    top: unset;
}*/
input.form-control.error {
    color: black !important;
}

    /*
     * The theme's page-level .error class uses a full viewport height.
     * Register validation also uses the same class name, so keep validation
     * controls and messages at their natural height inside this form.
     */
    .register-form .form-control.error {
        display: block;
        width: 100%;
        /*height: auto;*/
    }


.phone-container .register-field-error{
    left:unset !important;
    right:0;
}

.select2-container .select2-selection--single {
    height: auto;
}

#ConfirmPassword,
#Password {
    padding-right: 40px;
}
