.review-container {
  background-color: var(--card-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin: 32px auto;
  width: min(720px, 100%);
}

/* LIGHT MODE container (the missing part!) */
[data-theme="light"] .review-container {
  background-color: #ffffff;
}

/* DARK MODE container */
[data-theme="dark"] .review-container {
  background-color: var(--card-bg);
}

.review-box {
  width: 100%;
  background: var(--card-bg);
  border: 1px solid var(--color-border-strong, rgba(255, 255, 255, 0.08));
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow-lg, 0 20px 50px rgba(0, 0, 0, 0.2));
  transition: background 0.3s ease, border-color 0.3s ease;
}

.review-box h3 {
  margin-bottom: 16px;
  font-size: 1.2rem;
  color: var(--color-text-primary, #e8f3ec);
  text-align: center;
}

.review-box input,
.review-box textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--color-border-strong, rgba(255, 255, 255, 0.12));
  background: var(--color-bg-base, #0b0f13);
  color: var(--color-text-primary, #e8f3ec);
  padding: 12px 14px;
  margin-bottom: 12px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.review-box input:focus,
.review-box textarea:focus {
  border-color: var(--color-accent-saudi-green, #00b365);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-accent-saudi-green, #00b365) 25%, transparent);
}

.stars {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 28px;
  cursor: pointer;
  margin-bottom: 12px;
  color: var(--color-text-muted, #8da3a0);
}

.stars span.active {
  color: var(--color-accent-saudi-green, #00b365);
  text-shadow: 0 4px 12px color-mix(in srgb, var(--color-accent-saudi-green, #00b365) 30%, transparent);
}

.but {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-accent-saudi-green, #00b365), var(--color-accent-gold, #c7a241));
  color: #0b0f13;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.but:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-saudi, 0 15px 35px rgba(0, 179, 101, 0.35));
  filter: brightness(1.03);
}

.reviews-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.review-item {
  background: var(--color-bg-surface, rgba(255, 255, 255, 0.06));
  border: 1px solid var(--color-border, rgba(255, 255, 255, 0.08));
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.review-item:hover {
  border-color: rgba(0, 108, 53, 0.3);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.review-stars {
  color: var(--color-accent-saudi-green, #00b365);
  font-size: 18px;
  margin-bottom: 6px;
}

.review-name {
  font-weight: 700;
  color: var(--color-text-primary, #e8f3ec);
  margin-bottom: 4px;
}

.review-text {
  color: var(--color-text-secondary, #b6c7c2);
  line-height: 1.5;
}

/* LIGHT MODE elements */
[data-theme="light"] .review-box {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .review-box input,
[data-theme="light"] .review-box textarea {
  background: #f7f9fb;
  color: #1f2a32;
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .review-item {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(0, 108, 53, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .review-text {
  color: #3d4b55;
}

[data-theme="light"] .review-name {
  color: #1f2a32;
}

[data-theme="light"] .stars {
  color: #6b7b85;
}

[data-theme="light"] .stars span.active {
  color: var(--color-accent-saudi-green, #007f4f);
}
