/* Leave a review form (/review/). Loaded only on the review pages. */
.review-wrap { max-width: 760px; margin: 0 auto; }
.review-form { padding: clamp(28px, 4vw, 48px); border: 1px solid var(--gold-line); background: var(--bg-2); }
.review-form h2 { font-size: clamp(28px, 2.6vw, 38px); }
.rf-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.rf-legend { display: block; padding: 0; margin-bottom: 12px; font-size: 15px; color: var(--ivory-2); }
.rf-legend small, .rf-hint { color: var(--ivory-3); font-size: 13px; }

/* Star rating: five radios, shown as stars (reversed so "this star and the ones before it" light up) */
.rf-stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 6px; }
.rf-stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rf-stars label { cursor: pointer; color: var(--ivory-4); line-height: 0; padding: 4px; transition: color 0.2s var(--ease), transform 0.2s var(--ease); }
.rf-stars label svg { width: 40px; height: 40px; }
.rf-stars input:checked ~ label,
.rf-stars label:hover, .rf-stars label:hover ~ label { color: var(--gold); }
.rf-stars input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 2px; }
.rf-stars label:active { transform: scale(0.92); }
.rf-stars-text { display: block; min-height: 20px; margin-top: 6px; font-size: 14px; color: var(--gold-2); }

/* Ride type: tap-to-pick chips (radios) */
.rf-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.rf-chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rf-chips label { cursor: pointer; padding: 10px 16px; border: 1px solid var(--line-2); font-size: 14px; color: var(--ivory-2); transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease); }
.rf-chips label:hover { border-color: var(--ivory-3); color: var(--ivory); }
.rf-chips input:checked + label { border-color: var(--gold); color: var(--ink); background: var(--gold); }
.rf-chips input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 2px; }

.rf-check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 14px; line-height: 1.55; color: var(--ivory-2); cursor: pointer; }
.rf-check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--gold); }
.review-promise { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.65; color: var(--ivory-3); }
.review-thanks { text-align: center; }
.review-thanks .stars { justify-content: center; margin-bottom: 18px; }
@media (max-width: 639px) { .rf-stars label svg { width: 36px; height: 36px; } .rf-chips label { padding: 9px 13px; } }
