.image-preview-widget {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.image-preview-live {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.image-preview-live label {
    font-weight: 600;
    margin: 0 4px 0 0;
}

.image-preview-live img {
    border: 1px solid #d5d5d5;
    border-radius: 6px;
    box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.15);
}

.image-preview-live .image-preview-edit {
    margin-left: auto;
    height: 32px;
}

.image-preview-live .image-preview-edit[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

.image-cropper-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1090;
}

.image-cropper-modal.is-active {
    display: flex;
}

.image-cropper-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 24, 31, 0.55);
}

.image-cropper-dialog {
    position: relative;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 720px;
    width: 90%;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.image-cropper-header,
.image-cropper-footer {
    padding: 12px 16px;
    border-bottom: 1px solid #ececec;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.image-cropper-header {
    border-bottom: 1px solid #ececec;
}

.image-cropper-footer {
    border-top: 1px solid #ececec;
}

.image-cropper-body {
    padding: 12px 16px;
    max-height: 480px;
    max-width: 90%;
}

.image-cropper-body img {
    width: 100%;
    max-height: 480px;
}

.image-cropper-close {
    font-size: 18px;
    line-height: 18px;
    padding: 4px 10px;
}

body.image-cropper-modal-open {
    overflow: hidden;
}
.cropper-view-box,
.cropper-face {
    border-radius: 50%;
}
