/* REVIEWS PAGE - COMPLETE DARK GREEN THEME + GREEN BORDER STARS */
.page-reviews .reviews-main {
  padding: 2rem 0;
  min-height: calc(100vh - 200px);
}

/* Page Header - DARK GREEN */
.page-header {
  text-align: center;
  margin-bottom: 3rem;
}

.page-header h1 {
  color: #006400 !important;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.page-subtitle {
  color: #006400 !important;
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

/* PERFECT RESPONSIVE FORM */
.review-form { 
  width: 100%;
  max-width: 700px;
  margin: 0 auto 4rem auto;
  background: white; 
  padding: 2.5rem; 
  border-radius: 16px; 
  box-shadow: 0 8px 32px rgba(0,100,0,0.1); 
  border: 3px solid hsl(50, 100%, 70%);
  box-sizing: border-box;
}

.form-group {
  margin-bottom: 1.5rem;
}

/* FIELD LABELS - DARK GREEN */
.field-label {
  display: block;
  font-weight: 600;
  color: #006400 !important;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

/* INPUT FIELDS - DARK GREEN TEXT & PLACEHOLDER */
#reviewName, #reviewText {
  width: 100%;
  padding: 1.2rem 1.5rem;
  border: 2px solid hsl(50, 100%, 70%);
  border-radius: 12px;
  font-size: 1.1rem;
  font-family: 'Roboto', sans-serif;
  transition: all 0.3s ease;
  color: #006400 !important;
  background: white;
  box-sizing: border-box;
}

#reviewName::placeholder,
#reviewText::placeholder {
  color: #006400 !important;
  opacity: 0.7 !important;
}

#reviewName:focus::placeholder,
#reviewText:focus::placeholder {
  opacity: 0.5 !important;
}

#reviewName:focus, #reviewText:focus {
  outline: none;
  border-color: #006400;
  box-shadow: 0 0 0 3px rgba(0,100,0,0.1);
}

#reviewText { 
  min-height: 140px; 
  resize: vertical; 
}

/* Submit Button */
#reviewForm button { 
  width: 100%;
  background: hsl(50, 100%, 70%) !important; 
  color: #006400 !important;
  padding: 1.2rem 2rem; 
  border: 2px solid hsl(50, 100%, 70%);
  border-radius: 12px; 
  cursor: pointer; 
  font-size: 1.2rem; 
  font-weight: 600;
  font-family: 'Roboto', sans-serif;
  transition: all 0.3s ease;
}

#reviewForm button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255,204,0,0.4);
}

/* STAR RATING - GREEN BORDER ONLY */
.rating-label {
  display: block;
  font-weight: 600;
  color: #006400 !important;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.star-rating { 
  display: flex; 
  flex-direction: row;
  justify-content: left; 
  gap: 0.3rem;
  font-size: 2.5rem; 
  line-height: 1; 
  user-select: none;
}

.star-rating input { 
  display: none !important; 
}

.star-rating label { 
  color: transparent;
  -webkit-text-stroke: 2px #006400;
  -webkit-text-fill-color: transparent;
  cursor: pointer; 
  transition: all 0.3s ease;
  margin: 0;
  padding: 0;
}

/* HOVER & SELECTED - Thicker green border only */
.star-rating label:hover,
.star-rating label:hover ~ label {
  -webkit-text-stroke: 3px #006400;
}

/* Reviews Section */
.reviews-section {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  margin-bottom: 2rem;
}

.reviews-container { 
  display: flex; 
  flex-direction: column; 
  gap: 2rem; 
}

/* Review Cards */
.review-card { 
  padding: 2rem; 
  border-radius: 12px; 
  box-shadow: 0 4px 16px rgba(0,0,0,0.06); 
  border-left: 4px solid hsl(50, 100%, 70%);
  width: 100%; 
  background: #fafbfc;
  animation: slideInUp 0.5s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

/* ALL REVIEW TEXT - DARK GREEN */
.review-name {
  font-weight: 700;
  color: #006400 !important;
  font-size: 1.2rem;
}

.review-rating {
  color: hsl(50, 100%, 70%);
  font-size: 1.5rem;
  display: flex;
  gap: 0.1rem;
}

.review-card p { 
  font-size: 1.1rem; 
  line-height: 1.7; 
  margin-bottom: 1rem; 
  color: #006400 !important;
}

.timestamp { 
  color: #006400 !important;
  font-size: 0.9rem; 
  font-style: italic;
}

/* ADMIN DELETE BUTTON */
.delete-btn { 
  display: none;
  width: 100%;
  background: #006400;
  color: white !important;
  border: none;
  padding: 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  margin-top: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(220,53,69,0.3);
}

.delete-btn:hover {
  background: #c82333;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220,53,69,0.4);
}

body.admin-mode .delete-btn {
  display: block !important;
}

/* Animations */
@keyframes slideInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Responsiveness */
@media (max-width: 768px) { 
  .review-form { 
    padding: 2rem; 
    margin-bottom: 2rem; 
  }
  .review-card, 
  .reviews-section { 
    padding: 1.5rem; 
  }
  .star-rating { 
    font-size: 2rem; 
  }
}

@media (max-width: 480px) { 
  .review-form, 
  .review-card { 
    padding: 1.25rem; 
  }
}
