.rolvb-editor-container {
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
}

.dark .rolvb-editor-container {
    border-color: #374151;
    background: #1f2937;
}

.rolvb-toolbar {
    padding: 0.5rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    align-items: center;
}

.dark .rolvb-toolbar {
    background: #111827;
    border-color: #374151;
}

.rolvb-tool-btn {
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    border: 1px solid transparent;
    background: transparent;
    color: #475569;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dark .rolvb-tool-btn {
    color: #9ca3af;
}

.rolvb-tool-btn:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.dark .rolvb-tool-btn:hover {
    background: #374151;
    color: #f3f4f6;
}

.rolvb-separator {
    width: 1px;
    height: 20px;
    background: #cbd5e1;
    margin: 0 0.25rem;
}

.dark .rolvb-separator {
    background: #4b5563;
}

.rolvb-content-area {
    padding: 1rem;
    min-height: 200px;
    outline: none;
    color: #334155;
    line-height: 1.6;
}

.dark .rolvb-content-area {
    color: #e2e8f0;
}

.rolvb-content-area:focus {
    background: #f8fafc;
}

.dark .rolvb-content-area:focus {
    background: #1f2937;
}

.rolvb-source-area {
    width: 100%;
    min-height: 200px;
    padding: 1rem;
    border: none;
    outline: none;
    resize: vertical;
    font-family: monospace;
    background: #1e293b;
    color: #a5b4fc;
}

/* Base Styles inside Editor */
.rolvb-content-area b, .rolvb-content-area strong { font-weight: 700; }
.rolvb-content-area i, .rolvb-content-area em { font-style: italic; }
.rolvb-content-area u { text-decoration: underline; }
.rolvb-content-area ul { list-style-type: disc; margin-left: 1.5rem; }
.rolvb-content-area ol { list-style-type: decimal; margin-left: 1.5rem; }
.rolvb-content-area a { color: #3b82f6; text-decoration: underline; }
.rolvb-content-area h2 { font-size: 1.5rem; font-weight: 700; margin: 0.5rem 0; }
.rolvb-content-area h3 { font-size: 1.25rem; font-weight: 600; margin: 0.5rem 0; }
.rolvb-content-area img { max-width: 100%; height: auto; border-radius: 0.5rem; }
