.html-editor-container {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    margin-bottom: 0.5rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
    background-color: #ffffff;
}
.html-editor-container.is-invalid {
    border-color: #dc3545;
}
.html-editor-toolbar {
    border-bottom: 1px solid #dee2e6;
    background-color: #f8f9fa;
    border-radius: 0.375rem 0.375rem 0 0;
    user-select: none;
    display: flex;
    align-items: center;
    padding: 0 0.5rem;
    min-height: 34px;
}
.html-editor-content {
    min-height: 100px;
    padding: 0.75rem;
    outline: none;
    cursor: text;
    flex-grow: 1;
}

.html-editor-source-textarea {
    width: 100%;
    min-height: 100px;
    border: none;
    resize: none;
    outline: none;
    padding: 0.75rem;
    font-family: monospace;
    box-sizing: border-box;
}


.html-editor-button {
    border: none;
    background: none;
    padding: 0.375rem 0.5rem;
    margin-right: 0.1rem;
    cursor: pointer;
    color: #495057;
    transition: background-color 0.15s;
}
.html-editor-button:hover:not(:disabled) {
    background-color: #e9ecef;
    border-radius: 0.25rem;
}
.html-editor-button:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}
.html-editor-separator {
    color: #adb5bd;
    margin: 0 0.3rem;
    font-size: 1.1em;
}

.fullscreen-editor {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1050;
    margin: 0 !important;
    border-radius: 0;
    background-color: #ffffff;
}
.fullscreen-editor .html-editor-content,
.fullscreen-editor .html-editor-source-textarea {
    min-height: calc(100vh - 48px);
}