/* =========================================================
   REVIEW PAGE — styles for reviews.html
   Loaded after styles.css, so it reuses the brand colours,
   fonts, .btn and .form-row styles already defined there.
   ========================================================= */

.review-body {
  background: var(--maroon-950);
  min-height: 100vh;
}

.review-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at top, var(--maroon-800) 0%, var(--maroon-950) 65%);
  padding: 32px 16px;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 44px 40px 32px;
  max-width: 520px;
  width: 100%;
  text-align: center;
}

.review-logo { height: 52px; margin: 0 auto 18px; border-radius: 4px; }

.review-sub {
  color: var(--ink-soft);
  margin-bottom: 26px;
  font-size: 1.02rem;
}

#reviewForm { text-align: left; }
#reviewThanksView .btn { margin-top: 6px; }

/* ---------- Star rating input ----------
   Radios come first in the DOM in 5→1 order and the row is reversed
   visually, so "this star and every star before it" lights up using
   only the ~ sibling selector (no JavaScript needed). */
.star-input { border: none; margin-bottom: 20px; text-align: center; }
.star-input legend {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--maroon-900);
  margin: 0 auto 6px;
  padding: 0;
}
.star-input-row {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 4px;
}
.star-input input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.star-input label {
  font-size: 2.4rem;
  line-height: 1;
  color: var(--gold-light);
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
}
.star-input label:hover { transform: scale(1.12); }
.star-input input:checked ~ label,
.star-input label:hover,
.star-input label:hover ~ label { color: var(--gold); }
.star-input input:focus-visible + label {
  outline: 2px solid var(--gold-dark);
  outline-offset: 3px;
  border-radius: 4px;
}

.review-counter {
  text-align: right;
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 4px;
}

/* Honeypot: off-screen, not display:none (some bots skip hidden fields) */
.review-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.review-msg {
  border-radius: 4px;
  padding: 10px 14px;
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.review-msg-error {
  background: #fbe4e4;
  color: #8a2222;
  border: 1px solid #e6a5a5;
}

.review-back { margin-top: 22px; font-size: 0.9rem; }
.review-back a { color: var(--gold-dark); }
.review-back a:hover { color: var(--maroon-900); }

@media (max-width: 520px) {
  .review-card { padding: 34px 22px 26px; }
  .star-input label { font-size: 2.1rem; }
}
