/* Shared by /beta, /live, /links, /privacy. Builds on ../style.css tokens (--bg, --cyan, --magenta, Inter). */

/* ---------- Sub-page nav ---------- */
.sub-nav .nav-container { gap: 16px; }
.sub-links {
  list-style: none;
  display: flex;
  gap: 22px;
  align-items: center;
}
.sub-links a {
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.sub-links a:hover,
.sub-links a[aria-current="page"] { color: var(--text); }
.sub-links .sub-cta {
  color: #000;
  background: var(--cyan);
  padding: 7px 14px;
  border-radius: 999px;
  font-weight: 600;
}
.sub-links .sub-cta:hover { color: #000; background: #33ecff; }
@media (max-width: 480px) {
  .sub-nav .nav-logo { font-size: 0.95rem; letter-spacing: 0.1em; }
  .sub-links { gap: 14px; }
  .sub-links a { font-size: 0.82rem; }
  .sub-links .sub-hide-sm { display: none; }
  .sub-links .sub-cta { padding: 6px 12px; }
}

/* ---------- Site footer links ---------- */
.foot-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  list-style: none;
  margin-bottom: 14px;
}
.foot-links a { color: var(--text-secondary); font-weight: 500; }
.foot-links a:hover { color: var(--text); }

/* ---------- List / booking forms ---------- */
.lf-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}
.lf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lf-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.lf-field label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.lf-field label em {
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  opacity: 0.7;
}
.lf-field input,
.lf-field select,
.lf-field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.lf-field textarea { min-height: 120px; resize: vertical; }
.lf-field input[type="date"] { color-scheme: dark; }
.lf-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-secondary) 50%),
                    linear-gradient(135deg, var(--text-secondary) 50%, transparent 50%);
  background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 36px;
}
.lf-field input::placeholder,
.lf-field textarea::placeholder { color: #55556a; }
.lf-field input:focus,
.lf-field select:focus,
.lf-field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.15);
}

/* SMS consent: unchecked by default, the exact wording beside the box */
.lf-consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  margin: -4px 0 18px;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-secondary);
  cursor: pointer;
}
.lf-consent input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--cyan);
  cursor: pointer;
}
.lf-consent a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }

/* Honeypot: off-screen for people, present for bots */
.lf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.lf-error { color: var(--magenta); font-size: 0.9rem; margin-bottom: 12px; }
.lf-closed {
  font-size: 0.85rem;
  color: var(--text);
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 14px;
}
.lf-closed a { font-weight: 600; }

.lf-submit { width: 100%; justify-content: center; font-size: 1rem; }
.lf-submit:disabled { opacity: 0.55; cursor: default; transform: none; box-shadow: none; }

.lf-fine { color: var(--text-secondary); font-size: 0.8rem; text-align: center; margin-top: 12px; }
.lf-fine a { color: var(--text-secondary); text-decoration: underline; text-underline-offset: 2px; }

.lf-thanks { text-align: center; padding: 12px 0; outline: none; }
.lf-thanks h2, .lf-thanks h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; }
.lf-thanks p { color: var(--text-secondary); }
.lf-check {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #000;
  background: var(--cyan);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.35);
}

/* Placeholders Rex must fill: loud on purpose, search the source for "REX:" */
.todo {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffd84d;
  border: 1px dashed #ffd84d;
  border-radius: 6px;
  padding: 2px 8px;
  vertical-align: middle;
}

@media (max-width: 480px) {
  .lf-row { grid-template-columns: 1fr; gap: 0; }
  .lf-card { padding: 20px; }
}
