* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf0 100%);
  font-size: 16px; /* 增大基础字体大小 */
  min-height: 100vh;
}
.container { max-width: 1400px; margin: 0 auto; padding: 24px; }
.header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 24px 32px; 
  border-radius: 12px; 
  margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
  display: flex; 
  justify-content: space-between; 
  align-items: center;
  gap: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.header:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(102, 126, 234, 0.4);
}
.header h1 { 
  color: white; 
  margin: 0; 
  font-size: 26px; 
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  letter-spacing: 0.5px;
  white-space: nowrap;
  flex-shrink: 0;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
  margin-left: auto;
}
.header-right .user-info {
  white-space: nowrap;
  font-size: 14px;
}
.header .el-button {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
  backdrop-filter: blur(10px);
  flex-shrink: 0;
}
.header .el-button:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
}
.main-content { 
  background: white; 
  border-radius: 12px; 
  padding: 28px; 
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  min-height: 400px;
}

/* 移除强制显示，让Element Plus自己控制 */
/* .main-content > * {
  display: block !important;
  visibility: visible !important;
} */
.timeline { 
  padding: 24px 0; 
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

/* 中间的时间轴线 */
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #e0e0e0 0%, #d0d0d0 100%);
  transform: translateX(-50%);
  z-index: 0;
}

.timeline-item {
  position: relative; 
  margin-bottom: 32px;
  padding-bottom: 24px;
  width: 48%;
  transition: all 0.3s ease;
  z-index: 1;
}

/* 学习经历显示在左侧 */
.timeline-item-study {
  margin-right: auto;
  padding-right: 32px;
  padding-left: 0;
}

/* 义工经历显示在右侧 */
.timeline-item-volunteer {
  margin-left: auto;
  padding-left: 32px;
  padding-right: 0;
}

/* 时间点图标 - 统一在中间轴线上 */
.timeline-item::before {
  content: ''; 
  position: absolute; 
  top: 6px;
  width: 16px; 
  height: 16px; 
  border-radius: 50%;
  border: 3px solid white;
  transition: all 0.3s ease;
  z-index: 2;
}

