:root {
  --primary-color: #1890ff;
  --success-color: #52c41a;
  --warning-color: #faad14;
  --danger-color: #f5222d;
  --text-color: #333;
  --text-color-secondary: #666;
  --border-color: #e8e8e8;
  --background-color: #f0f2f5;
  --header-height: 64px;
  --sidebar-width: 220px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-color);
  background-color: var(--background-color);
}

#app {
  min-height: 100vh;
}

/* 侧边栏样式 */
.el-aside {
  background-color: #001529;
  color: #fff;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1000;
  transition: width 0.3s;
  overflow-x: hidden;
}

.logo-container {
  height: var(--header-height);
  display: flex;
  align-items: center;
  padding: 0 16px;
  color: #fff;
  background-color: #002140;
}

.logo {
  width: 32px;
  height: 32px;
  margin-right: 12px;
  border-radius: 6px;
}

.el-menu {
  border-right: none;
}

/* 头部样式 */
.el-header {
  background-color: #fff;
  box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: var(--header-height);
  position: fixed;
  top: 0;
  left: var(--sidebar-width);
  right: 0;
  z-index: 999;
  transition: left 0.3s;
}

.header-left {
  display: flex;
  align-items: center;
}

.toggle-icon {
  font-size: 20px;
  margin-right: 20px;
  cursor: pointer;
}

.header-right {
  display: flex;
  align-items: center;
}

.search-input {
  width: 200px;
  margin-right: 20px;
}

.user-dropdown {
  cursor: pointer;
  display: flex;
  align-items: center;
}

/* 主内容区样式 */
.el-main {
  margin-top: var(--header-height);
  margin-left: var(--sidebar-width);
  padding: 20px;
  transition: margin-left 0.3s;
}

/* 仪表盘样式 */
.dashboard-container {
  padding: 10px;
}

.stat-card {
  margin-bottom: 20px;
}

.stat-card-content {
  display: flex;
  align-items: center;
}

.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 24px;
}

.video-icon {
  background-color: rgba(24, 144, 255, 0.1);
  color: var(--primary-color);
}

.comment-icon {
  background-color: rgba(82, 196, 26, 0.1);
  color: var(--success-color);
}

.recent-icon {
  background-color: rgba(250, 173, 20, 0.1);
  color: var(--warning-color);
}

.trend-icon {
  background-color: rgba(245, 34, 45, 0.1);
  color: var(--danger-color);
}

.stat-info {
  flex: 1;
}

.stat-title {
  font-size: 14px;
  color: var(--text-color-secondary);
  margin-bottom: 5px;
}

.stat-value {
  font-size: 24px;
  font-weight: bold;
  color: var(--text-color);
}

.chart-row {
  margin-bottom: 20px;
}

.chart-card {
  height: 350px;
}

.chart-header {
  margin-bottom: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chart-container {
  height: 280px;
}

.top-videos-card {
  margin-bottom: 20px;
}

/* 视频列表样式 */
.videos-container {
  padding: 10px;
}

.table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.table-actions {
  display: flex;
  align-items: center;
}

.creator-info {
  display: flex;
  align-items: center;
}

.creator-info span {
  margin-left: 10px;
}

.pagination-container {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
}

/* 视频详情样式 */
.video-detail-container {
  padding: 10px;
}

.video-actions {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
}

/* 评论列表样式 */
.comments-container {
  padding: 10px;
}

/* 客户线索样式 */
.leads-container {
  padding: 10px;
}

.subtitle {
  font-size: 14px;
  color: var(--text-color-secondary);
  margin-left: 10px;
}

.phone-item {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}

.phone-item:last-child {
  margin-bottom: 0;
}

.phone-item span {
  margin-right: 10px;
}

.copy-btn {
  padding: 4px;
  font-size: 12px;
}

.copy-btn .el-icon {
  font-size: 12px;
}

/* 客户线索样式 */
.customer-leads-container {
  padding: 10px;
}

.location-tag {
  margin-right: 5px;
  margin-bottom: 5px;
}

.location-tag:last-child {
  margin-right: 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .el-aside {
    width: 64px !important;
  }
  
  .el-header {
    left: 64px !important;
  }
  
  .el-main {
    margin-left: 64px !important;
  }
  
  .logo-container h2 {
    display: none;
  }
  
  .el-col-6 {
    width: 100% !important;
  }
  
  .el-col-12 {
    width: 100% !important;
  }
  
  .chart-card {
    margin-bottom: 20px;
  }
}

/* 路线分析样式 */
.analysis-header {
  margin-bottom: 20px;
}

.analysis-stats {
  display: flex;
  justify-content: space-around;
  margin-bottom: 20px;
}

.driver-tag {
  margin-right: 5px;
  margin-bottom: 5px;
}

.driver-info {
  padding: 10px;
}

.driver-header {
  display: flex;
  margin-bottom: 20px;
}

.driver-locations {
  margin-left: 20px;
  flex: 1;
}

.location-tags {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
}

.driver-videos {
  margin-top: 20px;
}

.location-tag-small {
  margin-right: 3px;
  margin-bottom: 3px;
}

#locationChart {
  height: 400px;
  margin-top: 20px;
}

/* 状态开关样式 */
.el-switch {
  margin-right: 10px;
}

/* 操作人选择框样式 */
.el-select {
  width: 100%;
}

/* 跟进统计样式 */
.follow-up-stats-container {
  padding: 10px;
}

.stats-summary {
  margin-bottom: 20px;
}

.stats-card {
  height: 120px;
  display: flex;
  align-items: center;
}

.stats-section {
  margin-bottom: 20px;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.follow-icon {
  background-color: rgba(24, 144, 255, 0.1);
  color: var(--primary-color);
}

.register-icon {
  background-color: rgba(82, 196, 26, 0.1);
  color: var(--success-color);
}

.rate-icon {
  background-color: rgba(250, 173, 20, 0.1);
  color: var(--warning-color);
}

.mini-chart {
  height: 50px;
  width: 100%;
}

.operator-stats {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}

.operator-stats .el-tag {
  margin-right: 10px;
}

.operator-stats span {
  margin-right: 15px;
  font-size: 12px;
}

/* 创作者分析样式 */
.creators-container {
  padding: 10px;
}

.creator-details {
  margin-left: 10px;
}

.creator-name {
  font-weight: bold;
}

.creator-signature {
  font-size: 12px;
  color: var(--text-color-secondary);
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
}

.creator-profile {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.creator-profile-info {
  margin-left: 20px;
}

.creator-profile-info h2 {
  margin: 0 0 5px 0;
}

.creator-profile-info p {
  margin: 0;
  color: var(--text-color-secondary);
}

.creator-stats {
  margin-bottom: 20px;
}

.chart-card {
  margin-bottom: 20px;
}

.videos-card {
  margin-bottom: 20px;
}

/* 排重开关样式 */
.el-switch {
  margin-right: 10px;
}

.phone-number-tag {
  margin-right: 5px;
  margin-bottom: 5px;
}

/* 批量操作工具栏样式 */
.batch-actions {
  margin-bottom: 15px;
  padding: 10px;
  background-color: #f8f8f8;
  border-radius: 4px;
  display: flex;
  align-items: center;
}

.selected-count {
  margin-right: 15px;
  font-weight: bold;
  color: var(--primary-color);
}

.batch-actions .el-button-group {
  margin-right: 10px;
} 