.profile-image-editor__main {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

.profile-image-editor__preview {
    width: 96px;
    height: 96px;
    flex: 0 0 96px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 3px solid #fff;
    border-radius: 50%;
    background: #eef1f4;
    color: #6c757d;
    box-shadow: 0 0 0 1px rgba(23, 36, 51, .14), 0 6px 18px rgba(23, 36, 51, .12);
    font-size: 2rem;
}

.profile-image-editor__preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-image-editor__actions {
    min-width: 0;
}

.profile-image-editor__help,
.profile-image-editor__status {
    margin-top: .45rem;
    color: #6c757d;
    font-size: .82rem;
    line-height: 1.35;
}

.profile-image-editor__status {
    margin-top: .15rem;
}

.profile-image-editor__status.is-ready {
    color: #198754;
    font-weight: 600;
}

.profile-image-editor__status.is-error {
    color: #b02a37;
    font-weight: 600;
}

.profile-image-editor__stage {
    position: relative;
    width: 100%;
    height: min(58vh, 520px);
    min-height: 320px;
    overflow: hidden;
    background: #18212b;
}

.profile-image-editor__stage img {
    display: block;
    max-width: 100%;
}

.profile-image-editor__stage .cropper-view-box,
.profile-image-editor__stage .cropper-face {
    border-radius: 50%;
}

.profile-image-editor__toolbar {
    display: flex;
    justify-content: center;
    gap: .5rem;
    margin-top: 1rem;
}

.profile-image-editor__toolbar .btn {
    width: 42px;
    height: 42px;
    padding: 0;
}

@media (max-width: 575.98px) {
    .profile-image-editor__main {
        align-items: flex-start;
    }

    .profile-image-editor__preview {
        width: 80px;
        height: 80px;
        flex-basis: 80px;
    }

    .profile-image-editor__stage {
        height: 52vh;
        min-height: 280px;
    }

    .profile-image-editor__modal .modal-body {
        padding: .75rem;
    }
}
