/* ============================================
   创作者中心样式 - 与主站布局一致
   ============================================ */

/* 创作者中心侧边栏特殊样式 */
.creator-sidebar .sidebar-header {
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-bottom: 1px solid var(--border);
}

.creator-sidebar .logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

.creator-sidebar .create-note-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: linear-gradient(90deg, #ff2442 0%, #ff4d6b 100%);
  color: white;
  border: none;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(255, 36, 66, 0.3);
  text-decoration: none;
}

.creator-sidebar .create-note-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 36, 66, 0.4);
}

.creator-sidebar .create-note-btn svg {
  width: 18px;
  height: 18px;
}

/* 创作者中心内容区 */
.creator-center-content {
  padding: 0;
  background: var(--bg);
}

/* 创作者中心头部卡片 */
.creator-header-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.creator-header-content {
  display: flex;
  justify-content: space-between;
  gap: 32px;
}

.creator-avatar-section {
  display: flex;
  gap: 16px;
  flex: 1;
}

.creator-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-light);
}

.creator-info {
  flex: 1;
}

.creator-name-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.creator-name {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
}

.creator-status {
  padding: 4px 12px;
  background: #e8f5e9;
  color: #4caf50;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

.creator-stats-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-value {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* 成长信息区 */
.creator-growth-section {
  width: 280px;
  padding: 16px;
  background: linear-gradient(135deg, #f5f5f5 0%, #e8f5e9 100%);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.growth-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.growth-desc {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.growth-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.badge {
  padding: 4px 8px;
  background: white;
  border-radius: 4px;
  font-size: 11px;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.growth-progress {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.progress-text {
  font-size: 12px;
  color: var(--text-secondary);
}

.progress-bar {
  height: 6px;
  background: rgba(0,0,0,0.1);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 3px;
  transition: width 0.3s;
}

/* 区块样式 */
.creator-section {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.section-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

.section-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.draft-link {
  font-size: 13px;
  color: var(--text-secondary);
}

.edit-link {
  font-size: 13px;
  color: var(--primary);
  text-decoration: none;
}

.view-all {
  font-size: 13px;
  color: var(--primary);
  text-decoration: none;
}

.section-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-left: 12px;
}

/* 创作卡片 */
.creation-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.creation-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid var(--border);
}

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

.image-card {
  background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
}

.video-card {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.live-card {
  background: linear-gradient(135deg, #fce4ec 0%, #f8bbd9 100%);
}

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.card-content h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.card-content p {
  font-size: 12px;
  color: var(--text-secondary);
}

/* 数据标签页 */
.data-tabs {
  display: flex;
  gap: 24px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--border);
}

.tab-btn {
  padding: 12px 0;
  background: none;
  border: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
}

.tab-btn.active {
  color: var(--primary);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
}

/* 数据筛选 */
.data-filters {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.filter-label {
  font-size: 14px;
  color: var(--text-secondary);
}

.period-selector {
  display: flex;
  gap: 8px;
}

.period-btn {
  padding: 6px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}

.period-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* 数据卡片 */
.data-cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.data-card {
  padding: 20px;
  background: var(--bg);
  border-radius: var(--radius);
  text-align: center;
}

.data-label {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.data-value {
  font-size: 28px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.data-trend {
  font-size: 12px;
  color: var(--text-muted);
}

.trend-value.up {
  color: #f44336;
}

.trend-value.down {
  color: #4caf50;
}

/* 创作资讯 */
.creator-news {
  margin-top: 16px;
}

.news-banner {
  display: flex;
  gap: 24px;
  background: linear-gradient(135deg, #fff9c4 0%, #fff59d 100%);
  border-radius: var(--radius);
  padding: 24px;
  align-items: center;
}

.banner-image {
  width: 200px;
  border-radius: var(--radius);
  overflow: hidden;
}

.banner-image img {
  width: 100%;
  height: auto;
  display: block;
}

.banner-content {
  flex: 1;
}

.banner-tag {
  display: inline-block;
  padding: 4px 12px;
  background: #ff5722;
  color: white;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}

.banner-content h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.banner-content p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.banner-btn {
  padding: 10px 24px;
  background: #ff5722;
  color: white;
  border: none;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.banner-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 87, 34, 0.3);
}

/* 活动列表 */
.activity-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.activity-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all 0.2s;
}

.activity-item:hover {
  border-color: var(--primary);
  background: var(--hover);
}

.activity-image {
  width: 80px;
  height: 80px;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
}

.activity-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.activity-info h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.activity-time {
  font-size: 12px;
  color: var(--text-muted);
}

/* 响应式设计 */
@media (max-width: 1400px) {
  .data-cards {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .creation-cards {
    grid-template-columns: 1fr;
  }
  
  .activity-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1200px) {
  .creator-header-content {
    flex-direction: column;
  }
  
  .creator-growth-section {
    width: 100%;
  }
}
