/* Jen by HPE — login (two-column hero + card) */

*,
*::before,
*::after {
  box-sizing: border-box;
}

.jen-login-body {
  margin: 0;
  min-height: 100vh;
  font-family: Montserrat, "Segoe UI", system-ui, sans-serif;
  background: #1a1c23;
  color: #fff;
  -webkit-font-smoothing: antialiased;
}

.jen-login {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 100% 0px;
    overflow: hidden;
}

.jen-login__waves {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  color: #0d4d3f;
}

.jen-login__waves svg {
  width: 100%;
  height: 100%;
  display: block;
}

.jen-login__inner {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 2.5rem) clamp(1rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: 1fr minmax(280px, 570px);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (max-width: 991px) {
  .jen-login__inner {
    grid-template-columns: 1fr;
    align-items: start;
    padding-bottom: 2.5rem;
  }
}

/* Left column */
.jen-login__brand {
  margin: 0 0 1.75rem;
  transform: translateY(-30px)
}
@media (max-width: 1024px) {
    .jen-login__brand {
        transform: translateY(0px)
    }
}


.jen-login__logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.jen-login__logo-link:focus-visible {
  outline: 2px solid #00b388;
  outline-offset: 4px;
}

.jen-login__logo-svg {
  height: 32px;
  width: auto;
  display: block;
}

.jen-login__headline {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  font-weight: 700;
  line-height: 1.15;
  color: #00b388;
  letter-spacing: -0.02em;
  text-align: center;
}

.jen-login__subhead {
    margin: 0 0 1.25rem;
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 700;
    line-height: 1.25;
    color: #00b388;
    text-align: center;
}

.jen-login__lead {
    margin: 0 0 1.75rem;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.95);
    text-align: center;
}

.jen-login__avatar-wrap {
  margin-top: 0.5rem;
}

.jen-login__avatar {
    width: min(200px, 52vw);
    height: min(200px, 52vw);
    border-radius: 50%;
    object-fit: cover;
    display: block;
    box-shadow: 0 0 10px 5px #2d7c8e;
    margin: auto;
}

/* Right column — card */
.jen-login__card {
  background: #c4c4c4;
  border-radius: 16px;
  padding: clamp(1.75rem, 4vw, 0.5rem) clamp(1.5rem, 4vw, 2.25rem);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.jen-login__card-title {
    margin: 0 0 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0a5c52;
    letter-spacing: -0.02em;
    text-align: center;
}

.jen-login__field {
  margin-bottom: 10%;
}

.jen-login__label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #3a3a3a;
}

.jen-login__input {
  display: block;
  width: 100%;
  padding: 0.2rem 0;
  font-size: 1rem;
  font-family: inherit;
  color: #1a1a1a;
  background: transparent;
  border: none;
  border-bottom: 2px solid #0a0a0a;
  border-radius: 0;
}

.jen-login__input::placeholder {
  color: #6a6a6a;
}

.jen-login__input:focus {
  outline: none;
  border-bottom-color: #00b388;
}

.jen-login__input.input-validation-error {
  border-bottom-color: #a32020;
}

.jen-login__error,
span.field-validation-error {
  margin: 0.5rem 0 0;
  display: block;
  font-size: 0.82rem;
  color: #a32020;
}

.jen-login-btnwrapper {
    text-align: center;
}

.jen-login__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 50%;
  padding: 0.85rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, filter 0.15s ease;
}
@media (min-width: 1024px) and (max-width: 1199px) {
    .jen-login__inner {
        grid-template-columns: 1fr minmax(280px, 420px);
    }
    .jen-login__btn {
        width: 70%;
    }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .jen-login__lead {
        width: 80%;
        margin: auto
    }

    .jen-login__right {
        width: 65%;
        margin: auto
    }

    .jen-login__btn {
        width: 60%;
    }
}
@media (max-width: 767px) {
    .jen-login__btn {
        width: 82%;
    }
}

.jen-login__btn--primary {
  margin-bottom: 10%;
  color: #fff;
  background: #00b388;
  border-color: #00b388;
}

.jen-login__btn--primary:hover {
  filter: brightness(1.06);
  color: #fff;
}

.jen-login__btn--secondary {
  color: #0a5c52;
  background: #fff;
  border-color: #00b388;
}

.jen-login__btn--secondary:hover {
  background: rgba(255, 255, 255, 0.95);
  color: #064a42;
}

.jen-login__btn-arrow {
  font-size: 1.1em;
  line-height: 1;
}

.jen-login__or {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 10%;
  color: #0a0a0a;
  font-size: 0.85rem;
  font-weight: 600;
}

.jen-login__or::before,
.jen-login__or::after {
  content: "";
  flex: 1;
  height: 2px;
  background: #0a0a0a;
}

.jen-login__footer {
  margin: 14% 0 0;
  text-align: center;
  font-size: 0.65rem;
  line-height: 1.4;
  color: #0a0a0a;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
