.sms-msg {display: none; text-align: center;}
.sms-msg p.error {color: #980715;}
.sms-msg p.success {color: green;}
.set-relative {position: relative;}
#forgot-pass {max-width: 320px; margin: 0 auto;}
#sms-login-code .phone-area,
#sms-login-code .otp-area {
    max-width: 55%;
    margin: 0 auto;
}
#sms-login-code .sms_code_area {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    direction: ltr;
}
#sms-login-code .sms_code_area .sms_code {
    width: 10%;
    border: none;
    border-bottom: 2px solid #980715;
    outline: none;
    direction: ltr;
    border-radius: 0;
    text-align: center;
    padding: 0 3px;
}
/* Chrome, Safari, Edge, Opera */
#sms-login-code .sms_code_area .sms_code::-webkit-outer-spin-button,
#sms-login-code .sms_code_area .sms_code::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
#sms-login-code .sms_code_area .sms_code[type=number] {
  -moz-appearance: textfield;
}
#sms-login-code #phone_number, #forgot-pass #username_email {
    border: none;
    border-bottom: 2px solid #980715;
    color: #000000;
    outline: none;
    direction: ltr;
    font-weight: 500;
    font-size: 18px;
    padding: 8px 0;
    text-align: right;
}
#sms-login-code .otp-area label {
    font-weight: 500;
    font-size: 18px;
    text-align: right;
    color: #666;
}
#sms-login-code .btn-login, #forgot-pass .btn-forgot-password {
    border: 1px solid #980715;
    border-radius: 10px;
    background: #980715;
    color: #fff;
    width: 151px;
    display: block;
    min-width: 151px;
    margin: 0 auto;
    margin-top: 37px;
    line-height: 14px;
}
#sms-login-code #phone_number::placeholder {
  color: #666;
  opacity: 1; /* Firefox */
}
#sms-login-code #phone_number::-ms-input-placeholder { /* Edge 12 -18 */
  color: #666;
}
#sms-login-code .btn-login, #forgot-pass .btn-forgot-password {position: relative;}
#sms-login-code .btn-login::after, #forgot-pass .btn-forgot-password::after {
    content: '';
    background: url(../images/ajax-loader.gif);
    position: absolute;
    top: 7px;
    right: 7px;
    width: 16px;
    height: 16px;
    display: block;
    background-repeat: no-repeat;
    background-size: 100%;
    border-radius: 10px;
    display: none;
}
#sms-login-code .btn-login.active::after {display: block;}
.title-font-size-fix h2 {margin-top: 0;}

/*** Modal area ***/
.exist-user-modal {
    position: fixed;
    top: 30%;
    left: 0;
    width: 320px;
    height: 200px;
    z-index: 9999;
    right: 0;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.3);
    border-radius: 7px;
    display: none;
}
.exist-user-modal.active {display: block;}
.exist-user-modal .modal-area {
    display: flex;
    align-items: center;
    height: 100%;
    text-align: center;
    position: relative;
}
.exist-user-modal .modal-area i {
    width: 30px;
    height: 30px;
    cursor: pointer;
    position: absolute;
    top: -40px;
    right: -15px;
}
.exist-user-modal .modal-area i:before {font-size: 30px;}
.exist-user-modal .modal-area .modal-inner p {font-size: 20px;line-height: 1.3;}

@media screen and (min-width: 768px) {
    #sms-login-code .phone-area {margin-top: 14px;}
    #sms-login-code .otp-area {margin-top: 5px;}
    #sms-login-code .btn-login {
        position: absolute;
        left: 0;
        right: 0;
        top: 165px;
    }
}
@media screen and (max-width: 767px) {
    #sms-login-code .sms_code_area .sms_code {
        width: 12%;
    }
    #sms-login-code .phone-area, #sms-login-code .otp-area {
        max-width: 100%;
    }
    #sms-login-code .btn-login {
        border-radius: 5px;
        padding: 12px 0;
    }
    .sms-msg {margin-top: 20px;}
    #forgot-pass {max-width: 280px;}
}