@import url('index-small.css');

.feedback-content {
  padding: 64px 0;
  background: linear-gradient(180deg, var(--cream) 0%, var(--accent) 100%);
}

.feedback-grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.feedback-grid > div {
  flex: 1;
}

.form-section h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.form-section > p {
  font-size: 1.125rem;
  color: #666;
  margin-bottom: 32px;
  line-height: 1.6;
}

.feedback-form {
  background-color: white;
  padding: 40px 28px;
  border: 2px solid var(--border-light);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  width: 100%;
}

.feedback-form:hover {
  box-shadow: var(--shadow-warm);
  border-color: var(--border-warm);
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

.form-group label {
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.form-group .required {
  color: var(--error);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 18px;
  border: 2px solid var(--border-light);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: white;
  border-radius: 6px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(201, 165, 91, 0.1);
  transform: translateY(-1px);
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: var(--error);
}

.star-rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 4px;
}

.star-rating input {
  display: none;
}

.star-rating label {
  cursor: pointer;
  font-size: 2rem;
  color: #DDD;
  transition: color 0.2s ease;
  margin: 0;
}

.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
  color: var(--secondary);
  filter: drop-shadow(0 0 6px rgba(210, 105, 30, 0.4));
}

.checkbox-group {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
}

.checkbox-group input {
  width: auto;
  margin-top: 4px;
}

.checkbox-group label {
  margin-bottom: 0;
  flex: 1;
}

.error-message {
  color: var(--error);
  font-size: 0.875rem;
  margin-top: 4px;
  min-height: 20px;
}

.form-status {
  padding: 16px;
  margin-top: 16px;
  text-align: center;
  font-weight: 500;
  display: none;
}

.form-status.success {
  background-color: #E8F5E9;
  color: var(--success);
  border: 1px solid var(--success);
}

.form-status.error {
  background-color: #FFEBEE;
  color: var(--error);
  border: 1px solid var(--error);
}