.modal {
    z-index: 99999;
}

.modal-backdrop {
    z-index: 99998;
}

.login_desc {
    font-size: 15px;
    text-align: center;
}

@media (max-width:767px) {
    .login_desc {
        font-size: 13px;
    }
}

.login-method-btns {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

#loginotp-content .login-method-btns button.active {
    background-color: #000;
    color: #fff;
}

#loginotp-content .login-method-btns button {
    width: 150px;
    height: 80px;
    line-height: 1;
}

#loginotp-content .login-method-btns button i {
    display: block;
    margin-bottom: 5px;
    font-size: 20px;
}

.login_btn {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

#resend_otp:disabled {
    color: #b5b5b5;
}

.otp-form {
    margin-top: 15px;
}

#loginotp-content .form-group {
    position: relative;
}

.form-group .otp_error {
    height: 30px;
}

#modal-loginotp .modal-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#modal-loginotp .modal-close,
#modal-register-otp .modal-close {
    background-color: transparent;
    border: none;
    position: absolute;
    top: 15px;
    font-size: 16px;
}

html[dir="rtl"] #modal-loginotp .modal-close {
    left: 10px;
}

html[dir="ltr"] #modal-loginotp .modal-close {
    right: 10px;
}

#account-login-otp .well {
    margin-bottom: 80px;
}

@media (max-width:767px) {
    #account-login-otp .well {
        margin-top: 30px;
    }
}

#loginotp-content .login_title {
    font-size: 18px;
    text-align: center;
    font-weight: bold;
}

#loginotp-content .login_title i {
    display: block;
    margin-bottom: 10px;
    font-size: 24px;
}

#loginotp-content .text-danger,
#account-register .text-danger {
    margin-top: 5px;
}

#loginotp-content .text-danger:before,
#account-register .text-danger:before {
    content: "\f06a";
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin: 0 5px;
}

#loginotp-content .text-success:before,
#account-register .text-success:before {
    content: "\f058";
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin: 0 5px;
}

.otp_methods {
    display: flex;
    gap: 10px;
}

.otp_methods input {
    display: none;
}

.otp_methods label {
    cursor: pointer;
}

html[dir="rtl"] .otp_methods label {
    margin-left: 5px;
}

html[dir="ltr"] .otp_methods label {
    margin-right: 5px;
}

.otp_methods span {
    width: 120px;
    height: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f2f2f2;
    transition: 0.3s ease;
}

.otp_methods input:checked+span {
    background-color: #000;
    color: #fff;
}

@media (max-width:767px) {
    .otp_methods {
        justify-content: center;
    }
}

/* Register */
#register-form .text-danger {
    margin-top: 10px;
}

#register-form .buttons {
    display: flex;
    justify-content: flex-end;
}

.register_desc a {
    color: var(--primary-color);
}

@media (max-width:767px) {
    #account-register h1 {
        margin-bottom: 10px;
    }

    .register_desc {
        font-size: 14px;
        margin-bottom: 20px;
    }

    #register-form .buttons {
        justify-content: center;
    }

    #register-form input[type="submit"] {
        width: 100%;
        height: 50px;
        font-size: 16px;
    }
}

/* Quick checkout */
.digital_cart {
    display: none;
}

.digital_cart+#cart1 {
    padding: 0 0 25px;
}

/* moaz */

.register_desc a {
    font-weight: 600;
}

.login-form label~div {
    width: 100%;
    max-width: 420px;
    margin: auto;
}

.login_btn:not(.btn-group)>.btn:not(.btn_sm) {
    width: 100%;
    max-width: 420px;
    margin: auto;
    height: 45px;
}

.login-form label {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

html[dir='ltr'] .login-form label>i {
    margin-right: 6px;
}

html[dir='rtl'] .login-form label>i {
    margin-left: 6px;
}

#loginotp-content .login-method-btns button.btn-default {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
}

html[dir='ltr'] #loginotp-content .login-method-btns button>i {
    margin-right: 6px;
}

html[dir='rtl'] #loginotp-content .login-method-btns button>i {
    margin-left: 6px;
}

.custom-close {
    color: #999;
    transition: 0.5s;
}

.custom-close:hover {
    color: var(--main);
}

.otp_methods span.method-flex {
    flex-direction: row;
}

html[dir='ltr'] .otp_methods span.method-flex>i {
    margin-right: 6px;
}

html[dir='rtl'] .otp_methods span.method-flex>i {
    margin-left: 6px;
}

#register-form .buttons:not(.btn-group)>.btn:not(.btn_sm) {
    width: 100%;
    margin: auto;
    height: 45px;
}
/* //////// login otp */
@media (min-width: 768px) {
    .modal-dialog {
      width: 555px;
      margin: 30px auto;
    }
  }
  .modal-content {
    box-shadow: none;
    border: none;
    border-radius: 0;
  }
  .modal-body {
    padding: 45px 15px;
  }
  #modal-loginotp .modal-close {
    font-size: 18px;
    color: #808080;
    top: 14px;
  }
  #modal-loginotp .modal-close:hover {
    color: var(--primary-color);
  }
  html[dir="ltr"] #modal-loginotp .modal-close {
    right: 14px;
  }
  html[dir="rtl"] #modal-loginotp .modal-close {
    left: 14px;
  }
  #loginotp-content .login_title {
    margin: 0 0 12px;
    font-size: 18px;
    font-family: var(--font-bold);
  }
  #loginotp-content .login_title i {
    color: #cccccc;
    font-size: 48px;
    margin: 0 0 10px;
  }
  .login_desc {
    font-size: 14px;
    font-family: inherit;
    font-weight: 300;
    margin: 0 0 27px;
  }
  .login-method-btns {
    margin: 0 0 27px;
  }
  #loginotp-content .login-method-btns button.btn-default {
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f2f5f2;
    width: 150px;
    height: 45px;
    color: #808080;
    font-size: 14px;
  }
  #loginotp-content .login-method-btns button span {
    font-size: 24px;
  }
  #loginotp-content .login-method-btns button.btn-default.active {
    color: #fff;
    background-color: var(--secondery-color);
  }
  .login-form label {
    margin: 0;
    text-align: start;
    justify-content: flex-start;
    padding: 0 18px 7px;
    font-size: 14px;
  }
  .login-form label:after {
    content: "*";
    color: #ff0000;
  }
  .login-form {
    max-width: 100%;
    width: 360px;
    margin: auto;
  }
  .login-hint {
    margin: 20px 0 0;
    text-align: center;
    font-size: 14px;
    color: var(--text-color);
  }
  .login-hint a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: all 0.3s;
  }
  
  .login-hint a:hover {
    color: var(--primary-color);
    text-decoration: none;
  }
  :not(.otp-form) .login_btn {
    justify-content: center;
    margin-top: -5px;
  }
  .otp-form .btn-reset {
    display: none;
  }
  
  html[dir="rtl"] .otp_methods label {
    margin-left: 0;
  }
  
  html[dir="ltr"] .otp_methods label {
    margin-right: 0;
  }
  
  .otp_methods span {
    background-color: #f2f5f2;
    width: 150px;
    height: 45px;
    border-radius: 25px;
    color: #808080;
    font-size: 14px;
    transition: 0.3s ease;
  }
  .otp_methods span.method-flex > i {
    margin: 0 !important;
    font-size: 24px;
  }
  .otp_methods input:checked + span {
    background-color: var(--secondery-color);
    color: #fff;
  }
  
  @media (max-width: 767px) {
    .otp_methods {
      justify-content: center;
    }
  }