/* ==============================================================
   reviews-widget.css
   Minimal additions only - does not touch any existing site styles.
   Uses the same color variables already defined in the site's <style>.
   ============================================================== */

.star-picker {
  display: inline-flex;
  gap: 6px;
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
}

.star-picker [data-star] {
  color: rgba(15, 36, 63, 0.2);
  transition: color 0.15s ease, transform 0.15s ease;
}

.star-picker [data-star]:hover {
  transform: scale(1.15);
}

.star-picker [data-star].star-filled {
  color: #009FDF;
}

.review-msg-success {
  color: #0f7a5f;
  font-weight: 600;
  font-size: 14px;
  margin-top: 10px;
  display: block;
}

.review-msg-error {
  color: #F15C5C;
  font-weight: 600;
  font-size: 14px;
  margin-top: 10px;
  display: block;
}

.public-review-card {
  background: rgba(15, 36, 63, 0.03);
  border: 1px solid rgba(15, 36, 63, 0.08);
  border-radius: 24px;
  padding: 28px;
}

.review-summary-bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(15, 36, 63, 0.08);
  overflow: hidden;
}

.review-summary-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #009FDF, #0F243F);
}

.review-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.review-media-grid img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  border: 1px solid rgba(15, 36, 63, 0.08);
}

.review-form-grid {
  display: grid;
  gap: 16px;
}

.review-form-grid input,
.review-form-grid textarea,
.review-form-grid select {
  width: 100%;
  border: 1px solid rgba(15, 36, 63, 0.12);
  border-radius: 14px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.7);
  font: inherit;
  color: #0F243F;
  box-sizing: border-box;
}

.review-form-grid label {
  font-size: 14px;
  font-weight: 700;
  color: rgba(15, 36, 63, 0.75);
}

.review-form-grid .star-picker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 48px;
  width: fit-content;
  border-radius: 14px;
  border: 1px solid rgba(15, 36, 63, 0.12);
  background: rgba(255, 255, 255, 0.7);
  padding: 10px 14px;
}

.review-form-grid button {
  justify-self: start;
}
