/* Family House Africa webinars: the sign-up box on webinar pages.
   Uses only the colour variables each page defines (and that light mode and "Site colours" change). */
.fhw-signup { margin: 34px 0 44px; padding: clamp(22px, 4vw, 34px); background: var(--card); border: 1px solid rgba(var(--fg-rgb), 0.12); border-top: 3px solid var(--gold); color: var(--warm-white); }
.fhw-signup-kicker { margin: 0 0 16px; color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; }
.fhw-signup-msg { min-height: 1.2em; margin: 12px 0 0; color: rgba(var(--fg-rgb), 0.78); font-size: 15px; line-height: 1.55; }
.fhw-signup-msg.is-error { color: var(--gold); font-weight: 700; }
.fhw-signup-small { margin: 12px 0 0; color: rgba(var(--fg-rgb), 0.6); font-size: 13px; }
.fhw-signup-small a { color: inherit; text-decoration: underline; }

.fhw-times { display: grid; gap: 10px; margin: 0 0 20px; padding: 0; border: 0; }
.fhw-times legend { margin-bottom: 10px; padding: 0; font-size: 13px; font-weight: 700; }
.fhw-time { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid rgba(var(--fg-rgb), 0.2); cursor: pointer; transition: border-color 160ms ease, background 160ms ease; }
.fhw-time:hover { border-color: rgba(var(--fg-rgb), 0.45); }
.fhw-time:has(input:checked) { border-color: var(--gold); background: rgba(var(--fg-rgb), 0.04); }
.fhw-time input { flex: 0 0 auto; width: 18px; height: 18px; margin: 0; accent-color: var(--gold); }
.fhw-time > span { display: grid; gap: 2px; line-height: 1.35; }
.fhw-time strong { font-size: 16px; }
.fhw-time > span > span { color: rgba(var(--fg-rgb), 0.7); font-size: 14px; }

.fhw-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
@media (max-width: 600px) { .fhw-fields { grid-template-columns: 1fr; } }
.fhw-fields label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; }
.fhw-fields input { width: 100%; height: 52px; padding: 0 14px; border: 1px solid rgba(var(--fg-rgb), 0.22); border-radius: 0; background: rgba(var(--fg-rgb), 0.04); color: var(--warm-white); font: inherit; font-size: 16px; }
.fhw-fields input:focus, .fhw-fields select:focus { outline: none; border-color: var(--gold); }
.fhw-fields select { width: 100%; height: 52px; padding: 0 14px; border: 1px solid rgba(var(--fg-rgb), 0.22); border-radius: 0; background-color: rgba(var(--fg-rgb), 0.04); color: var(--warm-white); font: inherit; font-size: 16px; }
.fhw-fields select option { color: #191512; background: #fff; }
.fhw-wide { grid-column: 1 / -1; }
.fhw-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.fhw-signup-form button[type="submit"], .fhw-signup-button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 30px; border: 0; background: var(--gold); color: var(--on-gold); font: inherit; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background 180ms ease; }
.fhw-signup-form button[type="submit"]:hover, .fhw-signup-button:hover { background: var(--gold-light); }
.fhw-signup-form button[disabled] { opacity: 0.6; cursor: progress; }
@media (max-width: 600px) { .fhw-signup-form button[type="submit"], .fhw-signup-button { width: 100%; } }

.fhw-signup-done:focus { outline: none; }
.fhw-signup-done h3 { margin: 0 0 12px; font-size: clamp(22px, 3vw, 30px); line-height: 1.15; letter-spacing: -0.02em; }
.fhw-signup-done p { margin: 0 0 18px; color: rgba(var(--fg-rgb), 0.78); line-height: 1.6; }
.fhw-signup-done strong { color: var(--warm-white); }
.fhw-signup-cal { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 18px 0 0 !important; font-size: 14px; }
.fhw-signup-cal a { color: var(--gold); text-decoration: underline; }
.fhw-signup-link { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
