.ql-editor p.clear-both-marker {
  position: relative;
  min-height: 18px;          /* maakt hem zichtbaar als “lege” regel */
  margin: 10px 0;
}

.ql-editor p.clear-both-marker::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 50%;
  transform: translateY(-50%);
  border-top: 1px dashed rgba(0,0,0,0.35);
  pointer-events: none;      /* zodat je hard-block logic niet in de war raakt */
}

/* optioneel: als er per ongeluk tekst in komt, hou het alsnog netjes */
.ql-editor p.clear-both-marker {
  user-select: none;
}


td:first-child{
    width: 200px !important;
    padding-left: 10px !important;
    padding-right: 0 !important;
}

@media only screen and (max-width: 600px) {
    td:first-child{
        width: 120px !important;
    }
}

.ql-editor a{
    border-bottom: dotted 1px #62676c;
    text-decoration: none;
    transition: all 0.25s ease-in-out;
    color: #52575c;
    text-decoration: none !important;
}

.ql-editor * {
    background-color: transparent !important;
    color: #52575c !important;
}

.ql-editor a:hover{
    border-bottom-color: rgba(255, 255, 255, 0);
}

.ql-tooltip{
    z-index: 30;
}



/* Knop zelf: centreer inhoud exact zoals de andere toolbar buttons */
.ql-toolbar button.ql-clear-paragraph{
    width: 28px;
    height: 24px;
    padding: 0;
    display: inline-flex;
    align-items: end;
    justify-content: center;
}

/* Icoon: geen baseline/line-height gezeur */
.ql-toolbar button.ql-clear-paragraph::before{
    content: "↵";
    display: block;
    font-size: 16px;
    line-height: 1;
    transform: translateY(-1px); /* kleine tweak, evt 0 of -2 */
}



.ql-editor{
    min-height: 200px;
}

.ql-container *:not(p):not(a):not(p > span):not(p > li):not(li > span):not(strong):not(em):not(ul):not(ol):not(li):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(u){
    font-size: 13px !important;
}
.ql-container span{
    text-wrap: wrap;
    display: inline;
}

.ql-container strong{
    display: inline;
}

.ql-hidden{
    display: none;
}
.nieuwtjesText a{
    border-bottom: dotted 1px #62676c;
    text-decoration: none;
    transition: all 0.25s ease-in-out;
    color: #52575c;
}
.nieuwtjesText a:hover{
    border-bottom-color: rgba(255, 255, 255, 0);
}

.ql-toolbar .ql-custom {
    width: auto;
    padding: 0 8px;
    font-size: 13px;
    border: 1px solid #ccc;
    border-radius: 3px;
    margin-right: 5px;
    background: white;
    cursor: pointer;
}

.ql-toolbar .ql-custom:hover {
    background: #f3f3f3;
}


/* Binnen de popup: toolbar/picker boven editor zetten */
.popup .ql-toolbar {
top: 0px;
position: sticky;
background: white;
z-index: 5000 !important;
width: auto;
text-align: left;
border-color: black !important;
}

.popup .ql-container {
position: relative;
z-index: 1 !important;
border-color: black !important;
}

.popup .ql-editor {
position: relative;
z-index: 1 !important;
}

/* De dropdown/grid van de picker altijd helemaal bovenaan */
.popup .ql-toolbar .ql-picker-options,
.popup .ql-toolbar .ql-tooltip {
z-index: 6000 !important;
pointer-events: auto !important;
}

/* Popup mag dropdown niet afkappen */
.popup {
overflow: visible !important;
width: 70vw !important;
}

.titelInPopup{
    width: calc(70vw - 20px);
}
.textInPopup{
    width: 70vw;
}

.img-floatbar{
position: absolute;
display: none;
gap: 6px;
flex-wrap: wrap;
padding: 6px;
background: #fff;
border: 1px solid #ccc;
border-radius: 8px;
z-index: 9999;
box-shadow: 0 4px 18px rgba(0,0,0,.12);
}
.img-floatbar button{
padding: 4px 8px;
font-size: 12px;
cursor: pointer;
border: 1px solid #ccc;
background: #fff;
border-radius: 6px;
}
.img-floatbar button:hover{
background: #f3f3f3;
}

/* Zodat images zich netjes gedragen */
.ql-editor img{
max-width: 100%;
height: auto;
}

h2{
    text-wrap: wrap;
}

p, text{
    word-wrap: break-word;
    max-width: calc(100vw - 30px);
}

/* 1) Verberg bekende resizers/handles/panels (selectors zijn bewust breed) */
#editor .ql-table-better *[class*="resize"],
#editor .ql-table-better *[class*="resizer"],
#editor .ql-table-better *[class*="handle"],
#editor .ql-table-better *[class*="operation"],
#editor .ql-table-better *[class*="menu"],
#editor .ql-table-better *[class*="properties"] {
  display: none !important;
}



#editor [style*="col-resize"],
#editor [style*="row-resize"] {
  cursor: default !important;
}

.ql-operate-block{
    display: none !important;
}

.ql-table-select-container {
    width: 50px !important;
}

.ql-table-select-label{
    font-size: 12px !important;
}

.ql-table-select-list{
    padding-top: 4px;
}

.ql-table-dropdown-list li{
    font-size: 12px !important;
}