
/* --- 6. Resizers & Overlays --- */

/* CRITICAL FIX: Resizers must have NO transition for smooth dragging */
.resizer-v {
    width: 6px;
    background: var(--bg-dark);
    cursor: col-resize;
    z-index: 20;
    flex: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    /* NO transition here - prevents drag lag */
}
.resizer-h {
    height: 6px;
    background: var(--bg-dark);
    cursor: row-resize;
    z-index: 20;
    flex: none;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    /* NO transition here - prevents drag lag */
}
.resizer-v:hover, .resizer-h:hover, .resizer-active {
    background: var(--accent);
}

/* CRITICAL FIX: During active resize, disable ALL transitions */
body.resizing * {
    transition: none !important;
}
body.resizing .panel,
body.resizing .timeline-panel,
body.resizing .viewport {
    transition: none !important;
    will-change: auto !important;
}

.overlay-info {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(15, 17, 20, 0.8);
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    pointer-events: none;
    color: var(--text-main);
    font-size: 11px;
    border: 1px solid var(--border);
}

#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 17, 20, 0.92);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#exportCanvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -100;
    opacity: 0;
    pointer-events: none;
}

.playback-controls {
    display: flex;
    gap: 5px;
    align-items: center;
}
.loop-checkbox {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    font-size: 11px;
}
