/* Review Form Styles */
.tech-review-form {
  max-width: 600px;
  margin: 0 auto;
}

.tech-review-form .form-group {
  margin-top: 30px;
}

.tech-review-form label {
  display: block;
  font-weight: 600;
  color: #333;
}

.tech-review-form .required {
  color: #e74c3c;
}

.tech-review-form .rating-input {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  gap: 5px;
}

.tech-review-form .rating-input input[type="radio"] {
  display: none;
}

.tech-review-form .rating-input .star-label {
  cursor: pointer;
  font-size: 28px;
  color: #ddd;
  transition: color 0.2s;
}

.tech-review-form .rating-input .star-label:hover,
.tech-review-form .rating-input .star-label:hover~.star-label {
  color: #ffc107;
}

.tech-review-form .rating-input input[type="radio"]:checked~.star-label,
.tech-review-form .rating-input input[type="radio"]:checked~.star-label~.star-label {
  color: #ffc107;
}

.tech-review-form .form-submit {
  text-align: center;
  margin-top: 30px;
}

.tech-review-form .form-submit button {
  min-width: 200px;
}

.tech-review-form button:disabled,
.tech-review-form button.submitted {
  cursor: default !important;
  opacity: 0.7;
  pointer-events: none;
}

.tech-review-form textarea:disabled {
  cursor: default;
  opacity: 0.7;
  background-color: #f5f5f5;
}

.tech-review-form .rating-input input[type="radio"]:disabled+.star-label {
  cursor: default !important;
  pointer-events: none;
}

.tech-review-form .rating-input input[type="radio"]:disabled+.star-label:hover,
.tech-review-form .rating-input input[type="radio"]:disabled+.star-label:hover~.star-label {
  color: inherit !important;
}

.tech-review-form .form-message {
  font-size: 12px;
  text-align: center;
  margin-top: 10px;
  font-weight: 700;
  height: 12px;
}
