/* ============================================================
   意见反馈页专用样式（配合 home.css 使用）
   容器宽度、蓝色主色、圆角与阴影全部沿用全站设计语言
   ============================================================ */

/* ==================== 说明条（叠在蓝色头部下沿） ==================== */
.fb-intro {
  position: relative;
  display: flex;
  gap: 12px;
  margin: -18px 14px 0;
  padding: 15px 16px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(13, 51, 122, 0.12);
}
.fb-intro-ico {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: linear-gradient(135deg, #2f7dff 0%, #1257e0 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 14px rgba(18, 87, 224, 0.26);
}
.fb-intro-ico svg {
  width: 18px;
  height: 18px;
}
.fb-intro-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #0c2b63;
  letter-spacing: 0.5px;
}
.fb-intro-desc {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.68;
  color: #7c8db0;
}

/* ==================== 表单卡 ==================== */
.fb-card {
  margin: 12px 14px 24px;
  padding: 20px 16px 22px;
}

/* ==================== 类目 chip：单行横向滚动，禁止换行 ==================== */
.fb-chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
  /* 右侧出血到卡片内边距之外：被截断的 chip 正好切在卡片边缘，
     看起来是「还能继续滑」，而不是内容被裁掉半块 */
  margin-right: -16px;
  padding-right: 16px;
}
.fb-chips::-webkit-scrollbar {
  display: none;
}
.fb-chip {
  flex: 0 0 auto;
  white-space: nowrap;
  height: 34px;
  padding: 0 15px;
  border: 1px solid #d9e4f5;
  border-radius: 17px;
  background: #f7faff;
  color: #47597e;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.fb-chip.active {
  background: linear-gradient(135deg, #2f7dff 0%, #1257e0 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 12px rgba(18, 87, 224, 0.28);
}

/* ==================== 反馈内容 ==================== */
.fb-area-wrap {
  position: relative;
}
.fb-area-wrap textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  min-height: 134px;
  padding: 12px 12px 28px;
  background: #f7faff;
  border: 1px solid #d9e4f5;
  border-radius: 12px;
  color: #22365c;
  font-size: 13.5px;
  line-height: 1.75;
  font-family: inherit;
  resize: vertical;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.fb-area-wrap textarea:focus {
  border-color: #2f7dff;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(47, 125, 255, 0.1);
}
.fb-area-wrap textarea::placeholder {
  color: #9aa8c2;
  line-height: 1.75;
}
.fb-count {
  position: absolute;
  right: 13px;
  bottom: 9px;
  font-size: 11.5px;
  color: #9aa8c2;
  pointer-events: none;
  letter-spacing: 0.3px;
}
.fb-count.warn {
  color: #e0863b;
}

/* ==================== 提示文字 ==================== */
.fb-hint {
  margin-top: 7px;
  font-size: 11.5px;
  line-height: 1.65;
  color: #8a99b8;
}

/* ==================== 提交成功 ==================== */
.fb-success {
  margin: 12px 14px 24px;
  padding: 34px 20px 26px;
  text-align: center;
}
.fb-success-ico {
  width: 66px;
  height: 66px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2f7dff 0%, #1257e0 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 26px rgba(18, 87, 224, 0.3);
}
.fb-success-ico svg {
  width: 30px;
  height: 30px;
}
.fb-success-title {
  font-size: 17px;
  font-weight: 800;
  color: #0c2b63;
  letter-spacing: 1px;
}
.fb-success-desc {
  margin-top: 11px;
  font-size: 13px;
  line-height: 1.85;
  color: #7c8db0;
}
.fb-success-acts {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
.fb-btn-ghost,
.fb-btn-solid {
  flex: 1;
  height: 44px;
  line-height: 44px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  text-align: center;
}
.fb-btn-ghost {
  background: #f7faff;
  border: 1px solid #d9e4f5;
  color: #1257e0;
}
.fb-btn-solid {
  background: linear-gradient(135deg, #2f7dff 0%, #1257e0 100%);
  color: #fff;
  box-shadow: 0 6px 16px rgba(18, 87, 224, 0.28);
}

/* ==================== 超窄屏 ==================== */
@media (max-width: 360px) {
  .fb-card {
    padding: 18px 13px 20px;
  }
  .fb-chip {
    height: 32px;
    padding: 0 13px;
    font-size: 12.5px;
  }
}
