/* LHR - Modal/Popup Styles */
.lhr-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lhr-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lhr-modal-container {
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.lhr-modal-overlay.active .lhr-modal-container {
  transform: scale(1);
}

.lhr-modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #6b7280;
}
.lhr-modal-close-btn:hover {
  color: #111827;
}

.lhr-modal-container h4 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #1f2937;
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.lhr-form-group {
  margin-bottom: 1rem;
}
.lhr-form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #374151;
}
.lhr-form-group input,
.lhr-form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
}

.lhr-star-rating-input {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
}
.lhr-star-rating-input input {
  display: none;
}
.lhr-star-rating-input label {
  font-size: 2rem;
  color: #d1d5db;
  cursor: pointer;
  transition: color 0.2s;
}
.lhr-star-rating-input input:checked ~ label,
.lhr-star-rating-input label:hover,
.lhr-star-rating-input label:hover ~ label {
  color: #f59e0b;
}

.lhr-submit-review-btn {
  width: 100%;
  background-color: #16a34a; /* Green 600 */
  color: #fff;
  font-weight: bold;
  padding: 0.75rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.lhr-submit-review-btn:hover {
  background-color: #15803d;
}

.lhr-form-message {
  padding: 1rem;
  border-radius: 6px;
  margin-top: 1rem;
  display: none; /* Hidden by default */
}
.lhr-form-message.success {
  background-color: #dcfce7;
  color: #166534;
}
.lhr-form-message.error {
  background-color: #fee2e2;
  color: #991b1b;
}
