/* Card activation — Care Center brand system
   Loaded on top of shop.css, so it reuses that file's brand tokens rather
   than repeating literal colours. This sheet previously carried a stray
   Tailwind palette (mint #f0fdfa/#ccfbf1, green-teal #0f766e, blue
   #eff6ff/#1e40af): a green-and-blue page sitting behind the teal/coral
   storefront. Since this is the page a gift recipient lands on — often
   their first sight of the brand — it now follows the same guidelines as
   everything else: logo teal and coral only, white as the resting
   surface, brand colour on headers and highlights. */

/* Flat tinted stage — no vertical fade, no corner mark. This page is a
   form the recipient has to focus on, not a place for a brand flourish. */
.activation-shell {
  min-height: 70vh;
  padding: 4rem 0 6rem;
  background: var(--teal-50);
  position: relative; overflow: hidden;
}
.activation-shell::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0;
  height: 5px; background: var(--coral); pointer-events: none;
}
.activation-container, .activation-head, .activation-card { position: relative; z-index: 1; }
.activation-container { max-width: 1080px; }
.activation-head { text-align: center; max-width: 720px; margin: 0 auto 2rem; }
.activation-head h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -.04em;
  margin: .65rem 0;
  color: var(--navy);
}
.activation-head p, .activation-card > p { color: var(--muted); }

.activation-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 2rem;
  box-shadow: var(--sh-card, 0 20px 60px rgba(15, 23, 42, .08));
}
.activation-verify, .activation-success { max-width: 620px; margin: 0 auto; }

/* Step pill — brand teal, not the old mint/green. */
.activation-step {
  display: inline-flex;
  padding: .35rem .65rem;
  border-radius: 999px;
  background: var(--teal-100);
  color: var(--teal-700);
  font-size: .75rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em;
}
.activation-card h2 { font-size: 1.5rem; margin: .8rem 0 .35rem; color: var(--navy); }

.activation-layout {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.5fr);
  gap: 1.25rem; align-items: start;
}
.activation-summary { position: sticky; top: 1.5rem; }
.activation-summary ul { list-style: none; padding: 0; margin: 1.25rem 0; }
.activation-summary li {
  padding: .85rem 0; border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: .2rem;
}
.activation-summary li span, .masked-email {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* Informational note — teal tint, replacing the old cornflower blue. */
.activation-note {
  display: flex; gap: .65rem;
  background: var(--teal-50);
  color: var(--teal-700);
  padding: .85rem; border-radius: 12px; font-size: .86rem;
}
.activation-restart { display: inline-block; margin-top: 1rem; color: var(--teal-700); font-weight: 700; }

.activation-form { display: grid; gap: 1rem; margin-top: 1.4rem; }
.activation-form label:not(.activation-check) {
  display: block; font-weight: 700; font-size: .82rem;
  color: var(--ink); margin-bottom: .35rem;
}
.activation-form small { display: block; color: var(--muted); margin-top: .3rem; }
.activation-grid { display: grid; gap: 1rem; }
.activation-grid.two   { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.activation-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.activation-check { display: flex; align-items: flex-start; gap: .65rem; color: var(--ink); font-size: .88rem; }
.activation-check input { margin-top: .2rem; }

/* Validation states reuse shop.css's semantic tokens so an error here
   looks identical to an error at checkout. */
.errorlist { list-style: none; padding: 0; margin: .35rem 0 0; color: var(--danger); font-size: .8rem; }
.form-alert {
  background: var(--danger-bg); color: var(--danger);
  border: 1px solid var(--coral-200); border-radius: 10px; padding: .8rem;
}
.activation-success { text-align: center; }
.activation-success-icon {
  display: grid; place-items: center;
  width: 68px; height: 68px; margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--success-bg); color: var(--success);
  font-size: 1.7rem;
}

@media (max-width: 800px) {
  .activation-layout { grid-template-columns: 1fr; }
  .activation-summary { position: static; }
  .activation-grid.two, .activation-grid.three { grid-template-columns: 1fr; }
  .activation-shell { padding-top: 2rem; }
  .activation-card { padding: 1.25rem; }
}
