.editor-container {
    border: 1px solid #ccc;
    margin-bottom: 10px;
}

.toolbar {
    background-color: #f0f0f0;
    padding: 5px;
    border-bottom: 1px solid #ccc;
}

.toolbar button {
    padding: 5px 10px;
    margin-right: 5px;
    cursor: pointer;
    border: 1px solid #aaa;
    background-color: #fff;
}

.toolbar button:hover {
    background-color: #eee;
}

.editor-content {
    min-height: 150px;
    padding: 10px;
    outline: none; /* Remove default focus outline */
    line-height: 1.5;
    white-space: pre-wrap; /* Ensure whitespace is handled reasonably */
    word-wrap: break-word; /* Break long words */
    overflow-x: hidden;
    overflow-y: auto;
}

/* Make headers look like headers within the editor */
.editor-content h2 {
    font-size: 1.5em;
    font-weight: bold;
    margin: 0.8em 0; /* Add some spacing like real headers */
}
.editor-content h3 {
    font-size: 1.3em;
    font-weight: bold;
    margin: 0.7em 0;
}
/* Add styles for H4, H5, H6 if you add buttons for them */

/* Style for the hidden textarea if you temporarily make it visible for debugging */
/*
#editor-output {
    width: 90%;
    min-height: 100px;
    margin-top: 10px;
    font-family: monospace;
}
*/