/* 定义CSS变量 */
:root {
  --form-font-size: 16px;
  --title-font-size: 16px;
  --content-font-size: 14px;
  --small-font-size: 14px;
  --banner-height: 400px;
}

.feedback-banner-img{
    max-width: 100%;
    height: var(--banner-height);
    width: 100%;
    object-fit: cover;
}

/* 留言表单区块样式 */
.feedback-form-section {
  margin: 40px auto 0 auto;
  max-width: 1400px;
  padding: 0 2vw 40px 2vw;
}

.feedback-form {
  width: 100%;
}

.form-row {
  display: flex;
  gap: 32px;
  margin-bottom: 24px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: var(--form-font-size);
  color: #222;
  margin-bottom: 8px;
  font-weight: 400;
}

.form-group.required label::after {
  content: ' *';
  color: #ff4d4f;
  font-size: var(--form-font-size);
}

.form-group input,
.form-group textarea {
  background: #fafafa;
  border: none;
  outline: none;
  padding: 16px 14px;
  font-size: var(--form-font-size);
  border-radius: 0;
  margin-bottom: 0;
  resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #bdbdbd;
}

.form-group.full-width {
  flex: 1 1 100%;
}

.form-group textarea {
  min-height: 110px;
  max-width: 100%;
}

.submit-btn {
  width: 40%;
  min-width: 220px;
  background: #ff9800;
  color: #fff;
  font-size: 20px;
  border: none;
  padding: 16px 0;
  border-radius: 0;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s;
}

.submit-btn:hover {
  background: #ff9800;
}

.feedback-list-title {
  margin-top: 32px;
  font-size: var(--title-font-size);
  color: #222;
  font-weight: 400;
}

.feedback-list-underline {
  width: 100%;
  height: 1px;
  background: #eee;
  margin-top: 8px;
}

/* 留言列表样式 */
.feedback-list {
  margin-top: 20px;
}

.feedback-item {
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.feedback-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.feedback-user {
  font-weight: 500;
  font-size: var(--title-font-size);
  color: #333;
}

.feedback-time {
  font-size: var(--small-font-size);
  color: #999;
}

.feedback-content {
  font-size: var(--content-font-size);
  color: #666;
  line-height: 1.6;
}

/* 空状态样式 */
.feedback-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
}

.feedback-empty svg {
  color: #ccc;
  margin-bottom: 15px;
}

.empty-text {
  font-size: var(--content-font-size);
  color: #999;
}

/* 响应式样式 - 大屏幕 */
@media (min-width: 1400px) {
  :root {
    --form-font-size: 18px;
    --title-font-size: 18px;
    --content-font-size: 16px;
    --small-font-size: 14px;
    --banner-height: 400px;
  }
  
  .feedback-form-section {
    padding: 0 40px 60px;
  }
  
  .submit-btn {
    font-size: 22px;
    padding: 18px 0;
  }
}

/* 响应式样式 - 中等屏幕 */
@media (max-width: 1200px) {
  :root {
    --form-font-size: 16px;
    --title-font-size: 16px;
    --content-font-size: 15px;
    --small-font-size: 14px;
    --banner-height: 350px;
  }
  
  .feedback-form-section {
    margin: 30px auto 0;
  }
  
  .form-row {
    gap: 24px;
  }
  
  .submit-btn {
    font-size: 18px;
  }
}

/* 响应式样式 - 平板 */
@media (max-width: 900px) {
  :root {
    --form-font-size: 15px;
    --title-font-size: 15px;
    --content-font-size: 14px;
    --small-font-size: 13px;
    --banner-height: 300px;
  }
  
  .feedback-form-section {
    margin: 25px auto 0;
    padding: 0 3vw 30px;
  }
  
  .form-row {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 16px;
  }
  
  .form-group input,
  .form-group textarea {
    padding: 14px 12px;
  }
  
  .form-group textarea {
    min-height: 100px;
  }
  
  .submit-btn {
    width: 100%;
    min-width: 0;
    font-size: 16px;
    padding: 14px 0;
  }
  
  .feedback-list-title {
    margin-top: 25px;
  }
  
  .feedback-item {
    padding: 16px 0;
  }
}

/* 响应式样式 - 手机 */
@media (max-width: 576px) {
  :root {
    --form-font-size: 14px;
    --title-font-size: 14px;
    --content-font-size: 13px;
    --small-font-size: 12px;
    --banner-height: 200px;
  }
  
  .feedback-form-section {
    margin: 20px auto 0;
    padding: 0 4vw 25px;
  }
  
  .form-row {
    gap: 12px;
    margin-bottom: 12px;
  }
  
  .form-group label {
    margin-bottom: 6px;
  }
  
  .form-group input,
  .form-group textarea {
    padding: 12px 10px;
  }
  
  .form-group textarea {
    min-height: 90px;
  }
  
  .submit-btn {
    font-size: 15px;
    padding: 12px 0;
  }
  
  .feedback-list-title {
    margin-top: 20px;
  }
  
  .feedback-item {
    padding: 14px 0;
  }
  
  .feedback-header {
    margin-bottom: 8px;
  }
  
  .feedback-empty {
    padding: 40px 0;
  }
  
  .feedback-empty svg {
    width: 50px;
    height: 50px;
  }
}

/* 响应式样式 - 小手机 */
@media (max-width: 375px) {
  :root {
    --form-font-size: 13px;
    --title-font-size: 13px;
    --content-font-size: 12px;
    --small-font-size: 12px;
    --banner-height: 180px;
  }
  
  .feedback-form-section {
    margin: 15px auto 0;
    padding: 0 4vw 20px;
  }
  
  .form-group input,
  .form-group textarea {
    padding: 10px 8px;
  }
  
  .submit-btn {
    font-size: 14px;
    padding: 10px 0;
  }
}