body {
    font-family: Arial, sans-serif;
    margin: 20px;
    background-color: #f4f4f4;
}

.editor-container {
    width: 100%;
    margin: 0 auto;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

#toolbar {
    padding: 8px;
    border-bottom: 1px solid #ccc;
    background-color: #e9e9e9;
}

#toolbar button {
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    padding: 5px 10px;
    margin-right: 5px;
    cursor: pointer;
    font-weight: bold;
    font-style: italic;
    font-size: 16px;
    transition: background-color 0.2s;
}

#toolbar button:hover {
    background-color: #ddd;
}

#editor {
    min-height: 250px;
    padding: 15px;
    /* Sets the element as editable */
    outline: none; 
}

#editor p, #editor ul {
    margin: 0 0 10px 0;
}

/* Style for bold/italic/list output */
#editor strong { font-weight: bold; }
#editor em { font-style: italic; }