/* Styles pour l'éditeur Tiptap */
.tiptap-editor {
    border: 1px solid #ddd;
    border-radius: 4px;
    min-height: 300px;
    padding: 1rem;
    background-color: white;
    outline: none;
  }
  
  .tiptap-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
  }
  
  .tiptap-toolbar button {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0.3rem 0.6rem;
    cursor: pointer;
    font-size: 0.9rem;
  }
  
  .tiptap-toolbar button:hover {
    background-color: #f0f0f0;
  }
  
  .tiptap-toolbar button.is-active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
  }
  
  /* Styles pour le contenu édité */
  .tiptap-editor p {
    margin-bottom: 1rem;
  }
  
  .tiptap-editor h1,
  .tiptap-editor h2,
  .tiptap-editor h3 {
    margin: 1.5rem 0 1rem;
  }
  
  .tiptap-editor ul,
  .tiptap-editor ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .tiptap-editor blockquote {
    border-left: 3px solid #ddd;
    padding-left: 1rem;
    color: #666;
    margin: 1rem 0;
  }
  
  .tiptap-editor code {
    background-color: #f5f5f5;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: monospace;
  }
  
  .tiptap-editor pre {
    background-color: #f5f5f5;
    padding: 1rem;
    border-radius: 4px;
    overflow-x: auto;
    margin: 1rem 0;
  }
  
  .ProseMirror-focused {
    outline: none;
    border-color: var(--primary);
  }