.toolbar {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    border-bottom: 1px solid #ccc;
    padding: 5px;
    background-color: #f9f9f9;
}

.ql-toolbar .ql-formats {
    display: flex;
    align-items: center;
}

.ql-toolbar .ql-formats button,
.ql-toolbar .ql-formats select {
    font-size: 12px; /* Reduce the icon size */
    padding: 5px;
    margin: 0 2px;
}

.ql-toolbar .ql-formats button svg {
    width: 14px;
    height: 14px;
}

/* Resizable editor */
.editor-wrapper {
    resize: both; /* Allow resizing horizontally and vertically */
    overflow: auto;
    border: 1px solid #ccc;
    padding: 5px;
    max-width: 100%;
    height: auto;
    min-height: 150px;
}

/* Style the editor area */
#editor-container {
    height: 200px; /* Initial height */
    min-height: 150px; /* Minimum height */
    overflow-y: auto;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #ccc;
    white-space: pre-wrap; /* Ensures proper wrapping of text */
}

/* Adjust button sizes */
.ql-toolbar button {
    width: auto;
    height: auto;
}