.new-login-page {
  padding-top: clamp(24px, 8vh, 70px);
  align-content: baseline;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* Use dynamic viewport units to avoid mobile URL bar issues */
  min-height: 100svh;
  height: 100dvh;
  box-sizing: border-box;
}

.custom-logo {
  width: clamp(120px, 18vw, 165px);
  height: auto;
  justify-self: center;
  margin-bottom: clamp(16px, 6vh, 80px);
}

.content {
  display: grid;
  gap: clamp(16px, 4vh, 32px);
  padding: 0 24px;
  max-width: 380px;
  width: 100%;
  place-self: center;

  .inputs {
    display: grid;
    gap: clamp(8px, 2.5vh, 16px);
  }
}

.background-image-cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: -1;
}

.background-image {
  z-index: -2;
  height: 100%;
  object-fit: cover;
  object-position: 50% center;
  position: absolute;
  width: 100%;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}

.cta-wrapper {
  display: grid;
  gap: clamp(8px, 2.5vh, 16px);
}

.user-registration-link {
  padding: clamp(16px, 4vh, 36px) 0;
  display: flex;
  gap: 8px;
  width: 100%;

  font-family: Mulish;
  font-size: 16px;
  font-style: normal;
  letter-spacing: 0.16px;

  .label {
    color: var(--Colors-Base-White, #fff) !important;
    font-weight: 400 !important;
  }

  .link {
    color: var(--Colors-Green-Green-500, #2aa32d) !important;
    font-weight: 700 !important;
  }
}

/* For shorter viewports, reduce vertical centering to ensure everything fits */
@media (max-height: 640px) {
  .new-login-page {
    justify-content: flex-start;
  }
}
