.modal {
  z-index: 99999;
}

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

.login_desc {
  font-size: 15px;
  text-align: center;
}
.well p.login_desc {
  text-align: center;
}
p.login_desc a {
  color: var(--primary-color);
  font-weight: 700;
}

p.footer_login_desc {
  font-size: 15px;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
}
.well p.footer_login_desc {
  text-align: center;
}
p.footer_login_desc a {
  color: var(--primary-color);
  font-weight: 700;
}

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

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

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

#loginotp-content .login-method-btns button i {
  display: block;
  margin-bottom: 0;
  font-size: 24px;
  margin-inline-end: 6px;
}

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

#resend_otp:disabled {
  color: #b5b5b5;
}

.otp-form {
  margin: auto;
  margin-top: 15px;
  max-width: 420px;
}

#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: 50px;
}

#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;
}

.otp_methods span {
  width: 150px;
  height: 45px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #f2f2f2;
  transition: 0.3s ease;
  border-radius: var(--border-radius);
  padding: 0 10px;
  min-width: 110px;
  border: 2px solid transparent;
  color: var(--text-color);
}

.otp_methods input:checked + span {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: #f7f7f7;
}

@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 {
  max-width: 420px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 23px;
}
.login-form label > i {
  margin-inline-end: 6px;
  font-size: 20px;
}

#loginotp-content .login-method-btns button.btn-default {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 45px;
  border-radius: var(--border-radius);
  border: 2px solid transparent;
  color: var(--text-color);
}
#loginotp-content .login-method-btns button.btn-default:hover {
  color: var(--text-color);
}
#loginotp-content .login-method-btns button.active {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: #f7f7f7;
}
#loginotp-content .login-method-btns button.active:hover {
  color: var(--primary-color);
}
.custom-close {
  color: #999;
  transition: 0.5s;
}

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

.otp_methods span.method-flex {
  flex-direction: row;
}
.otp_methods span.method-flex > i {
  font-size: 24px;
  margin-inline-end: 6px;
}

#register-form .buttons:not(.btn-group) > .btn:not(.btn_sm) {
  width: 100%;
  margin: auto;
  height: 45px;
}

/* //////////////////// form */
#modal-loginotp .modal-content {
  background-color: #fff;
}
#modal-loginotp .modal-body {
  padding: 45px 15px;
}
#modal-loginotp button.modal-close {
  padding: 0;
  color: #808080;
  font-size: 18px;
  display: flex;
  align-items: center;
  top: 13px;
}
html[dir="rtl"] #modal-loginotp button.modal-close {
  left: 12px;
}
html[dir="ltr"] #modal-loginotp button.modal-close {
  right: 12px;
}
#modal-loginotp button.modal-close:hover {
  color: var(--primary-color);
}
#loginotp-content .login_title i {
  font-size: 48px;
  margin: 0 0 9px;
}
#loginotp-content .login_title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 17px;
}
#loginotp-content .login_desc {
  font-size: 16px;
  margin: 0 0 23px;
}
#loginotp-content .login_desc br {
  display: none;
}
#loginotp-content .login-method-btns {
  margin: 0 0 26px;
}
#loginotp-content .login-method-btns button.btn-default {
  background-color: #f2f5f2;
  font-size: 14px;
  color: #808080;
  font-family: var(--font-bold);
  border: none;
}
#loginotp-content .login-method-btns button i {
  font-size: 24px;
}
#loginotp-content .login-method-btns button.btn-default:hover {
  color: #808080;
}
#loginotp-content .login-method-btns button.active {
  color: var(--text-color);
  background-color: #c4b8b8;
}
#loginotp-content .login-method-btns button.active:hover {
  color: var(--text-color);
  background-color: #c4b8b8;
}
.login-form label {
  margin: 0 auto 7px;
  padding: 0 18px;
  font-size: 14px;
  font-family: var(--font-bold);
}
.login-form label i {
  display: none;
}
.modal-content .btn-primary {
  background-color: var(--primary-color) !important;
  font-size: 14px !important;
  color: #fff;
  font-family: var(--font-bold);
}
.modal-content .btn-primary:hover {
  background-color: #c4b8b8 !important;
  color: var(--text-color);
}

#loginotp-content .form-group {
  margin-bottom: 10px;
}
p.footer_login_desc {
  font-size: 16px;
  margin: auto;
  margin-top: 20px;
  font-family: var(--font-bold);
}
p.footer_login_desc a {
  text-decoration: underline !important;
  color: #9f9494;
  font-weight: 700;
}
p.footer_login_desc a:hover {
  color: var(--primary-color);
  text-decoration: none !important;
}
[class^="account-"] .btn-primary {
  background-color: var(--primary-color);
  font-size: 14px !important;
  color: #fff;
  font-family: var(--font-bold);
}
[class^="account-"] .btn-primary:hover {
  background-color: #c4b8b8;
  border-color: #c4b8b8;
  color: var(--text-color);
}
[class^="account-"] .well {
  border: none;
  padding: 0;
}

.well h1 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 17px;
  text-align: center;
}
.well .register_desc {
  font-size: 16px;
  margin: 0 0 23px;
  font-family: var(--font-bold);
  text-align: center;
}
.well .register_desc a {
  text-decoration: underline !important;
  color: #9f9494;
  font-weight: 700;
}
.well .register_desc a:hover {
  color: var(--primary-color);
  text-decoration: none !important;
}

.otp_methods span.method-flex {
  background-color: #f2f5f2;
  font-size: 14px;
  color: #808080;
  font-family: var(--font-bold);
  border: none;
}
.otp_methods span.method-flex i {
  font-size: 24px;
}
.otp_methods span.method-flex:hover {
  color: #808080;
}
.otp_methods input:checked + span {
  color: var(--text-color);
  background-color: #c4b8b8;
}
.otp_methods input:checked + span:hover {
  color: var(--text-color);
  background-color: #c4b8b8;
}
#register-form label.control-label {
  margin: 0 auto 7px;
  padding: 0 18px;
  font-size: 14px;
  font-family: var(--font-bold);
}