.haber-gorsel-editor-modal .modal-dialog {
    max-width: 96vw;
    width: 1200px;
}

.haber-gorsel-editor-modal .modal-body {
    padding: 0;
    background: #1e1e1e;
}

.hge-wrap {
    display: grid;
    grid-template-columns: 56px 1fr 220px;
    min-height: 70vh;
    max-height: 82vh;
}

.hge-toolbar {
    background: #2b2b2b;
    border-right: 1px solid #3a3a3a;
    padding: 8px 6px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow-y: auto;
}

.hge-toolbar .btn {
    width: 42px;
    height: 42px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ddd;
    border-color: #444;
    background: #333;
}

.hge-toolbar .btn:hover,
.hge-toolbar .btn.active {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}

.hge-main {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    background: #161616;
}

.hge-canvas-area {
    position: relative;
    flex: 1;
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    min-height: 0;
}

.hge-canvas-host {
    box-shadow: 0 4px 24px rgba(0,0,0,.45);
    line-height: 0;
}

.hge-side {
    background: #252525;
    border-left: 1px solid #3a3a3a;
    color: #ddd;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
}

.hge-side h6 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #999;
    margin: 0;
    padding: 10px 12px 6px;
}

.hge-layers {
    flex: 0 1 auto;
    max-height: 35%;
    overflow-y: auto;
    padding: 0 8px 8px;
}

.hge-layer-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    border: 1px solid transparent;
}

.hge-layer-item:hover { background: #333; }
.hge-layer-item.active { background: #0d6efd33; border-color: #0d6efd; }

.hge-props {
    flex: 1;
    overflow-y: auto;
    border-top: 1px solid #3a3a3a;
    padding: 10px 12px 16px;
    font-size: 12px;
    min-height: 0;
}

.hge-props label { color: #aaa; font-size: 11px; margin-bottom: 2px; }
.hge-props .form-control,
.hge-props .form-select {
    background: #333;
    border-color: #444;
    color: #eee;
    font-size: 12px;
    padding: 4px 8px;
}

.hge-actions {
    flex-shrink: 0;
    padding: 12px 16px 14px;
    background: #2b2b2b;
    border-top: 1px solid #3a3a3a;
    text-align: center;
}

.hge-actions .hge-hint {
    font-size: 11px;
    color: #999;
    margin: 0 0 10px;
}

.hge-loading {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    z-index: 10;
}

/* Ön yüz fabric render */
.haber-gorsel-fabric-wrap {
    position: relative;
    width: 100%;
    line-height: 0;
}

.haber-gorsel-fabric-wrap canvas {
    width: 100% !important;
    height: auto !important;
    display: block;
}
