#lista-espera-aula {
  background: #f7f5f0;
  padding: 4rem 1.25rem;
  scroll-margin-top: 1.5rem;
}

.am-waitlist-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem;
  border: 1px solid #d9d2c5;
  border-radius: 1rem;
  background: #fff;
  color: #2a2a2a;
  font-family: Inter, system-ui, sans-serif;
}

.am-waitlist-card h2 {
  margin: 0 0 0.75rem;
  color: #2a2a2a;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  line-height: 1.25;
}

.am-waitlist-intro,
.am-waitlist-note,
.am-waitlist-privacy {
  color: #4f4f4f;
  line-height: 1.65;
}

.am-waitlist-intro {
  margin: 0 0 1.5rem;
  font-size: 1rem;
}

.am-waitlist-field {
  margin-bottom: 1rem;
}

.am-waitlist-field label {
  display: block;
  margin-bottom: 0.4rem;
  color: #2a2a2a;
  font-size: 0.95rem;
  font-weight: 500;
}

.am-waitlist-field input[type="email"] {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  border: 1px solid #767676;
  border-radius: 0.5rem;
  background: #fff;
  color: #1f1f1f;
  font: inherit;
}

.am-waitlist-field input[type="email"]:focus,
.am-waitlist-consent input:focus,
.am-waitlist-submit:focus {
  outline: 3px solid #b9d9dc;
  outline-offset: 2px;
}

.am-waitlist-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 1rem 0;
  color: #3f3f3f;
  font-size: 0.92rem;
  line-height: 1.55;
}

.am-waitlist-consent input {
  width: 20px;
  height: 20px;
  margin-top: 0.1rem;
  flex: 0 0 auto;
}

.am-waitlist-consent a,
.am-waitlist-privacy a {
  color: #24545b;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.am-waitlist-hp {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.am-turnstile {
  min-height: 65px;
  margin: 1rem 0;
}

.am-waitlist-submit {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.8rem 1.25rem;
  border: 0;
  border-radius: 0.5rem;
  background: #2f6770;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.am-waitlist-submit:hover {
  background: #24545b;
}

.am-waitlist-submit:disabled {
  cursor: wait;
  opacity: 0.7;
}

.am-waitlist-status {
  min-height: 1.5rem;
  margin: 0.9rem 0 0;
  color: #24545b;
  font-size: 0.95rem;
  font-weight: 500;
}

.am-waitlist-status[data-state="error"] {
  color: #8b1e1e;
}

.am-waitlist-note,
.am-waitlist-privacy {
  margin: 0.85rem 0 0;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  #lista-espera-aula {
    padding: 5rem 3rem;
  }

  .am-waitlist-card {
    padding: 2.5rem;
  }
}
