.account-signup-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(7, 31, 29, 0.72);
  backdrop-filter: blur(8px);
}

.account-signup-backdrop[hidden] { display: none; }
.account-signup-open { overflow: hidden; }

.account-signup-card {
  position: relative;
  width: min(100%, 470px);
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 34px;
  border: 1px solid rgba(15, 91, 83, 0.18);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(1, 25, 23, 0.3);
  color: #173a37;
}

.account-signup-card h2 { margin: 4px 0 8px; font-size: clamp(1.65rem, 4vw, 2.15rem); }
.account-signup-kicker { margin: 0; color: #0f766e; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.14em; }
.account-signup-intro { margin: 0 0 24px; color: #607875; line-height: 1.55; }
.account-signup-card form { display: grid; gap: 15px; }
.account-signup-card label { display: grid; gap: 7px; font-weight: 700; }
.account-signup-card label small { color: #718783; font-weight: 500; }
.account-signup-card input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid #cbd9d7;
  border-radius: 10px;
  background: #fbfdfd;
  color: #173a37;
  font: inherit;
}
.account-signup-card input:focus { outline: 3px solid rgba(13, 148, 136, 0.16); border-color: #0f766e; }
.account-signup-submit {
  min-height: 48px;
  border: 0;
  border-radius: 11px;
  background: #0b625b;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.account-signup-submit:hover { background: #084c47; }
.account-signup-submit:disabled { cursor: wait; opacity: 0.65; }
.account-signup-close {
  position: absolute;
  top: 16px;
  right: 18px;
  border: 0;
  background: transparent;
  color: #526d69;
  font-size: 1.8rem;
  cursor: pointer;
}
.account-signup-login { display: block; margin: 18px auto 0; border: 0; background: none; color: #0b625b; font: inherit; font-weight: 700; cursor: pointer; }
.account-signup-message { min-height: 20px; margin: 0; color: #55706c; font-size: 0.9rem; }
.account-signup-message.error { color: #b42318; }

@media (max-width: 540px) {
  .account-signup-backdrop { padding: 10px; }
  .account-signup-card { padding: 28px 20px 24px; border-radius: 18px; }
}
