.image-cropper {
    position: relative;
    width: 100%;
    max-width: 400px;
    line-height: 0;
    user-select: none;
    touch-action: none;
}

.image-cropper__ghost {
    display: block;
    width: 100%;
    height: auto;
    opacity: 0.3;
    border-radius: 3px;
}

.image-cropper__window {
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.7), 0 0 0 2px rgba(0, 0, 0, 0.3);
    border-radius: 3px;
}

.image-cropper--draggable .image-cropper__window {
    cursor: grab;
}

.image-cropper--draggable .image-cropper__window:active {
    cursor: grabbing;
}

.image-cropper__crop {
    display: block;
    height: auto;
    pointer-events: none;
}

.image-cropper__hint {
    line-height: normal;
    margin-top: 0.4rem;
    font-size: 0.8rem;
    color: #777;
    text-align: center;
}

.image-cropper:not(.image-cropper--draggable) .image-cropper__hint {
    display: none;
}