/* 学习经历的时间点在左侧，靠近中间线 */
.timeline-item-study::before {
  right: -8px;
  background: linear-gradient(135deg, #409eff 0%, #667eea 100%);
  box-shadow: 0 0 0 3px #409eff, 0 4px 12px rgba(64, 158, 255, 0.3);
}

.timeline-item-study:hover::before {
  transform: scale(1.2);
  box-shadow: 0 0 0 3px #409eff, 0 6px 16px rgba(64, 158, 255, 0.5);
}

/* 义工经历的时间点在右侧，靠近中间线 */
.timeline-item-volunteer::before {
  left: -8px;
  background: linear-gradient(135deg, #67c23a 0%, #85ce61 100%);
  box-shadow: 0 0 0 3px #67c23a, 0 4px 12px rgba(103, 194, 58, 0.3);
}

.timeline-item-volunteer:hover::before {
  transform: scale(1.2);
  box-shadow: 0 0 0 3px #67c23a, 0 6px 16px rgba(103, 194, 58, 0.5);
}

/* 义工经历样式 - 右侧 */
.timeline-item-volunteer .timeline-content {
  border-right: 3px solid #67c23a;
  text-align: right;
}

.timeline-item-volunteer:hover .timeline-content {
  border-right-color: #5daf34;
  transform: translateX(-4px);
}

/* 学习经历样式 - 左侧 */
.timeline-item-study .timeline-content {
  border-left: 3px solid #409eff;
  text-align: left;
}

.timeline-item-study:hover .timeline-content {
  border-left-color: #337ecc;
  transform: translateX(4px);
}

.timeline-date { 
  font-size: 18px; 
  font-weight: 600; 
  color: #409eff; 
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}

.timeline-item-volunteer .timeline-date {
  color: #67c23a;
  text-align: right;
}

.timeline-item-study .timeline-date {
  color: #409eff;
  text-align: left;
}

.timeline-content { 
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%); 
  padding: 20px; 
  border-radius: 8px;
  border: 1px solid #e8ecf0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  position: relative;
}

.timeline-content:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.timeline-content p {
  margin: 8px 0;
}

/* 人员报名表单样式优化 */
.register-form {
  max-width: 900px;
  margin: 0 auto;
}

.register-form .el-form-item {
  margin-bottom: 28px;
  align-items: flex-start;
}

.register-form .el-form-item__label {
  font-weight: 500;
  color: #606266;
  line-height: 1.6;
  white-space: normal;
  word-break: break-word;
  padding-right: 16px;
}

.register-form .el-form-item__content {
  flex: 1;
}

.register-form .el-input,
.register-form .el-select,
.register-form .el-textarea {
  width: 100%;
}

.register-form .el-textarea__inner {
  min-height: 100px;
  font-family: inherit;
}

.ocr-upload-wrapper {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.ocr-upload-wrapper .el-button {
  min-width: 110px;
}

.ocr-upload-tip {
  font-size: 12px;
  color: #909399;
  line-height: 1.5;
}

.register-form .el-divider {
  margin: 30px 0 25px 0;
}

.register-form .el-divider__text {
  font-size: 18px;
  font-weight: 600;
  color: #409eff;
  background-color: white;
  padding: 0 15px;
}

.register-form-actions {
  margin-top: 35px;
  padding-top: 25px;
  border-top: 1px solid #ebeef5;
  text-align: center;
}

.register-form-actions .el-button {
  min-width: 120px;
  padding: 12px 30px;
  font-size: 16px;
}

.course-select-tip {
  margin-top: 8px;
  font-size: 14px;
  color: #909399;
}

/* 全局字体大小调整 */
.el-table {
  font-size: 16px;
  border-radius: 8px;
  overflow: hidden;
}

.el-table th {
  font-size: 16px;
  background: linear-gradient(135deg, #f8f9fa 0%, #f0f2f5 100%);
  color: #2c3e50;
  font-weight: 600;
  border-bottom: 2px solid #e4e7ed;
}

.el-table td {
  font-size: 16px;
  border-bottom: 1px solid #f0f2f5;
}

.el-table--striped .el-table__body tr.el-table__row--striped td {
  background: #fafbfc;
}

.el-table--border {
  border: 1px solid #e4e7ed;
}

.el-table--border::after {
  background-color: #e4e7ed;
}

.el-table tr:hover > td {
  background-color: #f0f7ff !important;
}

.el-button {
  font-size: 16px;
  border-radius: 6px;
  padding: 10px 20px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.el-button--primary {
  background: linear-gradient(135deg, #409eff 0%, #667eea 100%);
  border: none;
  box-shadow: 0 4px 12px rgba(64, 158, 255, 0.3);
}

.el-button--primary:hover {
  background: linear-gradient(135deg, #66b1ff 0%, #7b8eea 100%);
  box-shadow: 0 6px 16px rgba(64, 158, 255, 0.4);
  transform: translateY(-2px);
}

.el-button--success {
  background: linear-gradient(135deg, #67c23a 0%, #85ce61 100%);
  border: none;
  box-shadow: 0 4px 12px rgba(103, 194, 58, 0.3);
}

.el-button--success:hover {
  background: linear-gradient(135deg, #85ce61 0%, #95d475 100%);
  box-shadow: 0 6px 16px rgba(103, 194, 58, 0.4);
  transform: translateY(-2px);
}

.el-button--danger {
  background: linear-gradient(135deg, #f56c6c 0%, #f78989 100%);
  border: none;
  box-shadow: 0 4px 12px rgba(245, 108, 108, 0.3);
}

.el-button--danger:hover {
  background: linear-gradient(135deg, #f78989 0%, #f9a5a5 100%);
  box-shadow: 0 6px 16px rgba(245, 108, 108, 0.4);
  transform: translateY(-2px);
}

.el-button--small {
  padding: 8px 16px;
  font-size: 14px;
}

.el-input__inner {
  font-size: 16px;
  border-radius: 6px;
  border: 1px solid #dcdfe6;
  transition: all 0.3s ease;
}

.el-input__inner:focus {
  border-color: #409eff;
  box-shadow: 0 0 0 2px rgba(64, 158, 255, 0.1);
}

.el-select .el-input__inner {
  font-size: 16px;
  border-radius: 6px;
}

.el-textarea__inner {
  font-size: 16px;
  border-radius: 6px;
  border: 1px solid #dcdfe6;
  transition: all 0.3s ease;
}

.el-textarea__inner:focus {
  border-color: #409eff;
  box-shadow: 0 0 0 2px rgba(64, 158, 255, 0.1);
}

.el-form-item__label {
  font-size: 16px;
}

.el-dialog__title {
  font-size: 20px;
  font-weight: 600;
}

.el-card {
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  overflow: hidden;
}

.el-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.el-card__header {
  font-size: 18px;
  font-weight: 600;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-bottom: 1px solid #ebeef5;
  padding: 18px 20px;
}

.el-tag {
  font-size: 14px;
}

.el-pagination {
  font-size: 16px;
}

.el-tabs {
  display: block !important;
  width: 100%;
}

.el-tabs__header {
  display: block !important;
  margin: 0 0 16px 0;
}

.el-tabs__nav-wrap {
  display: block !important;
  overflow: visible;
}

.el-tabs__nav {
  display: flex !important;
}

.el-tabs__item {
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  border-radius: 6px 6px 0 0;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

.el-tabs__item:hover {
  color: #409eff;
}

.el-tabs__item.is-active {
  color: #409eff;
  font-weight: 600;
}

.el-tabs__active-bar {
  background: linear-gradient(135deg, #409eff 0%, #667eea 100%);
  height: 3px;
}

.el-descriptions__label {
  font-size: 16px;
  font-weight: 500;
}

.el-descriptions__content {
  font-size: 16px;
}

/* 详情对话框特定样式 */
.el-dialog__body {
  font-size: 16px;
}

.el-dialog__body .el-descriptions {
  font-size: 16px;
}

.el-dialog__body .el-descriptions-item__label {
  font-size: 16px;
  font-weight: 500;
}

.el-dialog__body .el-descriptions-item__content {
  font-size: 16px;
}

/* 对话框美化 */
.el-dialog {
  border-radius: 12px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.el-dialog__header {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-bottom: 1px solid #ebeef5;
  padding: 20px 24px;
}

/* 详情对话框关闭按钮样式 */
.detail-dialog-close-btn {
  border: none;
  background: transparent;
  font-size: 22px;
  color: #606266;
  cursor: pointer;
  padding: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-weight: bold;
  line-height: 1;
}

.detail-dialog-close-btn:hover {
  background-color: #f5f7fa;
  color: #303133;
  transform: scale(1.1);
}

.detail-dialog-close-btn:active {
  background-color: #e4e7ed;
  transform: scale(0.95);
}

/* 其他信息卡片美化 */
.other-info-card {
  margin-top: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.other-info-card .el-card__header {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-bottom: 2px solid #ebeef5;
  padding: 16px 20px;
}

.other-info-descriptions {
  font-size: 15px;
}

.other-info-descriptions .el-descriptions__label {
  font-size: 15px;
  font-weight: 600;
  color: #409EFF;
  background: linear-gradient(135deg, #f0f9ff 0%, #e6f4ff 100%);
  padding: 16px 20px !important;
  width: 200px !important;
  max-width: 200px !important;
  min-width: 200px !important;
  border-right: 2px solid #d1ecf1;
  line-height: 1.5;
}

.other-info-descriptions .el-descriptions__content {
  font-size: 15px;
  color: #303133;
  padding: 16px 20px !important;
  background-color: #fafbfc;
  line-height: 1.8;
}

.other-info-content {
  width: 100%;
}

.other-info-text {
  word-break: break-word;
  white-space: pre-wrap;
  line-height: 1.8;
  color: #303133;
  font-size: 15px;
  letter-spacing: 0.3px;
  padding: 4px 0;
}

.other-info-empty {
  color: #c0c4cc;
  font-style: italic;
  font-size: 15px;
}

.other-info-descriptions .el-descriptions__table tr {
  transition: background-color 0.2s ease;
}

.other-info-descriptions .el-descriptions__table tr:hover {
  background-color: #f5f7fa;
}

.other-info-descriptions .el-descriptions__table tr:hover .el-descriptions__label {
  background: linear-gradient(135deg, #e6f4ff 0%, #d4edff 100%);
}

.other-info-descriptions .el-descriptions__table tr:hover .el-descriptions__content {
  background-color: #f0f7ff;
}

/* 长文本内容的特殊样式 */
.other-info-text {
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

/* 移动端优化 */
@media (max-width: 768px) {
  .other-info-descriptions .el-descriptions__label {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    font-size: 14px;
    padding: 12px 16px !important;
  }
  
  .other-info-descriptions .el-descriptions__content {
    width: 100% !important;
    font-size: 14px;
    padding: 12px 16px !important;
  }
  
  .other-info-text {
    font-size: 14px;
  }
}


.el-dialog__body {
  padding: 24px;
}

.el-dialog__footer {
  background: #fafbfc;
  border-top: 1px solid #ebeef5;
  padding: 16px 24px;
}

/* 标签美化 */
.el-tag {
  font-size: 14px;
  border-radius: 6px;
  padding: 4px 12px;
  font-weight: 500;
  border: none;
}

/* 分页器美化 */
.el-pagination {
  font-size: 16px;
  margin-top: 24px;
}

.el-pagination .el-pager li {
  border-radius: 6px;
  margin: 0 4px;
  transition: all 0.3s ease;
}

.el-pagination .el-pager li:hover {
  color: #409eff;
  background-color: #f0f7ff;
}

.el-pagination .el-pager li.is-active {
  background: linear-gradient(135deg, #409eff 0%, #667eea 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(64, 158, 255, 0.3);
}

/* 描述列表美化 */
.el-descriptions {
  border-radius: 8px;
  overflow: hidden;
}

.el-descriptions__label {
  font-size: 16px;
  font-weight: 500;
  background: #f8f9fa;
  color: #606266;
}

.el-descriptions__content {
  font-size: 16px;
  color: #303133;
}

/* 输入框组美化 */
.el-form-item {
  margin-bottom: 22px;
}

.el-form-item__label {
  font-size: 16px;
  font-weight: 500;
  color: #606266;
  padding-bottom: 8px;
}

/* 表单内联模式优化 */
.el-form--inline .el-form-item {
  display: inline-block;
  margin-right: 10px;
  vertical-align: top;
}

.el-form--inline .el-form-item__label {
  float: left;
}

/* 选择器美化 */
.el-select-dropdown {
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  border: 1px solid #e4e7ed;
}

/* 表格筛选器按钮样式优化 - 桌面端 */
.el-table__filter {
  padding: 10px;
}

.el-table__filter__wrapper {
  padding-bottom: 10px;
}

.el-table__filter__bottom,
.el-table-filter__bottom,
.el-table__filter-bottom {
  padding-top: 10px !important;
  border-top: 1px solid #e4e7ed !important;
  display: flex !important;
  justify-content: space-between !important;
  gap: 10px !important;
}

.el-table__filter__bottom button,
.el-table-filter__bottom button,
.el-table__filter-bottom button {
  flex: 1 !important;
  padding: 8px 16px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  border-radius: 4px !important;
  border: 1px solid #dcdfe6 !important;
  background: #fff !important;
  color: #606266 !important;
  cursor: pointer !important;
  transition: all 0.3s !important;
  min-width: 60px !important;
  position: relative !important;
}

.el-table__filter__bottom button:hover,
.el-table-filter__bottom button:hover,
.el-table__filter-bottom button:hover {
  background: #ecf5ff !important;
  border-color: #b3d8ff !important;
  color: #409eff !important;
}

/* 确定按钮样式 - 桌面端 */
.el-table__filter__bottom button:first-child,
.el-table-filter__bottom button:first-child,
.el-table__filter-bottom button:first-child {
  background: #409eff !important;
  border-color: #409eff !important;
  color: #fff !important;
  font-size: 0 !important;
  overflow: visible !important;
  position: relative !important;
}

.el-table__filter__bottom button:first-child > *,
.el-table-filter__bottom button:first-child > *,
.el-table__filter-bottom button:first-child > * {
  display: none !important;
}

.el-table__filter__bottom button:first-child::after,
.el-table-filter__bottom button:first-child::after,
.el-table__filter-bottom button:first-child::after {
  content: '确定' !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
  color: #fff !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

.el-table__filter__bottom button:first-child:hover,
.el-table-filter__bottom button:first-child:hover,
.el-table__filter-bottom button:first-child:hover {
  background: #66b1ff !important;
  border-color: #66b1ff !important;
}

.el-table__filter__bottom button:first-child:active,
.el-table-filter__bottom button:first-child:active,
.el-table__filter-bottom button:first-child:active {
  background: #3a8ee6 !important;
  border-color: #3a8ee6 !important;
}

/* 重置按钮样式 - 桌面端 */
.el-table__filter__bottom button:last-child,
.el-table-filter__bottom button:last-child,
.el-table__filter-bottom button:last-child {
  font-size: 0 !important;
  overflow: visible !important;
  position: relative !important;
}

.el-table__filter__bottom button:last-child > *,
.el-table-filter__bottom button:last-child > *,
.el-table__filter-bottom button:last-child > * {
  display: none !important;
}

.el-table__filter__bottom button:last-child::after,
.el-table-filter__bottom button:last-child::after,
.el-table__filter-bottom button:last-child::after {
  content: '重置' !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
  color: #606266 !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

.el-table__filter__bottom button:last-child:hover::after,
.el-table-filter__bottom button:last-child:hover::after,
.el-table__filter-bottom button:last-child:hover::after {
  color: #409eff !important;
}

.el-select-dropdown__item {
  padding: 12px 20px;
  transition: all 0.2s ease;
  line-height: 1.5;
  min-height: 40px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  overflow: visible;
}

.el-select-dropdown__item span {
  line-height: 1.5;
  display: inline-block;
  vertical-align: middle;
}

.el-select-dropdown__item:hover {
  background-color: #f0f7ff;
  color: #409eff;
}

/* 卡片内容区域 */
.el-card__body {
  padding: 20px;
}

/* ============================================
   移动端响应式样式
   ============================================ */

/* 平板设备（768px - 1024px） */
@media screen and (max-width: 1024px) {
  .container {
    padding: 20px;
  }
  
  .header {
    padding: 20px 24px;
  }
  
  .header h1 {
    font-size: 22px;
  }
  
  .main-content {
    padding: 24px;
  }
  
  .el-dialog {
    width: 90% !important;
    max-width: 600px;
  }
}

/* 移动设备（最大768px） */
@media screen and (max-width: 768px) {
  body {
    font-size: 15px;
  }
  
  .container {
    padding: 12px;
    max-width: 100%;
  }
  
  /* 头部响应式布局 */
  .header {
    padding: 16px 20px;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    border-radius: 8px;
  }
  
  .header h1 {
    font-size: 20px;
    white-space: nowrap;
    flex-shrink: 1;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .header-right {
    flex-shrink: 0;
    gap: 10px;
  }
  
  .header-right .user-info {
    font-size: 13px;
  }
  
  .header .el-button {
    font-size: 14px;
    padding: 8px 16px;
  }
  
  /* 主内容区域 */
  .main-content {
    padding: 16px !important;
    border-radius: 8px;
    overflow: visible !important;
    height: auto !important;
    min-height: 500px !important;
    position: relative !important;
  }
  
  .main-content .el-tabs {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 400px !important;
  }
  
  /* 确保标签页内容区域可见 */
  .el-tabs__content {
    display: block !important;
    padding: 16px 0 !important;
    min-height: 300px !important;
    position: relative !important;
    overflow: visible !important;
    height: auto !important;
  }
  
  /* 让Element Plus自己控制tab-pane的显示/隐藏，只确保激活的可见 */
  .el-tabs__content .el-tab-pane {
    position: relative !important;
  }
  
  /* 确保激活的标签页完全可见 */
  .el-tabs__content .el-tab-pane.is-active {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    min-height: 200px !important;
    overflow: visible !important;
    position: relative !important;
    width: 100% !important;
  }
  
  .el-tab-pane.is-active > * {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    width: 100% !important;
  }
  
  .el-tab-pane.is-active .el-card {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    margin-bottom: 16px !important;
  }
  
  /* 标签页优化 */
  .el-tabs__item {
    font-size: 14px;
    padding: 0 16px;
  }
  
  .el-tabs__nav-wrap::after {
    height: 1px;
  }
  
  /* 卡片优化 */
  .el-card {
    border-radius: 8px;
    margin-bottom: 16px;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .el-card__header {
    padding: 14px 16px;
    font-size: 16px;
    display: block !important;
  }
  
  .el-card__body {
    padding: 16px;
  }
  
  /* 表格优化 - 横向滚动 */
  .el-table {
    font-size: 14px;
    min-width: 800px; /* 确保表格有最小宽度，触发横向滚动 */
  }
  
  .el-table th,
  .el-table td {
    padding: 10px 8px;
    font-size: 14px;
  }
  
  /* 表格容器添加横向滚动 */
  .table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -16px;
    padding: 0 16px;
  }
  
  /* 按钮优化 */
  .el-button {
    font-size: 14px;
    padding: 8px 16px;
    min-height: 44px; /* 触摸目标最小尺寸 */
  }
  
  .el-button--small {
    padding: 6px 12px;
    font-size: 13px;
    min-height: 36px;
  }
  
  /* 输入框优化 */
  .el-input__inner {
    font-size: 16px; /* 防止iOS自动缩放 */
    min-height: 44px;
  }
  
  .el-textarea__inner {
    font-size: 16px;
    min-height: 100px;
  }
  
  /* 表单优化 */
  .el-form-item {
    margin-bottom: 18px;
  }
  
  .el-form-item__label {
    font-size: 15px;
    padding-bottom: 6px;
  }
  
  /* 对话框优化 */
  .el-dialog {
    width: 95% !important;
    max-width: 100%;
    margin: 5vh auto !important;
    border-radius: 8px;
  }
  
  .el-dialog__header {
    padding: 16px 20px;
    border-bottom: 1px solid #ebeef5;
  }
  
  .el-dialog__title {
    font-size: 18px;
    font-weight: 600;
  }
  
  .el-dialog__body {
    padding: 16px 20px;
    max-height: calc(90vh - 120px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  /* 详情对话框移动端优化 */
  .detail-content {
    padding: 12px;
    font-size: 15px;
  }
  
  .detail-card {
    margin-bottom: 16px;
    border-radius: 8px;
  }
  
  .detail-card-title {
    font-weight: 600;
    font-size: 16px;
    color: #303133;
  }
  
  .detail-card .el-card__header {
    padding: 14px 16px;
    border-bottom: 1px solid #ebeef5;
    background-color: #f5f7fa;
  }
  
  .detail-card .el-card__body {
    padding: 16px;
  }
  
  .detail-descriptions {
    font-size: 14px;
  }
  
  .detail-descriptions .el-descriptions__label {
    font-size: 14px;
    font-weight: 500;
    color: #606266;
    background-color: #fafafa;
    width: 100px;
    min-width: 100px;
    max-width: 100px;
    text-align: left;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    vertical-align: top;
    line-height: 1.5;
    padding-right: 10px;
  }
  
  .detail-descriptions .el-descriptions__content {
    font-size: 14px;
    color: #303133;
    word-break: break-word;
    white-space: normal;
    vertical-align: top;
    line-height: 1.6;
    padding-left: 10px;
  }
  
  .detail-descriptions .el-descriptions__table {
    width: 100%;
    border-collapse: separate !important;
    border-spacing: 0;
  }
  
  .detail-descriptions .el-descriptions__table tr {
    display: table-row !important;
    height: auto !important;
    min-height: 44px;
  }
  
  .detail-descriptions .el-descriptions__cell {
    padding: 0 !important;
    border-bottom: 1px solid #ebeef5;
    min-height: 44px;
    height: auto !important;
    display: table-row !important;
  }
  
  .detail-descriptions .el-descriptions__table td,
  .detail-descriptions .el-descriptions__table th {
    vertical-align: top !important;
    display: table-cell !important;
    height: auto !important;
    min-height: 44px;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
  }
  
  /* 确保标签列和内容列宽度固定，不会重叠 */
  .detail-descriptions .el-descriptions__table td:first-child,
  .detail-descriptions .el-descriptions__table th:first-child {
    width: 100px !important;
    max-width: 100px !important;
    min-width: 100px !important;
  }
  
  .detail-descriptions .el-descriptions__table td:last-child,
  .detail-descriptions .el-descriptions__table th:last-child {
    width: calc(100% - 100px) !important;
    max-width: calc(100% - 100px) !important;
    min-width: calc(100% - 100px) !important;
  }
  
  .detail-descriptions .el-descriptions__label {
    vertical-align: top !important;
    padding-top: 12px !important;
    padding-right: 10px !important;
    white-space: normal !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  
  .detail-descriptions .el-descriptions__content {
    vertical-align: top !important;
    padding-top: 12px !important;
    padding-left: 10px !important;
  }
  
  /* 确保多行文本不会重叠 */
  .detail-descriptions .el-descriptions__content span,
  .detail-descriptions .el-descriptions__content div {
    display: block;
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.6;
  }
  
  /* 确保文字不会竖排 */
  .detail-descriptions * {
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
  }
  
  .el-dialog__footer {
    padding: 12px 20px;
    flex-direction: column-reverse;
    gap: 12px;
  }
  
  .el-dialog__footer .el-button {
    width: 100%;
    margin: 0;
  }
  
  /* 描述列表优化 */
  .el-descriptions {
    font-size: 14px;
  }
  
  .el-descriptions__label {
    font-size: 14px;
    padding: 8px 12px;
    width: 100px;
  }
  
  .el-descriptions__content {
    font-size: 14px;
    padding: 8px 12px;
  }
  
  /* 分页器优化 */
  .el-pagination {
    font-size: 14px;
    margin-top: 16px;
  }
  
  .el-pagination .el-pager li,
  .el-pagination .btn-prev,
  .el-pagination .btn-next {
    min-width: 36px;
    height: 36px;
    line-height: 36px;
    margin: 0 2px;
  }
  
  /* 时间线优化 */
  .timeline {
    padding: 16px 0;
  }
  
  .timeline-item {
    padding-left: 32px;
    margin-bottom: 24px;
  }
  
  .timeline-item::before {
    width: 12px;
    height: 12px;
    left: -7px;
  }
  
  .timeline-date {
    font-size: 16px;
  }
  
  .timeline-content {
    padding: 16px;
    font-size: 14px;
  }
  
  /* 标签优化 */
  .el-tag {
    font-size: 13px;
    padding: 3px 10px;
  }
  
  /* 选择器下拉菜单优化 */
  .el-select-dropdown {
    max-height: 50vh;
    overflow-y: auto;
  }
  
  .el-select-dropdown__item {
    padding: 14px 20px;
    font-size: 15px;
    line-height: 1.6;
    min-height: 44px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    overflow: visible;
  }
  
  .el-select-dropdown__item span {
    line-height: 1.6;
    display: inline-block;
    vertical-align: middle;
  }
  
  /* 表格筛选器按钮样式优化 - 使用更通用的选择器 */
  .el-table__filter {
    padding: 10px;
  }
  
  .el-table__filter__wrapper {
    padding-bottom: 10px;
  }
  
  .el-table__filter__bottom,
  .el-table-filter__bottom,
  .el-table__filter-bottom {
    padding-top: 10px !important;
    border-top: 1px solid #e4e7ed !important;
    display: flex !important;
    justify-content: space-between !important;
    gap: 10px !important;
  }
  
  .el-table__filter__bottom button,
  .el-table-filter__bottom button,
  .el-table__filter-bottom button {
    flex: 1 !important;
    padding: 8px 16px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    border-radius: 4px !important;
    border: 1px solid #dcdfe6 !important;
    background: #fff !important;
    color: #606266 !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    min-width: 60px !important;
    position: relative !important;
  }
  
  .el-table__filter__bottom button:hover,
  .el-table-filter__bottom button:hover,
  .el-table__filter-bottom button:hover {
    background: #ecf5ff !important;
    border-color: #b3d8ff !important;
    color: #409eff !important;
  }
  
  /* 确定按钮样式 */
  .el-table__filter__bottom button:first-child,
  .el-table-filter__bottom button:first-child,
  .el-table__filter-bottom button:first-child {
    background: #409eff !important;
    border-color: #409eff !important;
    color: #fff !important;
    font-size: 0 !important;
    overflow: visible !important;
    position: relative !important;
  }
  
  .el-table__filter__bottom button:first-child > *,
  .el-table-filter__bottom button:first-child > *,
  .el-table__filter-bottom button:first-child > * {
    display: none !important;
  }
  
  .el-table__filter__bottom button:first-child::after,
  .el-table-filter__bottom button:first-child::after,
  .el-table__filter-bottom button:first-child::after {
    content: '确定' !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    color: #fff !important;
    pointer-events: none !important;
    z-index: 1 !important;
  }
  
  .el-table__filter__bottom button:first-child:hover,
  .el-table-filter__bottom button:first-child:hover,
  .el-table__filter-bottom button:first-child:hover {
    background: #66b1ff !important;
    border-color: #66b1ff !important;
  }
  
  /* 重置按钮样式 */
  .el-table__filter__bottom button:last-child,
  .el-table-filter__bottom button:last-child,
  .el-table__filter-bottom button:last-child {
    font-size: 0 !important;
    overflow: visible !important;
    position: relative !important;
  }
  
  .el-table__filter__bottom button:last-child > *,
  .el-table-filter__bottom button:last-child > *,
  .el-table__filter-bottom button:last-child > * {
    display: none !important;
  }
  
  .el-table__filter__bottom button:last-child::after,
  .el-table-filter__bottom button:last-child::after,
  .el-table__filter-bottom button:last-child::after {
    content: '重置' !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    color: #606266 !important;
    pointer-events: none !important;
    z-index: 1 !important;
  }
  
  .el-table__filter__bottom button:last-child:hover::after,
  .el-table-filter__bottom button:last-child:hover::after,
  .el-table__filter-bottom button:last-child:hover::after {
    color: #409eff !important;
  }
  
  /* 搜索栏和筛选器优化 */
  .search-bar {
    flex-direction: column;
    gap: 12px;
  }
  
  .search-bar .el-input,
  .search-bar .el-select {
    width: 100% !important;
  }
  
  /* 表单内联样式优化（移动端改为垂直布局） */
  .el-form--inline {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  .el-form--inline .el-form-item {
    margin-right: 0;
    margin-bottom: 0;
    width: 100%;
  }
  
  .el-form--inline .el-form-item__label {
    width: auto !important;
    margin-bottom: 8px;
    display: block;
  }
  
  .el-form--inline .el-form-item__content {
    width: 100%;
  }
  
  .el-form--inline .el-input,
  .el-form--inline .el-select {
    width: 100% !important;
  }
  
  .el-form--inline .el-button {
    width: 100%;
    margin-top: 8px;
  }
  
  /* 操作按钮组优化 */
  .action-buttons {
    flex-direction: column;
    gap: 8px;
  }
  
  .action-buttons .el-button {
    width: 100%;
  }
}

/* 小屏移动设备（最大480px） */
@media screen and (max-width: 480px) {
  .container {
    padding: 8px;
  }
  
  .header {
    padding: 12px 16px;
    gap: 10px;
  }
  
  .header h1 {
    font-size: 18px;
    white-space: nowrap;
    flex-shrink: 1;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .header-right {
    gap: 8px;
  }
  
  .header-right .user-info {
    font-size: 12px;
  }
  
  .main-content {
    padding: 12px;
  }
  
  /* 统计分析样式 */
  .statistics-container {
    padding: 20px;
  }
  
  .stats-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .stats-card {
    margin-bottom: 20px;
  }
  
  .card-header {
    font-weight: 600;
    font-size: 16px;
  }
  
  .stats-summary {
    display: flex;
    justify-content: space-around;
    padding: 20px 0;
  }
  
  .stat-item {
    text-align: center;
  }
  
  .stat-value {
    font-size: 32px;
    font-weight: 600;
    color: #409EFF;
    margin-bottom: 8px;
  }
  
  .stat-label {
    font-size: 14px;
    color: #909399;
  }
  
  @media screen and (max-width: 768px) {
    .statistics-container {
      padding: 12px;
    }
    
    .stats-cards {
      gap: 12px;
    }
    
    .stats-card {
      margin-bottom: 12px;
    }
    
    .stat-value {
      font-size: 24px;
    }
    
    .stats-summary {
      flex-direction: column;
      gap: 20px;
    }
  }
  
  /* 小屏移动设备详情对话框优化 */
  .detail-dialog .el-dialog {
    width: 98% !important;
    margin: 2vh auto !important;
    max-height: 96vh;
  }
  
  .detail-dialog .el-dialog__body {
    padding: 0;
    max-height: calc(96vh - 120px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .detail-content {
    padding: 14px;
    font-size: 14px;
  }
  
  .detail-card-title {
    font-size: 15px;
  }
  
  .detail-card .el-card__header {
    padding: 10px 12px;
    font-size: 15px;
  }
  
  .detail-card .el-card__body {
    padding: 12px;
  }
  
  .detail-descriptions {
    font-size: 13px;
  }
  
  /* 小屏设备强制单列，确保文字水平 */
  .detail-descriptions .el-descriptions__table {
    table-layout: fixed !important;
    width: 100% !important;
  }
  
  /* 确保标签列和内容列宽度固定，不会重叠 */
  .detail-descriptions .el-descriptions__table td:first-child,
  .detail-descriptions .el-descriptions__table th:first-child {
    width: 30% !important;
    max-width: 30% !important;
    min-width: 30% !important;
  }
  
  .detail-descriptions .el-descriptions__table td:last-child,
  .detail-descriptions .el-descriptions__table th:last-child {
    width: 70% !important;
    max-width: 70% !important;
    min-width: 70% !important;
  }
  
  .detail-descriptions .el-descriptions__label {
    font-size: 13px;
    width: 30% !important;
    min-width: 30% !important;
    max-width: 30% !important;
    padding: 10px 8px !important;
    padding-top: 12px !important;
    padding-right: 10px !important;
    background-color: #f5f7fa;
    text-align: left;
    white-space: normal !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    vertical-align: top !important;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    line-height: 1.5;
  }
  
  .detail-descriptions .el-descriptions__content {
    font-size: 13px;
    width: 70% !important;
    min-width: 70% !important;
    padding: 10px 8px !important;
    padding-top: 12px !important;
    padding-left: 10px !important;
    line-height: 1.8;
    word-break: break-word;
    white-space: normal;
    vertical-align: top !important;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
  }
  
  /* 确保多行文本在小屏设备上正确显示 */
  .detail-descriptions .el-descriptions__content span,
  .detail-descriptions .el-descriptions__content div {
    display: block;
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.8;
  }
  
  .detail-descriptions .el-descriptions__cell {
    padding: 0 !important;
    border-bottom: 1px solid #ebeef5;
    min-height: 44px;
    height: auto;
    display: table-row;
  }
  
  .detail-descriptions .el-descriptions__table tr {
    display: table-row !important;
    height: auto !important;
    min-height: 44px;
  }
  
  .detail-descriptions .el-descriptions__table td,
  .detail-descriptions .el-descriptions__table th {
    vertical-align: top !important;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    display: table-cell !important;
    height: auto !important;
    min-height: 44px;
    padding: 12px 10px !important;
  }
  
  .detail-descriptions .el-descriptions__label {
    display: table-cell !important;
    vertical-align: top !important;
  }
  
  .detail-descriptions .el-descriptions__content {
    display: table-cell !important;
    vertical-align: top !important;
  }
  
  /* 强制所有文字水平显示，防止竖排 */
  .detail-descriptions,
  .detail-descriptions *,
  .detail-descriptions .el-descriptions__label,
  .detail-descriptions .el-descriptions__content {
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    direction: ltr !important;
  }
  
  .el-card__header {
    padding: 12px 14px;
    font-size: 15px;
  }
  
  .el-card__body {
    padding: 12px;
  }
  
  .el-table {
    font-size: 13px;
  }
  
  .el-table th,
  .el-table td {
    padding: 8px 6px;
    font-size: 13px;
  }
  
  /* 表格在极小屏幕上隐藏部分列 */
  .el-table .hidden-mobile {
    display: none;
  }
  
  .el-dialog__body {
    padding: 12px 16px;
  }
  
  .el-tabs__item {
    font-size: 13px;
    padding: 0 12px;
  }
}

/* 横屏模式优化 */
@media screen and (max-width: 768px) and (orientation: landscape) {
  .el-dialog {
    width: 80% !important;
    max-height: 90vh;
  }
  
  .el-dialog__body {
    max-height: calc(90vh - 100px);
  }
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
  /* 移除悬停效果，避免在触摸设备上的问题 */
  .header:hover {
    transform: none;
  }
  
  .el-card:hover {
    transform: none;
  }
  
  .el-button:hover {
    transform: none;
  }
  
  /* 增大触摸目标 */
  .el-button {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* 优化输入框 */
  .el-input__inner {
    font-size: 16px; /* 防止iOS自动缩放 */
  }
}