/* Login form slot in hero-copy — reuses web contact-form chrome only (no portal theme). */
.hero-copy #portal-login-form,
.hero-copy #portal-login-form * {
  pointer-events: auto;
}

.hero-copy #portal-login-form {
  width: min(100%, 420px);
  margin: clamp(12px, 3vh, 28px) 0 0;
  padding: 22px;
  border: 1px solid #155c76;
  border-radius: 7px;
  background: #0d1824;
}

.hero-copy #portal-login-form .eyebrow {
  margin: 0 0 8px;
  font-size: 9px;
  letter-spacing: 2px;
  color: #5ed1eb;
  pointer-events: none;
}

.hero-copy #portal-login-form .login-heading {
  margin: 0 0 10px;
  font-family: 'Barlow Condensed', Impact, sans-serif;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 0.95;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  color: #fff;
  font-weight: 700;
  font-style: normal;
}

.hero-copy #portal-login-form .login-lead {
  margin: 0 0 14px;
  color: #c5d0dc;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 500;
}

.hero-copy #portal-login-form .login-flash {
  border: 1px solid #155c76;
  border-radius: 4px;
  padding: 8px 10px;
  margin: 0 0 12px;
  color: #eef5fb;
  font-size: 13px;
  background: #08111c;
}

.hero-copy #portal-login-form .login-field {
  margin-bottom: 12px;
}

.hero-copy #portal-login-form .button {
  margin-top: 18px;
  width: 100%;
}

.hero-copy #portal-login-form .login-links {
  margin: 12px 0 0;
  font-size: 12px;
}

.hero-copy #portal-login-form .login-links a {
  color: #78d9ee;
}

.hero-copy #portal-login-form .login-links a:hover {
  color: #fff;
}

@media (max-width: 700px) {
  .hero-copy #portal-login-form {
    width: 100%;
    max-width: 400px;
    padding: 15px;
  }
}

@media (max-height: 700px) {
  .hero-copy #portal-login-form {
    padding: 14px;
  }
  .hero-copy #portal-login-form .login-heading {
    font-size: clamp(28px, 5vw, 40px);
  }
}

@media (max-height: 480px) and (min-width: 701px) {
  .hero-copy #portal-login-form {
    padding: 10px;
  }
  .hero-copy #portal-login-form .button {
    margin-top: 7px;
    padding: 8px;
  }
}
