.dw-textarea-editor {
    border: 1px solid #d1d7dc;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.dw-textarea-editor.is-focused {
    border-color: #0d9488;
    box-shadow: 0 0 0 3px rgba(86, 36, 208, 0.12);
}

.dw-editor-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #e8e8e8;
    background: #f7f9fa;
    padding: 0 0.5rem;
}

.dw-editor-tab {
    border: 0;
    background: transparent;
    padding: 0.5rem 0.85rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #6a6f73;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.dw-editor-tab.is-active {
    color: #0d9488;
    border-bottom-color: #0d9488;
    background: #fff;
}

.dw-editor-tab:hover {
    color: #1c1d1f;
}

.dw-editor-pane {
    padding: 0.5rem;
}

.dw-editor-pane[hidden] {
    display: none !important;
}

.dw-editor-html {
    min-height: 160px;
    font-size: 0.8125rem;
    line-height: 1.45;
    resize: vertical;
    width: 100%;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    padding: 0.65rem 0.75rem;
}

.dw-textarea-editor .tox-tinymce {
    border: 1px solid #e8e8e8 !important;
    border-radius: 6px !important;
}

.dw-textarea-editor--sm .dw-editor-html {
    min-height: 120px;
}

.dw-textarea-editor--sm .tox-tinymce {
    min-height: 140px !important;
}
