/**
 * [scheduleos_review] — dedicated review page.
 *
 * Same visual grammar as the manage-booking page: one centred card, system
 * font stack, restrained neutrals with a single accent. Scoped under .so-rf so
 * nothing here can leak into the host theme (or vice versa).
 */

.so-rf {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #111827;
  max-width: 560px;
  margin: 0 auto;
  padding: 24px 16px;
  box-sizing: border-box;
}

.so-rf * { box-sizing: border-box; }

.so-rf__state {
  text-align: center;
  padding: 48px 20px;
  color: #6b7280;
  font-size: 15px;
}

.so-rf__state--error { color: #b91c1c; }

.so-rf__card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.so-rf__title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.3;
}

.so-rf__sub {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.55;
}

.so-rf__meta {
  margin: 10px 0 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid #f3f4f6;
  color: #4b5563;
  font-size: 13px;
}

.so-rf__field { margin-bottom: 20px; }

.so-rf__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}

.so-rf__hint {
  font-weight: 400;
  color: #9ca3af;
  font-size: 12px;
  margin-left: 4px;
}

.so-rf__help {
  margin: 0 0 6px;
  font-size: 12px;
  color: #6b7280;
}

.so-rf__stars {
  display: flex;
  align-items: center;
  gap: 2px;
}

/* Buttons, not glyphs: each star is focusable and announces its own value,
   so the rating is reachable by keyboard and by a screen reader. */
.so-rf__star {
  background: none;
  border: 0;
  padding: 0 2px;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  color: #d1d5db;
  transition: color 0.12s ease, transform 0.12s ease;
}

.so-rf__star:hover { transform: scale(1.08); }
.so-rf__star.is-on { color: #fbbf24; }

.so-rf__star:focus-visible {
  outline: 2px solid #6366f1;
  outline-offset: 2px;
  border-radius: 4px;
}

.so-rf__clear {
  margin-left: 10px;
  background: none;
  border: 0;
  padding: 0;
  font-size: 12px;
  color: #6b7280;
  text-decoration: underline;
  cursor: pointer;
}

.so-rf__textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  font-size: 14px;
  color: #111827;
  resize: vertical;
  background: #fff;
}

.so-rf__textarea:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.so-rf__error {
  margin: 0 0 14px;
  color: #b91c1c;
  font-size: 13px;
  line-height: 1.5;
}

.so-rf__submit {
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: #4f46e5;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 20px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.so-rf__submit:hover:not(:disabled) { background: #4338ca; }

.so-rf__submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.so-rf__done { text-align: center; }

.so-rf__tick {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  font-size: 26px;
  line-height: 52px;
  font-weight: 700;
}

@media (max-width: 480px) {
  .so-rf__card { padding: 22px 18px; }
  .so-rf__star { font-size: 26px; }
}
