#login-popup-modal {
  h6.modal-title {
    text-align: right;
    font-size: 24px;
    margin-bottom: 25px;
    color: #464646;
  }

  .modal-footer {
    justify-content: left;
    width: 100%;
    border: none;
  }

  #login-submit {
    i {
      transform: scale(1.3) translateY(1.5px);
      -webkit-transform: scale(1.3) translateY(1.5px);
      margin: 0 5px 0 0;
    }
  }

  .login-result {
    background: #fff;
    padding: 10px;
    width: 100%;
    border-radius: var(--ns-radius) ;
    text-align: right;
    color: #666;
    margin-bottom: 20px;

    &:empty {
      display: none;
    }

    &--error {
      background-color: #ffd9d9;
      color: #ff5153;
    }

    &--success {
      background-color: #deffdf;
      color: #4caf50;
    }
  }

  .lost_password {
    display: none;
  }

  .woocommerce-form-login__submit {
    &.loading {
      opacity: 0.5;
      pointer-events: none;
    }
  }

  .login-loading {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.3);
  }

  .negarshop-login-box {
    position: relative;
  }

  form.login {
    .form-row {
      display: block;

      .input-text {
        width: 100%;
      }

      label {
        color: #666;
        font-size: 14px;
      }
    }
  }

  .cb-custom-close {
    display: block;
    position: absolute;
    left: 20px;
    top: 10px;
    z-index: 1;
  }

  .modal-content {
    .popup-register-btn {
      width: 100%;
    }

    .woocommerce-form-login__submit {
      width: 100%;
      padding: 12px;
    }

    padding: 0 20px;
    overflow: visible;
  }

  .modal-dialog {
    overflow: visible;
  }
}

.sign-up-box {
  .sign-up-vector {
    padding-top: 80%;
    background: url("../images/sign-up.svg");
    width: 100%;
    display: block;
  }

  .sign-up-message {
    text-align: center;
    padding: 20px 0 0 0;
    color: #666;

    a {
      padding: 5px 0;
      border-bottom: dotted 2px;
    }
  }
}

.dig_lasele {
  padding-left: 0;
  padding-right: 17px;
}

html[dir=rtl] .dig_lasele {
  right: auto !important;
}

.dig_popmessage .dig_firele {
  margin-left: auto !important;
  margin-right: 20px;
}

.dig_critical_msg .dig_popmessage_contents {
  background: none !important;
  border: none !important;
}

.digits-form_submit-btn {
  color: #fff;
  background: var(--ns-primary);
  border-radius: var(--ns-radius) ;
  padding: 12px !important;

  &:hover {
    opacity: 0.8;
  }
}

.login .woocommerce-LostPassword a {
  float: none !important;
}

.smart-login-page {
  display: flex;
  align-items: center;
  justify-content: center;

  &.full-width {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    overflow: auto;
    z-index: 99999;
  }

  .sign-up-vector {
    padding-top: 80%;
    background: url("../images/sign-up.svg");
    width: 100%;
    display: block;
    margin-bottom: 20px;
  }

  .login-title {
    color: #222;
    margin-bottom: 30px;
  }

  .smart-login {
    width: 460px;
    max-width: 100%;
    padding: 30px;
  }

  .field-row {
    input {
      width: 100%;
    }
  }

  #auth-code {
    text-align: center;
    font-size: 1.5rem;
    letter-spacing: 1rem;
  }


  .login-steps {
    display: none;
  }

  .login-result {
    color: #bb3e3e;
    margin-bottom: 1.5rem;
  }

  .login-form {
    position: relative;
  }

  .form-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(1px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
  }

  .smart-login:not(.loading) {
    .form-loading {
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      filter: grayscale(1);
    }
  }

  .captcha-wrapper{
    display: flex;
    gap: 10px;

    img{
      border-radius: var(--ns-radius);
      cursor: pointer;

      &:hover{
        opacity: 0.8;
      }
    }
  }
}

.negarshop-mobile-verify-form {
  background: #fff;
  padding: 30px;
  border-radius: var(--ns-radius, 20px);
  margin-bottom: 30px;
  border: #ddd 1px solid;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  position: relative;

  .section-heading, .login-result {
    min-width: 100%;
    max-width: 100%;
  }

  .login-result {
    color: var(--ns-primary);
  }

  p {
    flex: 1;
    margin-bottom: 0;
  }

  &.need-action ~ *:not(.negarshop-mobile-verify-form) {
    opacity: 0.5;
    pointer-events: none;
  }

  .form-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(1px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
  }

  &:not(.loading) {
    .form-loading {
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      filter: grayscale(1);
    }
  }
}


.my_account_waitlist{
  width: 100%;
}