/* Combo Camps look for the Combo application form (2026-11-19). Loaded AFTER forms.css and only by pages whose <html>
   carries class "combo", so the club's forms never see any of it. Same layout and behaviour as the club forms; only the
   skin differs, taken from Combo's approved email system (memory reference_combo_camps_email_style.md) and the official
   brand package (brand-assets/combo-camps/): exactly two brand colours, cyan #53c8e8 and orange #f68d2a, deep teal ink,
   Plus Jakarta Sans. Contrast: white fails on cyan (1.95:1), so a chosen answer is ink on cyan (5.34:1) and the button
   label is dark teal on orange; on white, small cyan/orange text uses the darker #1c8aa8 / #c2670a. */
html.combo {
  --ink: #0c4655;
  --slate: #4f6670;
  --slate-soft: #65808a;
  --blue: #1c8aa8;           /* focus rings and links: the text-safe cyan */
  --blue-pale: #dff3f9;
  --panel: #dbe9f0;          /* the tinted ground */
  --line: #e4edf2;
  --line-strong: #bcd2dc;
  --cyan: #53c8e8;
  --orange: #f68d2a;
  --orange-ink: #123f4d;
  --orange-deep: #c2670a;
}
html.combo body { font-family: 'Plus Jakarta Sans', 'Segoe UI', Helvetica, Arial, sans-serif; color: var(--slate); }

/* the logo sits straight on the tinted ground, no box, as in Combo's emails */
.cbrand { display: flex; justify-content: center; margin: 4px 0 18px; }
.cbrand img { display: block; width: 128px; height: auto; }
@media (min-width: 600px) { .cbrand { margin: 0 0 22px; } .cbrand img { width: 144px; } }

/* the card: white, a 6px orange bar across the top */
html.combo .card {
  border: 0; border-top: 6px solid var(--orange); border-radius: 20px;
  box-shadow: 0 1px 2px rgba(12, 70, 85, .06), 0 14px 34px rgba(12, 70, 85, .10);
}
html.combo h1 { font-weight: 700; letter-spacing: -.02em; }
html.combo .field > label, html.combo .legend { font-weight: 600; }
html.combo .sub { color: var(--slate); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 2px 0 24px; }

html.combo input:focus, html.combo select:focus, html.combo textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-pale); }

/* yes / no: the chosen answer fills with brand cyan, ink label */
html.combo .yn input:checked + span { background: var(--cyan); border-color: var(--cyan); color: var(--ink); font-weight: 600; }

/* file picker in cyan */
html.combo .filebox { background: #ecf8fc; border-color: #86d4ea; color: var(--blue); }
html.combo .field > label.filebox { color: var(--blue); }
html.combo .field > label.filebox.bad { color: #7c3320; } /* a refused file still shows the error colours */

/* the one solid brand fill: the orange button */
html.combo .btn { background: var(--orange); border-color: var(--orange); color: var(--orange-ink); font-weight: 700; box-shadow: 0 6px 16px rgba(246, 141, 42, .28); }
html.combo .btn:hover:not(:disabled) { background: #f4801a; }
html.combo .btn.ghost { background: #fff; border-color: var(--line-strong); color: var(--ink); box-shadow: none; }
html.combo .btn .spin { border-color: rgba(18, 63, 77, .3); border-top-color: var(--orange-ink); }

html.combo .done .tick circle { fill: var(--blue-pale); }
html.combo .done .tick path { stroke: var(--blue); }

.cfoot { margin: 18px 0 0; text-align: center; font-size: 13px; color: #8ba3ac; }
html.embedded .cfoot { display: none; }

/* Shown inside Combo's own website (www.combocamps.com/apply, 2026-11-19): that page already carries Combo's header,
   logo and footer, so the form drops its own logo and lets the page's background show through. */
html.combo.embedded, html.combo.embedded body { background: transparent; }
html.embedded .cbrand { display: none; }
/* the page's banner already says "Combo Camps Application Form" */
html.combo.embedded #form > h1 { display: none; }
