/* Canvas & Crop Viewport Styles */
.left-crop-viewport-box {
    width: 100%;
    height: 400px;
    background: #F8FAFC;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    user-select: none;
    border: 1px solid #E2E8F0;
}

.canvas-crop-frame-wrapper {
    position: relative;
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #000000;
    cursor: grab;
    touch-action: none;
}

.canvas-crop-frame-wrapper:active {
    cursor: grabbing;
}

#crop-canvas,
#step1-crop-canvas {
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.drag-adjust-pill-badge {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    color: #FFFFFF;
    font-size: 0.7rem;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    max-width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: opacity 0.25s ease;
    z-index: 10;
}

.canvas-crop-frame-wrapper:hover .drag-adjust-pill-badge {
    opacity: 0.25;
}
