.ql-editor table {
	border-collapse: collapse;
	width: 100%;
	border: 1px solid #000000;
}

.ql-editor table td, .ql-editor table th {
	border: 1px solid #000000 !important;
	padding: 4px;
	text-align: left;
	white-space: normal !important; /* Allow wrapping */
	word-wrap: break-word;
	overflow-wrap: anywhere;
}

.ql-editor table th {
	background-color: #f2f2f2;
	font-weight: bold;
}

.ql-editor table tr:nth-child(even) {
	background-color: #f9f9f9;
}

/* Table toolbar */
.table-toolbar {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-top: none;
    padding: 5px;
    display: none;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.table-toolbar.active {
    display: flex;
}

.table-toolbar button {
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 2px 5px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 12px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 5px;
}

.table-toolbar button:hover {
    background: #f0f0f0;
    border-color: #999;
}

.divider {
    width: 1px;
    height: 20px;
    background: #ddd;
}