/* guest_feedback/static/style.css — mobile-first, no external assets.
   Rockets Convenience Plus brand palette (Boost Blue / Sky Blue / Grey). */
:root {
  --brand:      #0075A9;  /* Rockets Boost Blue — headings, primary buttons, key accents */
  --brand-dark: #005E87;  /* darker Boost Blue — button hover/active */
  --accent:     #6BC4E8;  /* Rockets Sky Blue — selected stars, sweepstakes border, highlights */
  --muted:      #D0CFCD;  /* Rockets Grey — input borders, dividers */
  --bg:         #f6fbfe;  /* very faint sky tint page background */
  --text:       #12313d;  /* dark slate body text */
}
* { box-sizing: border-box; }
html { font-size: 17px; }
body {
  margin: 0; padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg); color: var(--text);
  min-height: 100vh; display: flex; flex-direction: column;
}
.wrap {
  flex: 1; width: 100%; max-width: 480px; margin: 0 auto;
  padding: 0 1rem 2rem; background: #fff;
}

/* Brand header — centered Rockets logo on a white header area, shared by every page. */
.brand {
  text-align: center; background: #fff;
  padding: .5rem 0 .45rem; margin-bottom: 1rem;
  border-bottom: 1px solid var(--muted);
}
.brand-logo { display: block; width: 100%; max-width: 150px; height: auto; margin: 0 auto; }

h1 { font-size: 1.35rem; margin: .5rem 0 .25rem; color: var(--brand); }
.sub { margin: 0 0 1rem; color: #3a5560; }
.hint { color: #5a6b73; font-size: .9rem; margin: .75rem 0 .25rem; }
.err {
  background: #eaf6fc; color: #0a4a63;
  border: 1px solid var(--brand); border-radius: 8px; padding: .6rem .8rem;
}

form label { display: block; font-weight: 600; margin: .8rem 0 .25rem; }
form label.check { font-weight: 400; margin-top: .6rem; }
input[type=text], input[type=date], input[type=time], input[type=email], input[type=tel],
select, textarea {
  width: 100%; font-size: 1rem; padding: .65rem .7rem;
  border: 1px solid var(--muted); border-radius: 8px; background: #fff; color: var(--text);
}
input:focus, select:focus, textarea:focus, button:focus,
input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible {
  outline: 3px solid var(--brand); outline-offset: 2px;
}
button {
  width: 100%; margin-top: 1.25rem; padding: .85rem;
  font-size: 1.05rem; font-weight: 700; color: #fff;
  background: var(--brand); border: 0; border-radius: 10px; cursor: pointer;
}
button:hover { background: var(--brand-dark); }
button:active { background: var(--brand-dark); }

fieldset.q { border: 0; padding: 0; margin: 1.1rem 0 0; }
fieldset.q legend { font-weight: 600; padding: 0; margin-bottom: .35rem; }

/* Stars: DOM order 5..1 + row-reverse => checked input's following siblings
   (lower values) render to its LEFT, giving the fill-left effect without JS. */
.stars { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: .15rem; }
.stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars label {
  font-size: 2.2rem; line-height: 1; color: var(--muted); cursor: pointer;
  padding: .1rem .2rem; margin: 0; font-weight: 400;
}
.stars input:checked ~ label,
.stars label:hover, .stars label:hover ~ label { color: var(--accent); }
.stars input:focus-visible + label { outline: 3px solid var(--brand); border-radius: 6px; }

.branch { margin-top: .5rem; }
.branch[hidden] { display: none; }

/* LTR 0-10 numeric scale — wraps on small screens, no JS. Selected label's
   following siblings (lower numbers) are NOT tinted; only the picked pill is. */
.scale { display: flex; flex-wrap: wrap; gap: .3rem; }
.scale input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.scale label {
  min-width: 2rem; text-align: center; padding: .5rem .1rem;
  border: 1px solid var(--muted); border-radius: 8px; background: #fff;
  cursor: pointer; font-weight: 600; color: #3a5560; flex: 1 0 auto;
}
.scale input:checked + label { background: var(--brand); color: #fff; border-color: var(--brand); }
.scale input:focus-visible + label { outline: 3px solid var(--brand); }
.scale-ends { display: flex; justify-content: space-between; color: #5a6b73; font-size: .8rem; margin-top: .35rem; }

/* Yes/No choice pills. */
.choice { display: flex; gap: .5rem; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice label {
  flex: 1; text-align: center; padding: .6rem; cursor: pointer; font-weight: 600;
  border: 1px solid var(--muted); border-radius: 8px; background: #fff; color: var(--text);
}
.choice input:checked + label { background: var(--brand); color: #fff; border-color: var(--brand); }
.choice input:focus-visible + label { outline: 3px solid var(--brand); }

/* Sweepstakes entry block — set off from the survey questions with a Sky Blue dashed border. */
fieldset.q.sweeps {
  margin-top: 1.4rem; padding: 1rem; border: 2px dashed var(--accent);
  border-radius: 12px; background: #fff;
}
fieldset.q.sweeps legend { color: var(--brand); font-size: 1.05rem; padding: 0 .4rem; }

h2 { font-size: 1.05rem; margin: 1.2rem 0 .3rem; color: var(--text); }

/* Honeypot: visually removed, still in the DOM for bots. */
.hp { position: absolute; left: -9999px; top: -9999px; }

/* Drawing-entry confirmation box (renamed from the retired coupon flow). */
.entry-confirm {
  margin: 1.5rem 0; padding: 1.25rem; text-align: center;
  background: #fff; border: 2px dashed var(--accent); border-radius: 12px;
}
.entry-confirm .headline { font-size: 1.6rem; font-weight: 800; letter-spacing: .02em; color: var(--brand); }
.entry-confirm .subline { margin-top: .5rem; color: #555; }

.foot { text-align: center; color: #8a99a0; font-size: .8rem; padding: 1rem; }
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }

/* Restroom form — vertical checkbox list (attention flags). Big tap targets. */
.checks { display: flex; flex-direction: column; gap: .1rem; }
.checks label.check {
  display: flex; align-items: center; gap: .65rem; font-weight: 400;
  margin: .15rem 0; padding: .55rem .6rem; border: 1px solid var(--muted);
  border-radius: 8px; background: #fff; cursor: pointer;
}
.checks input[type=checkbox] { width: 1.2rem; height: 1.2rem; flex: 0 0 auto; accent-color: var(--brand); }

/* Restroom store-picker fallback (/restroom) — full-width store buttons. */
.store-list { list-style: none; padding: 0; margin: 1rem 0; }
.store-list li { margin: 0 0 .55rem; }
.store-link {
  display: block; padding: .85rem 1rem; border: 1px solid var(--muted);
  border-radius: 10px; font-weight: 600; text-decoration: none;
  background: #fff; color: var(--brand);
}
.store-link:hover { border-color: var(--brand); background: var(--bg); }
