.Overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.Modal {
  background-color: var(--theme-color-bg-2, #1a1a1a);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  width: 700px;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.Header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--theme-color-border-default, rgba(255, 255, 255, 0.1));
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.Title {
  font-size: 16px;
  font-weight: 600;
  color: var(--theme-color-fg-highlight, #ffffff);
  margin: 0;
}

.Body {
  padding: 16px 20px;
  flex: 1;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.HelpText {
  padding: 8px 12px;
  background-color: var(--theme-color-bg-3, rgba(255, 255, 255, 0.05));
  border-radius: 4px;
  font-size: 12px;
  color: var(--theme-color-fg-default-shy, rgba(255, 255, 255, 0.6));

  code {
    background-color: var(--theme-color-bg-1, rgba(99, 102, 241, 0.2));
    padding: 2px 4px;
    border-radius: 2px;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 11px;
    color: var(--theme-color-primary, #6366f1);
  }
}

.EditorWrapper {
  flex: 1;
  min-height: 300px;
  border-radius: 4px;
  overflow: hidden;
}

.Footer {
  padding: 12px 20px;
  border-top: 1px solid var(--theme-color-border-default, rgba(255, 255, 255, 0.1));
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
