body.no-scroll {
  overflow:hidden;
}

/* Visibility */
#login-popup {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  position: relative;
  z-index: 999;
}
#login-popup.active {
  opacity: 1;
  visibility: visible;
}
#login-popup .popup-overlay,
#login-popup .popup-block {
  display: none;
}
#login-popup.active .popup-overlay,
#login-popup.active .popup-block {
  display: block;
}
/* END | Visibility */


#login-popup .popup-overlay {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0,0,0,0.7);
  z-index: 990;
}

#login-popup .popup-block {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 100%;
  max-width: 420px;
  padding: 8px;
  z-index: 999;
}

#login-popup .popup-inner {
  background-color: #fff;
  padding: 52px 32px;
  position: relative;
}

#login-popup .title {
  font-size: var(--font_h4);
  font-weight: 500;
  margin-bottom: 32px;
  text-align: center;
}

#login-popup form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
#login-popup form .input-wrap {
  display: flex;
  flex-direction: column;
}
#login-popup form .input-wrap label {
  margin-bottom: 4px;
}
#login-popup form input {
  border: 2px solid #eee;
  color: #000;
}
#login-popup form input::placeholder {
 color: #818181;
}

#login-popup .buttons {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap-reverse;
  gap: 12px 4px;
}
#login-popup .buttons .btn {
  margin-left: auto;
}

#login-popup .options {
  display: flex;
  flex-direction: column;
}
#login-popup .options a {
  color: var(--brown_dark);
  font-size: 90%;
}

.close-popup {
  position: absolute;
  top: 6px;
  right: 6px;
}
.close-popup a {
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;

}
.close-popup a:hover {
  background-color: var(--block_sand);
}

@media (max-width: 767px) {
  #login-popup .popup-inner {
    padding: 32px 16px;
  }
}