.mark-match {
  background-color: rgba(245, 158, 11, 0.25);
  color: #fef3c7;
  padding: 1px 3px;
  border-radius: 2px;
}

#visualEditor h1,
#visualEditor h2,
#visualEditor h3,
#visualEditor h4,
#visualEditor h5,
#visualEditor h6 {
  font-weight: 600;
  color: #cbd5e1;
  margin-top: 0.75rem;
  margin-bottom: 0.25rem;
}

#visualEditor h2 {
  font-size: 1.1rem;
  color: #e2e8f0;
}

#visualEditor p {
  margin-bottom: 0.75rem;
  line-height: 1.6;
  color: #cbd5e1;
}

#visualEditor a {
  color: #38bdf8;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}

#visualEditor ul,
#visualEditor ol {
  margin-left: 1.25rem;
  margin-bottom: 0.75rem;
  list-style-type: disc;
}

#visualEditor sub {
  color: #94a3b8;
  font-size: 0.75rem;
}

.highlight-target-p {
  outline: 1.5px solid #6366f1 !important;
  background-color: rgba(99, 102, 241, 0.08) !important;
  transition: all 0.2s ease;
  border-radius: 4px;
}

::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: #090d16;
}

::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* Draggable Split-Pane Divider */
.split-resizer {
  width: 6px;
  cursor: col-resize;
  background-color: rgba(30, 41, 59, 0.7);
  border-radius: 3px;
  transition: background-color 0.15s ease;
  flex-shrink: 0;
  position: relative;
}

.split-resizer:hover,
.split-resizer.resizing {
  background-color: #6366f1;
}

.split-resizer::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 2px;
  height: 28px;
  background-color: rgba(148, 163, 184, 0.5);
  border-radius: 1px;
}
