.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  display: none;
}

.modal-overlay.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-window {
  background: #1a1a1a;
  border: 1px solid #444;
  border-radius: 8px;
  min-width: 600px;
  min-height: 400px;
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
  resize: both;
  overflow: hidden;
}

.modal-header {
  background: #2a2a2a;
  padding: 12px 16px;
  border-bottom: 1px solid #444;
  cursor: move;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  color: #fff;
  font-weight: bold;
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  color: #999;
  font-size: 18px;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
}

.modal-close:hover {
  color: #fff;
}

.modal-content {
  padding: 16px;
  height: calc(100% - 60px);
  overflow: auto;
}

.chart-container {
  width: 100%;
  height: 100%;
  min-height: 300px;
}