.tiptap_toolbar__button_one {
  border-radius: 0.25rem;
  padding: 0.25rem;
  background-color: #f2f2f259;
  color: #1b1a1a;
  transition: 0.1s ease;
  transition-property: background-color, color;
}

.tiptap_toolbar__button_one:hover {
  background-color: #e0e0e0;
}

.tiptap_toolbar__button_one.fn-active {
  background-color: #d6d6d6;
}

.tiptap_toolbar__button_one:disabled {
  color: #9f9f9f;
  cursor: default;
}

.dark .tiptap_toolbar__button_one {
  background-color: #232323;
  color: #bababa;
}

.dark .tiptap_toolbar__button_one:hover {
  background-color: #424242;
  color: #e4e4e4;
}

.dark .tiptap_toolbar__button_one.fn-active {
  background-color: #373737;
  color: #e4e4e4;
}

.dark .tiptap_toolbar__button_one:disabled {
  background-color: #3f3f3f;
}

.tiptap img {
  max-width: 100%;
  height: auto;
}

.tiptap .ProseMirror-selectednode {
  outline: 3px solid rgb(118, 63, 186);
}

.tiptap li p {
  margin: 0 !important;
}
/* Tiptap Content Display Styles */
.tiptap-content {
  line-height: 1.6;
}

.tiptap-content ul {
  list-style-type: disc !important;
  padding-left: 1.25rem !important;
}

.tiptap-content ol {
  list-style-type: decimal !important;
  padding-left: 1.25rem !important;
}

.tiptap-content li {
  display: list-item !important;
  margin: 0.1rem 0 !important;
}

.tiptap-content a {
  color: #3b82f6;
  text-decoration: underline;
  text-decoration-color: #93c5fd;
  text-underline-offset: 2px;
  transition: all 0.2s ease;
}

.tiptap-content a:hover {
  color: #1d4ed8;
  text-decoration-color: #3b82f6;
}

.tiptap-content blockquote {
  border-left: 3px solid #d1d5db;
  padding-left: 1rem;
  margin: 0.5rem 0;
  font-style: italic;
  color: #6b7280;
}

.tiptap-content code {
  background-color: transparent;
  padding: 0.125rem 0.25rem;
  border-radius: 0.25rem;
  font-family: ui-monospace, monospace;
  font-size: 0.875em;
}

.tiptap-content hr {
  border: none;
  height: 2px;
  background: linear-gradient(to right, transparent, #d1d5db, transparent);
  margin: 1rem 0;
}

.tiptap-content h1 {
  font-size: 1.875rem;
  font-weight: 700;
  margin: 1rem 0 0.5rem 0;
  line-height: 1.2;
}

.tiptap-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0.75rem 0 0.5rem 0;
  line-height: 1.3;
}

.tiptap-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0.75rem 0 0.5rem 0;
  line-height: 1.4;
}

.tiptap-content h4,
.tiptap-content h5,
.tiptap-content h6 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0.5rem 0 0.5rem 0;
  line-height: 1.5;
}

/* Dark mode */
.dark .tiptap-content a {
  color: #60a5fa;
  text-decoration-color: #3b82f6;
}

.dark .tiptap-content a:hover {
  color: #93c5fd;
  text-decoration-color: #60a5fa;
}

.dark .tiptap-content blockquote {
  border-left-color: #4b5563;
  color: #9ca3af;
}

.dark .tiptap-content code {
  background-color: transparent;
  color: hsl(0 0% 83.1%);
}

.dark .tiptap-content hr {
  background: linear-gradient(to right, transparent, #4b5563, transparent);
}
