/* 页面头部组件样式 */
.page-header-container {
  margin-bottom: 24px;
}

.page-header-card {
  border: none;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  position: relative;
  overflow: hidden;
}

.page-header-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #667eea 100%);
}

.page-header-card .el-card__body {
  padding: 16px 30px;
}

.page-header-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.page-header-left {
  flex: 1;
}

.page-header-title {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}

.page-header-left .page-title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: #2c3e50;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.page-header-left .page-subtitle {
  margin: 0;
  font-size: 16px;
  color: #6c757d;
  font-weight: 400;
  line-height: 1.4;
}

.page-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.page-header-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.update-time {
  font-size: 14px;
  color: #6c757d;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(102, 126, 234, 0.1);
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid rgba(102, 126, 234, 0.2);
}

.update-time i {
  font-size: 14px;
  color: #667eea;
}

.page-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-header-actions .el-button {
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 8px 16px;
}

.page-header-actions .el-button--primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.page-header-actions .el-button--primary:hover {
  background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
  transform: translateY(-2px);
}

.page-header-actions .el-button--success {
  background: linear-gradient(135deg, #51cf66 0%, #40c057 100%);
  border: none;
  box-shadow: 0 4px 15px rgba(81, 207, 102, 0.4);
}

.page-header-actions .el-button--info {
  background: linear-gradient(135deg, #74c0fc 0%, #339af0 100%);
  border: none;
  box-shadow: 0 4px 15px rgba(116, 192, 252, 0.4);
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .page-header-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .page-header-right {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  
  .page-header-left .page-title {
    font-size: 24px;
  }
  
  .page-header-left .page-subtitle {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .page-header-card .el-card__body {
    padding: 20px;
  }
  
  .page-header-right {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .page-header-actions {
    flex-wrap: wrap;
  }
  
  .page-header-left .page-title {
    font-size: 22px;
  }
  
  .update-time {
    font-size: 13px;
    padding: 4px 10px;
  }
}

@media (max-width: 480px) {
  .page-header-card .el-card__body {
    padding: 16px;
  }
  
  .page-header-left .page-title {
    font-size: 20px;
  }
  
  .page-header-left .page-subtitle {
    font-size: 13px;
  }
  
  .page-header-actions .el-button {
    padding: 6px 12px;
    font-size: 13px;
  }
}