/* =========================
   Station Reviews
========================= */
.station-reviews-block {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
}

.station-section-heading {
  margin-bottom: 18px;
}

.station-section-heading h3,
.station-section-heading h4 {
  margin: 0 0 6px;
  color: #0f172a;
}

.station-section-heading p {
  margin: 0;
  color: #64748b;
  line-height: 1.6;
}

.station-section-heading-sm {
  margin-bottom: 14px;
}

.station-reviews-summary {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  margin-bottom: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff8f8;
}

.station-reviews-summary-score {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-shrink: 0;
}

.station-reviews-summary-score strong {
  font-size: 2rem;
  line-height: 1;
  color: #e11d48;
}

.station-reviews-summary-score span {
  color: #64748b;
  font-weight: 700;
}

.station-reviews-summary-meta p {
  margin: 6px 0 0;
  color: #64748b;
}

.station-review-form-card,
.station-approved-reviews {
  padding: 20px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.station-approved-reviews {
  margin-top: 18px;
}

.station-review-login-box,
.station-reviews-empty,
.station-review-user-status {
  padding: 14px 16px;
  border-radius: 14px;
  margin-bottom: 14px;
}

.station-review-login-box,
.station-reviews-empty {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.station-review-login-box p,
.station-reviews-empty span {
  margin: 0 0 10px;
  color: #64748b;
}

.station-review-user-status {
  border: 1px solid #e2e8f0;
}

.station-review-user-status strong {
  display: block;
  margin-bottom: 6px;
  color: #0f172a;
}

.station-review-user-status p {
  margin: 0;
  color: #64748b;
}

.station-review-user-status.is-pending {
  background: #fff7ed;
  border-color: #fed7aa;
}

.station-review-user-status.is-approved {
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.station-review-user-status.is-rejected {
  background: #fff1f2;
  border-color: #fecdd3;
}

.station-review-admin-note {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.65);
}

.station-review-admin-note p {
  margin-top: 6px;
}

.station-review-form {
  display: grid;
  gap: 16px;
}

.station-review-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  color: #0f172a;
}

.station-review-rating-grid {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 8px;
}

.station-review-rating-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.station-review-rating-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #0f172a;
  font-weight: 800;
  transition: all 0.2s ease;
  cursor: pointer;
}

.station-review-rating-option input:checked + .station-review-rating-pill {
  background: #e11d48;
  border-color: #e11d48;
  color: #ffffff;
}

.station-review-rating-pill:hover {
  border-color: #fda4af;
  background: #fff1f2;
}

.station-review-comment-wrap textarea {
  width: 100%;
  min-height: 130px;
  resize: vertical;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #0f172a;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.station-review-comment-wrap textarea:focus {
  border-color: #f43f5e;
  box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.12);
}

.station-review-form-actions {
  display: flex;
  justify-content: flex-start;
}

.station-review-list {
  display: grid;
  gap: 14px;
}

.station-review-item {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}

.station-review-item-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.station-review-item-head h5 {
  margin: 0 0 4px;
  color: #0f172a;
  font-size: 1rem;
}

.station-review-item-head p {
  margin: 0;
  color: #64748b;
  font-size: 0.92rem;
}

.station-review-item-rating {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding: 8px 12px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.station-review-item-rating strong {
  color: #e11d48;
  font-size: 1rem;
}

.station-review-item-rating span {
  color: #64748b;
  font-weight: 700;
}

.station-review-item-comment {
  margin: 10px 0 0;
  color: #334155;
  line-height: 1.7;
}

.station-reviews-load-more {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

@media (max-width: 991px) {
  .station-review-rating-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .station-reviews-summary {
    flex-direction: column;
    align-items: flex-start;
  }

  .station-review-item-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .station-review-rating-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .station-review-form-card,
  .station-approved-reviews {
    padding: 16px;
  }
}