/* waifu-wars/css/assetMover.css - Styles for the in-app dev tool */

body.asset-mover-active * {
    cursor: pointer !important;
}
body.asset-mover-active button:not(#asset-mover-save-btn) {
    pointer-events: none;
}


#asset-mover-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(100, 150, 255, 0.1);
    z-index: 1000;
    pointer-events: none;
}

#asset-mover-save-btn {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1002;
}

#selection-box {
    position: absolute;
    border: 2px dashed #00ffff;
    box-sizing: border-box;
    pointer-events: none;
    z-index: 1001;
}

.handle {
    position: absolute;
    background: #00ffff;
    border: 1px solid #ffffff;
    box-sizing: border-box;
    pointer-events: auto;
}

.handle.move {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: transparent;
    border: none;
    cursor: move;
}

.handle.resize-tl,
.handle.resize-tr,
.handle.resize-bl,
.handle.resize-br,
.handle.resize-t,
.handle.resize-b,
.handle.resize-l,
.handle.resize-r {
    width: 12px;
    height: 12px;
}

.handle.resize-tl { top: -6px; left: -6px; cursor: nwse-resize; }
.handle.resize-tr { top: -6px; right: -6px; cursor: nesw-resize; }
.handle.resize-bl { bottom: -6px; left: -6px; cursor: nesw-resize; }
.handle.resize-br { bottom: -6px; right: -6px; cursor: nwse-resize; }

.handle.resize-t { top: -6px; left: 50%; transform: translateX(-50%); cursor: ns-resize; }
.handle.resize-b { bottom: -6px; left: 50%; transform: translateX(-50%); cursor: ns-resize; }
.handle.resize-l { left: -6px; top: 50%; transform: translateY(-50%); cursor: ew-resize; }
.handle.resize-r { right: -6px; top: 50%; transform: translateY(-50%); cursor: ew-resize; }


.handle.rotate {
    width: 12px;
    height: 12px;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    cursor: grab;
}
.handle.rotate:active {
    cursor: grabbing;
}
#selection-box::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 14px;
    background: #00ffff;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
}