.position-chart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.position-chart-modal {
  background: #242840;
  border-radius: 12px;
  padding: 2rem;
  width: 90%;
  max-width: 900px;
  max-height: 85vh;
  overflow: auto;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.chart-header {
  position: relative;
  margin-bottom: 1.5rem;
}

.chart-header h3 {
  color: #e8ebf2;
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
  word-break: break-word;
}

.close-btn {
  position: absolute;
  top: -8px;
  right: -8px;
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

.close-btn:hover {
  color: #e8ebf2;
}

.chart-container {
  height: 350px;
}

.chart-loading,
.chart-empty {
  color: #9ca3af;
  text-align: center;
  padding: 4rem 0;
}
