/* Container spacing so it breathes within most themes */
.hp-wrap {
  display: flex;
  justify-content: center;
  margin: 24px 0 16px;
}

/* Card look that plays nice with light or dark themes */
.hp-card {
  width: min(640px, 92vw);
  background: var(--hp-card-bg, #0b2238);
  color: #eef3f8;
  padding: 18px 20px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
  border: 1px solid rgba(255,255,255,.08);
}

/* If the site is light themed, flip to a light card */
@media (prefers-color-scheme: light) {
  .hp-card {
    background: #ffffff;
    color: #1f2937;
    border-color: rgba(0,0,0,.06);
  }
}

.hp-heading {
  margin: 0 0 8px 0;
  text-align: center;
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 700;
}

.hp-label {
  display: block;
  margin: 8px 0 6px;
  font-size: 14px;
  opacity: .9;
  text-align: center;
}

.hp-input {
  width: 100%;
  max-width: 320px;
  margin: 0 auto 12px;
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,.2);
  background: #fff;
  color: #111;
  outline: none;
}
.hp-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59,130,246,.25);
}

.hp-btn {
  width: 100%;
  max-width: 220px;
  margin: 0 auto;
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  border: 0;
  color: #fff;
  background: linear-gradient(180deg, #2da0ff 0%, #0073aa 100%);
  font-weight: 700;
  cursor: pointer;
  transition: transform .06s ease, opacity .2s ease, box-shadow .2s ease;
  box-shadow: 0 6px 14px rgba(0,115,170,.35);
}
.hp-btn:hover { transform: translateY(-1px); }
.hp-btn:active { transform: translateY(0); }
.hp-btn[disabled] {
  opacity: .6;
  cursor: not-allowed;
}

.hp-error {
  margin-top: 10px;
  min-height: 18px;
  text-align: center;
  color: #ef4444;
  font-size: 13px;
}

/* Make it stack nicely on very small screens */
@media (max-width: 420px) {
  .hp-card { padding: 16px; }
}
