/* ============================================================================
   alerts-signup.css, card 1158. The park alerts (Rundown) signup card on the hours by month, crowd
   calendar and best day pages. First Light colors are set here on the card itself
   (white card, navy ink, coral action) so it reads the same on every page theme.
   ========================================================================== */

.pa {
  --pa-ink: #10294a; --pa-ink-2: #2f4868; --pa-ink-3: #4f6682;
  --pa-coral: #f4502f; --pa-coral-deep: #c8321a; --pa-sky: #eef5f5; --pa-line: rgb(16 41 74 / 0.14);
  --pa-ui: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pa-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  position: relative;
  container-type: inline-size;
  margin: 26px 0 30px;
  padding: 22px 24px 20px 28px;
  background: #fff;
  color: var(--pa-ink);
  border: 1px solid var(--pa-line);
  border-radius: 18px;
  box-shadow: 0 1px 2px rgb(16 41 74 / 0.08), 0 14px 32px -20px rgb(16 41 74 / 0.45);
  overflow: hidden;
  font-family: var(--pa-ui);
  text-align: left;
}
.pa::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 6px;
  background: linear-gradient(180deg, var(--pa-coral), #f0b13a);
}
/* The card sizes itself by its own width (container query), because it sits in a narrow
   column on some pages and full width on others. Wide: copy left, form right. */
.pa-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
.pa-act { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pa-copy { min-width: 0; }
.pa-eyebrow {
  display: inline-flex; align-items: center; gap: 7px; margin: 0 0 8px;
  padding: 4px 10px 4px 8px; border-radius: 999px; background: #fff1ec;
  font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--pa-coral-deep);
}
.pa-bell { width: 14px; height: 14px; fill: currentColor; flex: none; }
.pa .pa-h {
  margin: 0 0 6px; font-family: var(--pa-display); font-weight: 800; font-variation-settings: "SOFT" 100;
  font-size: clamp(20px, 2.1vw, 25px); line-height: 1.18; letter-spacing: -0.01em; color: var(--pa-ink);
  text-wrap: balance;
}
.pa-lede { margin: 0; font-size: 15px; line-height: 1.5; color: var(--pa-ink-2); max-width: 46ch; }

.pa-form {
  display: grid; grid-template-columns: minmax(0, 1fr);
  gap: 10px; align-items: end; margin: 0;
}
.pa-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.pa-field label { font-size: 12px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--pa-ink-3); }
.pa-field input {
  width: 100%; box-sizing: border-box; height: 46px; padding: 0 12px; margin: 0;
  font: 600 15px/1 var(--pa-ui); color: var(--pa-ink); background: var(--pa-sky);
  border: 1px solid rgb(16 41 74 / 0.2); border-radius: 12px; -webkit-appearance: none; appearance: none;
  color-scheme: light;
}
.pa-field input::placeholder { color: #6a7d95; font-weight: 500; }
.pa-field input:focus-visible { outline: 3px solid rgb(244 80 47 / 0.35); outline-offset: 1px; border-color: var(--pa-coral-deep); background: #fff; }
.pa-btn {
  height: 46px; padding: 0 20px; border: 0; border-radius: 12px; cursor: pointer; white-space: nowrap;
  font: 800 15px/1 var(--pa-ui); color: #fff; background: var(--pa-coral-deep);
  box-shadow: 0 8px 18px -10px rgb(200 50 26 / 0.8);
  transition: transform .15s ease, background-color .15s ease;
}
.pa-btn:hover { background: #b92e13; transform: translateY(-1px); }
.pa-btn:focus-visible { outline: 3px solid rgb(16 41 74 / 0.45); outline-offset: 2px; }
.pa-btn:disabled { opacity: 0.7; cursor: progress; transform: none; }

.pa .pa-msg { margin: 0; min-height: 0; font-size: 15px; font-weight: 700; line-height: 1.4; color: #0d6e5c; }
.pa .pa-msg:empty { display: none; }
.pa .pa-msg.is-error { color: #b92e13; }
.pa .pa-fine { margin: 0; font-size: 13px; line-height: 1.4; color: var(--pa-ink-3); }

/* After a signup the form steps aside and the answer takes its place. */
.pa.is-done .pa-form { display: none; }
.pa.is-done .pa-msg {
  display: flex; align-items: center; gap: 10px; margin: 0; padding: 14px 16px; border-radius: 12px;
  background: #e2f4ee; color: #0b5c4d; font-size: 16px;
}
.pa.is-done .pa-msg::before {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: #0d8670 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6L20.1 8.4 18.7 7z' fill='%23fff'/%3E%3C/svg%3E") center/16px no-repeat;
}


@container (min-width: 500px) {
  .pa-form { grid-template-columns: minmax(0, 1fr) auto; }
}
@container (min-width: 860px) {
  .pa-in {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    align-items: center; gap: 32px;
  }
}
@media (max-width: 560px) {
  .pa { margin: 20px 0 24px; padding: 18px 16px 16px 20px; border-radius: 16px; }
  .pa-btn { height: 48px; }
  .pa-lede { font-size: 14.5px; }
}
@media (prefers-reduced-motion: reduce) { .pa-btn { transition: none; } }
