/* graph/graph.css */
.graph-card {
  background: white;
  border-radius: 12px;
  padding: 16px;
  width: 120px;
  height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  cursor: pointer;
  transition: 0.2s;
  font-size: 13px;
  text-align: center;
}

.graph-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.graph-card .icon {
  font-size: 28px;
  color: var(--primary, #3b82f6);
  margin-bottom: 8px;
}

.modal-graph {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
}

.modal-graph-content {
  background: white;
  border-radius: 16px;
  width: 90%;
  max-width: 900px;
  max-height: 80vh;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.modal-graph-header {
  padding: 16px 20px;
  background: #3b82f6;
  color: white;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.close-graph { 
  font-size: 28px; 
  cursor: pointer; 
  font-weight: bold;
}

.chart-container {
  padding: 20px;
  height: calc(80vh - 70px);
}