/* Chart Period Toggle (Day/Month) */
.chart-period-toggle {
  display: flex;
  gap: 16px;
  align-items: center;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

.chart-period-toggle > button,
.period-toggle-btn,
button.chart-period-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: none;
  background: transparent !important;
  border-radius: 0;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.chart-period-toggle > button .material-icons,
.period-toggle-btn .material-icons,
button.chart-period-toggle .material-icons {
  font-size: 16px;
  opacity: 0.8;
}

.chart-period-toggle > button:hover,
.period-toggle-btn:hover,
button.chart-period-toggle:hover {
  color: var(--text-primary);
  background: transparent !important;
}

.chart-period-toggle > button.active,
.period-toggle-btn.active,
button.chart-period-toggle.active {
  color: var(--accent-color);
  background: transparent !important;
}

.chart-period-toggle > button.active .material-icons,
.period-toggle-btn.active .material-icons,
button.chart-period-toggle.active .material-icons {
  opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .chart-card-header-modern {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .chart-period-toggle {
    width: 100%;
  }
  
  .period-toggle-btn {
    flex: 1;
    justify-content: center;
  }
}
