/* Creator Dashboard - Reuses employer-dashboard.css structure */
@import url('employer-dashboard.css');

/* Chart Area */
.chart-area {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chart-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  color: var(--text-muted);
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.08) 0%, rgba(6, 182, 212, 0.08) 50%, rgba(244, 63, 94, 0.06) 100%);
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-color);
}

.chart-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.5;
}

.chart-placeholder span {
  font-size: 0.875rem;
  font-weight: 500;
}

/* Service Manage Grid */
.service-manage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

/* Service Manage Card */
.service-manage-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.service-manage-card:hover {
  border-color: var(--border-dark);
  box-shadow: var(--shadow-md);
}

.service-manage-card .service-cover {
  height: 120px;
  width: 100%;
}

.service-manage-card .service-body {
  padding: var(--space-4);
}

.service-manage-card .service-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.service-manage-card .service-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-3);
}

.service-manage-card .service-status {
  display: flex;
  align-items: center;
}

.service-manage-card .service-actions {
  display: flex;
  gap: var(--space-2);
  padding: 0 var(--space-4) var(--space-4);
}

.service-manage-card .service-actions .btn {
  flex: 1;
  justify-content: center;
}

.service-manage-card .service-actions .btn svg {
  width: 14px;
  height: 14px;
}

/* Creator-specific stat card colors */
.stats-row .stat-card:nth-child(1) .stat-value {
  color: var(--color-primary);
}

.stats-row .stat-card:nth-child(2) .stat-value {
  color: var(--color-secondary);
}

.stats-row .stat-card:nth-child(3) .stat-value {
  color: var(--color-accent);
}

.stats-row .stat-card:nth-child(4) .stat-value {
  color: var(--color-warning);
}

/* Responsive */
@media (max-width: 1023px) {
  .service-manage-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .chart-area {
    min-height: 220px;
  }

  .chart-placeholder {
    height: 160px;
  }
}

@media (max-width: 767px) {
  .service-manage-grid {
    grid-template-columns: 1fr;
  }

  .chart-area {
    padding: var(--space-4);
    min-height: 180px;
  }

  .chart-placeholder {
    height: 120px;
  }

  .chart-placeholder svg {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 480px) {
  .service-manage-card .service-actions {
    flex-direction: column;
  }

  .service-manage-card .service-actions .btn {
    width: 100%;
  }
}
