.container {
  display: flex;
  flex-direction: column;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: all 0.3s;
}

.fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 1050;

  /* Higher than Modal */
  border-radius: 0;
}

.toolbar {
  padding: 8px 12px;
  border-bottom: 1px solid #f0f0f0;
  background: #fafafa;
  display: flex;
  justify-content: flex-end;
}

.content {
  flex: 1;
  display: flex;
  overflow: hidden;
}

.editorWrapper {
  height: 100%;
}

.previewWrapper {
  height: 100%;
  overflow-y: auto;
  padding: 16px 24px;
  background: #fff;
}

/* Ensure markdown-body takes full width */
:global(.markdown-body) {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial,
    sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
  font-size: 14px;
}
