/* Auth popups rendered as in-page panels (template CSS expects .active overlay) */
.hb-app .loginPOPUP.active,
.hb-app .registerPOPUP.active {
  position: relative;
  inset: auto;
  background: transparent;
  opacity: 1;
  visibility: visible;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: stretch;
  padding: 8px 0 24px;
  min-height: 640px;
}

.hb-app .loginPOPUP.active .loginPOPUP_box,
.hb-app .registerPOPUP.active .registerPOPUP_box {
  transform: none;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

.hb-app .loginPOPUP_close,
.hb-app .registerPOPUP_close {
  cursor: pointer;
  background: transparent;
  border: 0;
  font-size: 28px;
  line-height: 1;
}

.hb-app .personalprofile_part {
  width: 100%;
}

.hb-app .PersonalProfile_tabBtn {
  cursor: pointer;
}

/*
 * Template: `.nEwloGInrEGisTer button { position:absolute; bottom:0; width:100% }`
 * was meant only for Next/Login. With <button class="switchBtn"> Chrome pinned
 * Email/Phone to the bottom (visible as truncated "Ph..."). Keep submit pinned only.
 */
.hb-app .nEwloGInrEGisTer .box {
  height: auto !important;
  min-height: 390px;
  padding-bottom: 64px;
}

.hb-app .nEwloGInrEGisTer button:not([type='submit']):not(.loGInBTN):not(.registerBTN) {
  position: static !important;
  left: auto !important;
  bottom: auto !important;
  width: auto !important;
  background: transparent !important;
  padding: 0 !important;
  color: inherit !important;
  font: inherit !important;
  line-height: inherit !important;
  border-radius: 0 !important;
}

.hb-app .nEwloGInrEGisTer .switchBtn {
  flex: 1;
  text-align: center;
  padding: 14px !important;
  cursor: pointer;
  color: #9fa5ac !important;
  font-weight: 600 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 6px !important;
  border: 0 !important;
  background: transparent !important;
  width: auto !important;
  position: static !important;
}

.hb-app .nEwloGInrEGisTer .switchBtn.active {
  background: rgba(169, 175, 181, 0.16) !important;
  color: #fff !important;
}

.hb-app .nEwloGInrEGisTer .loGInrEGisTerFm .eyeicon {
  position: absolute !important;
  right: 16px !important;
  left: auto !important;
  top: 15px !important;
  bottom: auto !important;
  width: 22px !important;
  height: 22px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  cursor: pointer;
  z-index: 2;
}

.hb-app .nEwloGInrEGisTer .promocodePT {
  position: static !important;
  width: 100% !important;
  background: transparent !important;
  text-align: left !important;
  margin: 8px 0 12px !important;
  cursor: pointer;
  border: 0 !important;
  display: block;
}

.hb-app .nEwloGInrEGisTer button[type='submit'],
.hb-app .nEwloGInrEGisTer button.loGInBTN,
.hb-app .nEwloGInrEGisTer button.registerBTN {
  position: absolute !important;
  left: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  background: #ff0048 !important;
  color: #fff !important;
  padding: 12px 0 !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
}
