.feedback-container {
  max-width: 42rem;
  margin: 0 auto;
}

.feedback-header {
  text-align: center;
  margin-bottom: 3rem;
}

.feedback-header h1 {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.feedback-header p {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
}

.feedback-form-wrapper {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  padding: 2rem;
  backdrop-filter: blur(4px);
}

.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 1rem;
  font-weight: 700;
  color: hsl(var(--foreground));
}

.required {
  color: hsl(var(--destructive));
  margin-left: 0.25rem;
}

.form-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.char-count {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  color: hsl(var(--foreground));
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: hsla(var(--primary), 0.5);
  /* background: rgba(0, 0, 0, 0.6); */
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}

.form-textarea {
  min-height: 150px;
  resize: none;
}

.form-error {
  font-size: 0.875rem;
  color: hsl(var(--destructive));
  font-weight: 500;
  min-height: 1.25rem;
}

.upload-area {
  border: 2px dashed rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.3s;
}

.upload-area:hover {
  border-color: hsla(var(--primary), 0.3);
}

.upload-hint {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.25rem;
}

.submit-btn {
  width: 100%;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
}

.submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.submit-btn.loading {
  position: relative;
  color: transparent;
}

.submit-btn.loading::after {
  content: '';
  position: absolute;
  width: 1.5rem;
  height: 1.5rem;
  border: 2px solid hsl(var(--primary-foreground));
  border-top-color: transparent;
  border-radius: 9999px;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* 成功提示 */
.success-message {
  text-align: center;
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  animation: fadeIn 0.5s ease-out;
}

.success-message.hidden {
  display: none;
}

.success-icon {
  width: 6rem;
  height: 6rem;
  border-radius: 9999px;
  background: hsla(var(--primary), 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-icon svg {
  color: hsl(var(--primary));
}

.success-message h2 {
  font-size: 1.875rem;
  font-weight: 700;
}

.success-message p {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
}

.hidden {
  display: none;
}

/* 响应式 */
@media (min-width: 768px) {
  .feedback-header h1 {
    font-size: 3.75rem;
  }

  .feedback-form-wrapper {
    padding: 3rem;
  }
}