/* Feedback页面样式 */

.feedback-main {
  min-height: calc(100vh - 300px);
  padding: 40px 0;
  background: var(--section-light);
}

.feedback-header {
  text-align: center;
  margin-bottom: 40px;
}

.feedback-header h2 {
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 10px;
}

.feedback-header h2 i {
  color: var(--primary);
  margin-right: 10px;
}

.feedback-subtitle {
  color: var(--gray);
  font-size: 1rem;
}

.feedback-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--shadow-md);
  max-width: 700px;
  margin: 0 auto 30px;
}

.feedback-form .form-group {
  margin-bottom: 25px;
}

.feedback-form label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.feedback-form label i {
  color: var(--primary);
}

.required {
  color: var(--error);
  font-weight: bold;
}

.feedback-form input[type="text"],
.feedback-form input[type="email"],
.feedback-form select,
.feedback-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.feedback-form select {
  cursor: pointer;
  background-color: white;
}

.feedback-form input:focus,
.feedback-form select:focus,
.feedback-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.1);
}

.form-help {
  display: block;
  margin-top: 5px;
  color: #718096;
  font-size: 0.875rem;
}

.form-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
}

.form-actions .btn {
  min-width: 150px;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.form-actions .btn-primary {
  background: var(--primary);
  color: white;
}

.form-actions .btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.form-actions .btn-primary:disabled {
  background: #a0aec0;
  cursor: not-allowed;
  transform: none;
}

.form-actions .btn-secondary {
  background: #e2e8f0;
  color: var(--dark);
}

.form-actions .btn-secondary:hover {
  background: #cbd5e0;
}

.feedback-notice {
  background: #ebf8ff;
  border-left: 4px solid var(--primary);
  padding: 20px;
  border-radius: 8px;
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  gap: 15px;
}

.feedback-notice i {
  font-size: 1.5rem;
  color: var(--primary);
  margin-top: 3px;
}

.feedback-notice h4 {
  color: var(--dark);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.feedback-notice ul {
  margin: 0;
  padding-left: 20px;
  color: var(--gray);
}

.feedback-notice li {
  margin-bottom: 5px;
  line-height: 1.6;
}

.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  color: white;
  font-weight: 500;
  z-index: 10000;
  animation: toastSlideIn 0.3s ease;
  box-shadow: var(--shadow-lg);
  display: none;
}

.toast.show {
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast.success { background: var(--success); }
.toast.error { background: var(--error); }
.toast.warning { background: var(--warning); }
.toast.info { background: var(--secondary); }

@keyframes toastSlideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@media (max-width: 768px) {
  .feedback-header h2 { font-size: 1.5rem; }
  .feedback-card { padding: 20px; }
  .form-actions { flex-direction: column; }
  .form-actions .btn { width: 100%; }
  .feedback-notice { flex-direction: column; gap: 10px; }
}
