.dashboard {
  min-height: 100vh;
  padding: var(--spacing-xl) var(--spacing-lg);
}

.dashboard-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.dashboard-header {
  animation: fadeInDown 0.6s ease-out;
}

.dashboard-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.title-gradient {
  background: linear-gradient(135deg, #fff 0%, #e0e7ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dashboard-subtitle {
  color: var(--textSecondary);
  font-size: 1.1rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.stat-icon {
  font-size: 2.5rem;
  filter: drop-shadow(0 4px 8px var(--shadow));
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--textPrimary);
  margin-bottom: var(--spacing-xs);
}

.stat-label {
  color: var(--textSecondary);
  font-size: 0.9rem;
}

.chart-section {
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.chart-title {
  font-size: 1.5rem;
  color: var(--textPrimary);
  font-weight: 600;
}

.chart-controls {
  display: flex;
  gap: var(--spacing-sm);
}

.btn-glass {
  background: var(--bgGlass);
  border: 1px solid var(--border);
  color: var(--textSecondary);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  font-weight: 500;
}

.btn-glass:hover {
  background: var(--bgGlassHover);
  border-color: var(--borderHover);
  color: var(--textPrimary);
}

.btn-glass.active {
  background: rgba(99, 102, 241, 0.4);
  border-color: var(--primary);
  color: var(--textPrimary);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  animation: fadeInUp 0.6s ease-out 0.6s both;
}

.info-title {
  font-size: 1.2rem;
  color: var(--textPrimary);
  margin-bottom: var(--spacing-md);
  font-weight: 600;
}

.info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-list li {
  color: var(--textSecondary);
  padding: 12px;
  background: var(--bgGlassDark);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary);
  transition: all 0.3s ease;
}

.info-list li:hover {
  background: var(--bgGlass);
  transform: translateX(4px);
}

.info-text {
  color: var(--textSecondary);
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
}

.pulse-indicator {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  color: var(--textPrimary);
  font-weight: 500;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  50% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
}

@media (max-width: 768px) {
  .dashboard { padding: 20px 16px; }
  .dashboard-title { font-size: 2rem; }
  .stats-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .chart-header { flex-direction: column; align-items: flex-start; }
}
