/* 反馈页面样式 - 模块化设计 */

/* 主容器样式 - 采用云同步页风格 */
.feedback-container {
  min-height: 100vh;
  color: var(--text-strong);
  background: linear-gradient(180deg, #4e54c8 0%, #8f94fb 100%);
  position: relative;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* 顶部渐变融合效果 */
.feedback-container .header-gradient {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50vh;
  background: linear-gradient(180deg, rgba(102, 126, 234, 0.5) 0%, rgba(118, 75, 162, 0) 100%);
  z-index: 1;
}

/* 内容容器 */
.feedback-container .container {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px;
  position: relative;
  z-index: 2;
}

/* 页面头部 - 白色卡片风格 */
.feedback-header {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(229, 231, 235, 0.8);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  text-align: center;
  animation: fadeInUp 0.5s ease-out;
}

.feedback-header .page-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 0 0 4px 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.feedback-header .page-subtitle {
  font-size: 0.9rem;
  color: #6c757d;
  margin: 0 0 16px 0;
}

.feedback-header .back-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  color: white !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 10px 20px !important;
  font-weight: 600 !important;
  transition: all 0.2s ease !important;
}

.feedback-header .back-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4) !important;
}

/* 反馈列表容器 */
.feedback-list-wrapper {
  background: rgba(255,255,255,0.95);
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 25px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  backdrop-filter: blur(10px);
  max-height: 500px;
  overflow-y: auto;
}

/* 自定义滚动条 */
.feedback-list-wrapper::-webkit-scrollbar {
  width: 6px;
}

.feedback-list-wrapper::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.1);
  border-radius: 3px;
}

.feedback-list-wrapper::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 3px;
}

/* 折叠面板样式 */
.feedback-list-wrapper .el-collapse {
  border: none;
}

.feedback-list-wrapper .el-collapse-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.feedback-list-wrapper .el-collapse-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.feedback-list-wrapper .el-collapse-item__header {
  background: linear-gradient(135deg, #f8f9ff 0%, #e8f0ff 100%);
  border: none;
  padding: 15px 20px;
  font-weight: 500;
  color: #333;
  position: relative;
}

.feedback-list-wrapper .el-collapse-item__content {
  background: white;
  padding: 20px;
  border: none;
}

/* 徽章样式优化 */
.feedback-badge {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.feedback-badge .el-button {
  background: linear-gradient(135deg, #667eea, #764ba2);
  border: none;
  color: white;
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.feedback-badge .el-badge__content {
  background: #ff4757;
  border: 2px solid white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* 反馈详情样式 */
.feedback-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 10px;
}

/* 标题文本样式 */
.feedback-title-text {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: calc(100% - 120px);
}

/* 已读状态样式 */
.feedback-badge-read .el-button {
  background: #e8f5e8 !important;
  color: #67c23a !important;
  box-shadow: none !important;
}

/* 无回复状态样式 */
.no-reply {
  color: #909399;
  font-style: italic;
}

.feedback-detail-item {
  padding: 12px;
  background: #f8f9ff;
  border-radius: 8px;
  border-left: 4px solid #667eea;
}

.feedback-detail-label {
  font-weight: 600;
  color: #667eea;
  margin-bottom: 5px;
  font-size: 14px;
}

.feedback-detail-content {
  color: #333;
  line-height: 1.5;
}

/* 加载状态样式 */
.feedback-loading, .feedback-no-more {
  text-align: center;
  padding: 20px;
  color: #666;
  font-style: italic;
}

.feedback-loading {
  color: #667eea;
}

/* 提交区域样式 */
.feedback-submit-area {
  background: rgba(255,255,255,0.95);
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  backdrop-filter: blur(10px);
}

.feedback-submit-area .el-textarea {
  margin-bottom: 15px;
}

.feedback-submit-area .el-textarea__inner {
  border: 2px solid rgba(102, 126, 234, 0.2);
  border-radius: 10px;
  padding: 15px;
  font-size: 14px;
  transition: all 0.3s ease;
  resize: vertical;
  min-height: 80px;
}

.feedback-submit-area .el-textarea__inner:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.feedback-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  color: white;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 500;
  border-radius: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.feedback-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.feedback-submit-btn:active {
  transform: translateY(0);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .feedback-container {
    padding: 15px;
  }
  
  .feedback-title {
    font-size: 1.8rem;
  }
  
  .feedback-detail {
    grid-template-columns: 1fr;
  }
  
  .feedback-list-wrapper {
    max-height: 400px;
  }
}

/* 动画效果 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feedback-container > * {
  animation: fadeInUp 0.6s ease-out;
}

.feedback-container > *:nth-child(2) {
  animation-delay: 0.1s;
}

.feedback-container > *:nth-child(3) {
  animation-delay: 0.2s;
}

.feedback-container > *:nth-child(4) {
  animation-delay: 0.3s;
}
