/* ==== Product Review Section ==== */
.product-review {
  padding: 2rem 1rem;
  background-color: #f9f9f9;
}

.review-container {
  max-width: 600px;
  margin: auto;
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.review-heading {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #2f7b2f;
}

.note {
  font-size: 0.9rem;
  text-align: center;
  color: #555;
  margin-bottom: 1.5rem;
}

.required {
  color: red;
}

.form-message {
  text-align: center;
  color: green;
  font-weight: bold;
  margin-bottom: 1rem;
}

.form-fields {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group {
  width: 100%;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 4px 7px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    background-color: #fdfdfd;
    transition: border-color 0.3s;
}

.form-group textarea{
width: 100%;
    padding: 0.65rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    background-color: #fdfdfd;
    transition: border-color 0.3s;

}

.form-group select {
    width: 100%;
    padding: 0.65rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    background-color: #fdfdfd;
    transition: border-color 0.3s;
    color: rgb(250 187 60);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: #2f7b2f;
  outline: none;
  background-color: #fff;
}

.field-error {
  font-size: 0.85rem;
  color: red;
  margin-top: 0.2rem;
}

.submit-btn {
    margin: auto;
    background-color: #2f7b2f;
    color: #fff;
    padding: 7px 6px;
    border: none;
    border-radius: 1px;
    font-size: 1rem;
    /* font-weight: bold; */
    cursor: pointer;
    margin-top: 1rem;
    transition: background 0.3s;
    /* margin: auto; */
    display: block;
}

.submit-btn:hover {
  background-color: #256325;
}
.message-container {
  margin-bottom: 1rem;
  width: fit-content;
    margin: auto;
}

.success-message {
  background-color: #d4edda;
  color: #155724;
  padding: 10px;
  border: 1px solid #c3e6cb;
  border-radius: 5px;
}

/* ==== Responsive ==== */
@media (max-width: 480px) {
  .review-container {
    padding: 1.5rem 1rem;
  }

  .review-heading {
    font-size: 1.5rem;
  }
}
