.colorPicker {
    height: 2rem;
    width: 4rem;
    min-width: 4rem;
    min-height: 2rem;
    cursor: pointer;
    display: inline-flex;
}

.panel {
    display: flex;
    justify-content: left;
    flex-direction: row;
    align-items: center;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.panel>img {
    margin-left: 5px;
    margin-right: 5px;
}

.panel>input {
    margin-left: 1rem;
    margin-right: 1rem;
}

canvas {
    touch-action: none;
}

.selectorTool {
    height: 32px;
}

.gameBoard {
    width: 90%;
}

.gameContainer {
    margin-top: 1rem;
    position: relative;
}

.buttonTool {
    cursor: pointer;
    width: 32px;
}

.buttonToolText {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: 5px;
    margin-right: 5px;
}

.floatLayer {
    position: absolute;
    top: 0;
    left: 0;
    cursor: move;
    border: 2px dashed #007bff;
    box-sizing: border-box;
    display: flex;
    position: relative;
    z-index: 1000;
    touch-action: none;
}

.floatLayer img {
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.resizer {
    width: 16px;
    height: 16px;
    background: #007bff;
    position: absolute;
    right: -8px;
    bottom: -8px;
    cursor: nwse-resize;
    border-radius: 50%;
    border: 2px solid white;
    touch-action: none;
    z-index: 20;
}

.imageCloseBtn {
    position: absolute;
    top: -10px;
    right: -10px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 30;
}

.imageCloseBtn:hover {
    background: #ff4444;
    color: white;
}