/* The review page: list of published reviews and the guest's form; the rest comes from booking.css. */

.stars { color: #d49400; letter-spacing: 0.05em; white-space: nowrap; }
.stars .off { color: var(--line); }

.review-summary { display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap; }
.review-summary .average { font-size: 2rem; font-weight: 600; }
.review-summary .stars { font-size: 1.4rem; }

.review { border-top: 1px solid var(--line); padding: 1rem 0; }
.review:first-child { border-top: none; }
.review-text { margin: 0.4rem 0 0; font-style: italic; line-height: 1.6; white-space: pre-line; }
.review-by { margin: 0.5rem 0 0; font-size: 0.9rem; }
.review-reply { margin: 0.6rem 0 0 1rem; padding-left: 0.75rem; border-left: 3px solid var(--accent-soft); }
.review-reply strong { display: block; font-size: 0.9rem; }
#reviews { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 1.25rem; margin-bottom: 1rem; }
#reviews:empty { display: none; }
.authenticity { margin-top: 0.5rem; }

/* Five big stars to tap, as radio buttons: the keyboard and screen readers work as usual. */
.stars-input { border: none; padding: 0; margin: 0 0 1rem; display: flex; gap: 0.25rem; }
.stars-input legend { font-weight: 600; margin-bottom: 0.4rem; padding: 0; }
.stars-input label { margin: 0; cursor: pointer; font-size: 2.2rem; line-height: 1; color: var(--line); }
.stars-input label.on { color: #d49400; }
.stars-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars-input input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
