.diagram-axis-container {
  width: 100%;
  margin: 32px 0;
}

.diagram-tooltip {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  animation: fadeIn 0.15s ease-in-out;
}

.diagram-detail-panel {
  animation: slideIn 0.2s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

/* Mobile responsiveness */
@media (max-width: 768px) {
  .diagram-detail-panel {
    max-width: calc(100vw - 32px) !important;
    left: 16px !important;
  }

  .diagram-tooltip {
    max-width: 200px;
  }
}
