.erteditor-toolbar{
    background:#fff;
    border:1px solid #e5eaef;
    border-radius:8px;
    padding:8px;
}
.erteditor-toolbar button,
.erteditor-toolbar select,
.erteditor-toolbar input[type=color]{
    background:#f9fafb;
    border:1px solid #e4e6ef;
    border-radius:6px;
    padding:6px 8px;
    cursor:pointer;
    transition:all .2s;
}
.erteditor-toolbar button:hover,
.erteditor-toolbar select:hover{
    background: #00acb9;
    color:#fff;
}
.erteditor-toolbar i{font-size:14px;}
.ertseparator{width:1px;height:24px;background:#dee2e6;margin:0 4px;}
.erteditor{min-height:300px;outline:none;border:1px solid #e5eaef;border-radius:6px;padding:10px;}
.code-view{background:#1e1e1e;color:#9cdcfe;}
.erteditor-modal{
    position:fixed;top:0;left:0;right:0;bottom:0;
    background:rgba(0,0,0,.6);
    display:flex;align-items:center;justify-content:center;
}
.erteditor-modal-content{
    background:#fff;padding:20px;border-radius:8px;width:320px;
}
.erteditor-modal-content input{
    width:100%;margin-bottom:10px;padding:5px;border:1px solid #ccc;border-radius:4px;
}


/* 📏 Resimlerin taşmaması */
.erteditor img {
    max-width: 100%;
    height: auto;
    display: inline-block;
    border-radius: 4px;
    cursor: pointer;
    transition: box-shadow 0.2s ease;
}

.erteditor img:hover {
    box-shadow: 0 0 0 3px rgb(6, 92, 98);
}

/* 📦 Boyutlandırma tutamaçları */
.erteditor .resize-handle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #00acb9;
    border-radius: 50%;
    cursor: se-resize;
    z-index: 10;
}
.erteditor .resize-box {
    position: relative;
    display: inline-block;
    border: 2px dashed #00acb9;
}
