
/* .cropper-container-custom {
    width: 100%;
    height: 420px;
    overflow: hidden;
    background-color: #f1f3f5;
} */

.cropper-container-custom {
    width: 100%;
}

.cropper-container-custom img {
    display: block;
    max-width: 100%;
    width: 100%;
    max-height: 100%;
}

/* #imageCropperModal .cropper-view-box,
#imageCropperModal .cropper-face {
    border-radius: 0;
} */

#imageCropperModal .cropper-view-box {
    outline: 2px solid #0d6efd;
    outline-color: rgba(13, 110, 253, 0.9);
}

#imageCropperModal .cropper-line,
#imageCropperModal .cropper-point {
    background-color: #0d6efd;
}

#imageCropperModal .modal-body {
    overflow: hidden;
}







/* .cropper-stage {
    position: relative;
    width: 100%;
    height: min(55vh, 520px);
    min-height: 300px;
    overflow: hidden;
    background: #f1f3f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cropper-stage img {
    display: block;
    max-width: 100%;
    width: 100%;
    max-height: 100%;
}

.cropper-stage .cropper-container {
    width: 100%;
    height: 100%;
} */












.cropper-stage {
    position: relative;
    width: 100%;
    height: min(55vh, 520px);
    min-height: 300px;
    overflow: hidden;
    background: #f1f3f5;
}

.cropper-stage img {
    display: block;
    max-width: 100%;
    max-height: 100%;
}

.cropper-stage .cropper-container {
    width: 100%;
    height: 100%;
}

.cropper-controls {
    position: relative;
    z-index: 10;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.cropper-controls button {
    position: relative;
    z-index: 11;
}






/* Recorte quadrado (padrão) */
.cropper-stage .cropper-view-box,
.cropper-stage .cropper-face {
    border-radius: 0;
}

/* Recorte circular */
.cropper-stage.cropper-circle .cropper-view-box,
.cropper-stage.cropper-circle .cropper-face {
    border-radius: 50%;
}









@media (max-width: 576px) {
    .cropper-container-custom {
        height: 320px;
    }
}
