/* ===== Shivani Taxi Reviews ===== */
.str-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 20px;
  font-family: 'Inter', 'Segoe UI', sans-serif;
}

.str-header,
.str-posted-header {
  margin-bottom: 24px;
}

.str-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #2563eb;
  margin-bottom: 8px;
}

.str-title {
  font-size: 32px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 10px 0;
}

.str-subtitle {
  font-size: 15px;
  color: #64748b;
  max-width: 720px;
  margin: 0;
  line-height: 1.6;
}

/* ---- Form Card ---- */
.str-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  margin-bottom: 48px;
}

.str-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.str-row .str-field {
  flex: 1;
  min-width: 220px;
}

.str-field {
  margin-bottom: 20px;
}

.str-field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 8px;
}

.str-optional {
  font-weight: 400;
  color: #94a3b8;
  font-size: 13px;
}

.str-field input[type="text"],
.str-field input[type="tel"],
.str-field input[type="date"],
.str-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 14px;
  color: #0f172a;
  background: #fff;
  outline: none;
  box-sizing: border-box;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.str-field textarea {
  resize: vertical;
}

.str-field input::placeholder,
.str-field textarea::placeholder {
  color: #94a3b8;
}

.str-field input:focus,
.str-field textarea:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

/* ---- Stars ---- */
.str-stars {
  display: flex;
  gap: 8px;
}

.str-star {
  font-size: 30px;
  line-height: 1;
  color: #cbd5e1;
  cursor: pointer;
  user-select: none;
  transition: color 0.15s ease, transform 0.15s ease;
}

.str-star:hover {
  transform: scale(1.1);
}

.str-star.active,
.str-star.hover-preview {
  color: #f59e0b;
}

/* ---- Suggestions ---- */
.str-suggestions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.str-suggestion-hint {
  font-size: 13px;
  color: #94a3b8;
  margin: 0;
  padding: 10px 0;
}

.str-suggestion-btn {
  text-align: left;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  color: #334155;
  cursor: pointer;
  line-height: 1.5;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.str-suggestion-btn:hover {
  background: #fff7ed;
  border-color: #f59e0b;
}

/* ---- Submit ---- */
.str-submit-btn {
  background: #0f172a;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 14px 26px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.str-submit-btn:hover {
  background: #1e293b;
  transform: translateY(-1px);
}

.str-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.str-form-msg {
  font-size: 13px;
  margin-bottom: 14px;
  display: none;
}

.str-form-msg.str-success {
  display: block;
  color: #15803d;
}

.str-form-msg.str-error {
  display: block;
  color: #dc2626;
}

/* ---- Posted Reviews Grid ---- */
.str-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.str-review-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px;
}

.str-review-card-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}

.str-review-name {
  font-weight: 700;
  color: #0f172a;
  font-size: 15px;
}

.str-review-date {
  font-size: 12px;
  color: #94a3b8;
  white-space: nowrap;
}

.str-review-stars {
  font-size: 12px;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 10px;
}

.str-review-text {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

.str-empty {
  color: #94a3b8;
  font-size: 14px;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .str-reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .str-card {
    padding: 22px;
    border-radius: 12px;
  }
  .str-row {
    flex-direction: column;
    gap: 0;
  }
  .str-reviews-grid {
    grid-template-columns: 1fr;
  }
  .str-title {
    font-size: 26px;
  }
}
