/* Editor styles */
.ProseMirror {
    outline: none;
    min-height: 400px;
}

/* Heading styles */
.ProseMirror h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.ProseMirror h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-top: 1.4rem;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.ProseMirror h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-top: 1.3rem;
    margin-bottom: 0.7rem;
    line-height: 1.4;
}

/* List styles */
.ProseMirror ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.ProseMirror ol {
    list-style-type: decimal;
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.ProseMirror li {
    margin-bottom: 0.5rem;
}

/* Blockquote styles */
.ProseMirror blockquote {
    border-left: 3px solid #e2e8f0;
    padding-left: 1rem;
    margin-left: 0;
    margin-right: 0;
    font-style: italic;
    color: #4a5568;
}

/* Code block styles */
.ProseMirror pre {
    background-color: #f7fafc;
    border-radius: 0.25rem;
    padding: 0.75rem 1rem;
    margin: 1rem 0;
    overflow-x: auto;
    font-family: monospace;
}

/* Table styles */
.ProseMirror table {
    border-collapse: collapse;
    table-layout: fixed;
    width: 100%;
    margin: 1rem 0;
    overflow: hidden;
}

.ProseMirror th {
    background-color: #f7fafc;
    font-weight: 600;
}

.ProseMirror td,
.ProseMirror th {
    border: 1px solid #e2e8f0;
    padding: 0.5rem;
    position: relative;
}

/* Image styles */
.ProseMirror img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1rem auto;
}

/* Link styles */
.ProseMirror a {
    color: #3182ce;
    text-decoration: underline;
}

/* Text alignment */
.ProseMirror .text-left {
    text-align: left;
}

.ProseMirror .text-center {
    text-align: center;
}

.ProseMirror .text-right {
    text-align: right;
}

.ProseMirror .text-justify {
    text-align: justify;
}

/* Highlight styles */
.ProseMirror mark {
    background-color: #fefcbf;
    padding: 0 0.2rem;
}

/* Remote cursor styles */
.collaboration-cursor__caret {
    position: relative;
    margin-left: -1px;
    margin-right: -1px;
    border-left: 1px solid;
    border-right: 1px solid;
    word-break: normal;
    pointer-events: none;
}

.collaboration-cursor__label {
    position: absolute;
    top: -1.4em;
    left: -1px;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    user-select: none;
    color: white;
    padding: 0.1rem 0.3rem;
    border-radius: 3px 3px 3px 0;
    white-space: nowrap;
}

/* Editor content container */
.editorContent {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    overflow: hidden;
} 