:root{
    --primary-color: rgb(58,79,105);
    --secundary-color: rgb(157,167,180);
    --thir-color: rgb(233,95,133);
    --primary-color-hover: rgb(30, 50, 75);
    --secundary-color-hover:rgb(110, 116, 124);
}

/* ==== Modal estilos ==== */
.modal_recorte .modal{
    background-color: rgba(0, 0, 0, 0.247);
    backdrop-filter: blur(0px);
    position: fixed;
    z-index: 999;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 150ms ease-in-out;
    overflow: auto;
    padding: 20px;
}
.modal_recorte .modal-content{
    width: 90vw;
    margin: auto;
    background-color: rgb(250, 250, 250);
    border-radius: 10px;
    overflow: hidden;
    transform: scale(0.9);
    opacity: 0;
    transition: 400ms 300ms all ease;
}

.modal_recorte .modal-content .modal-header p {
    padding: 0;
    margin: 0;
}

.modal_recorte .modal-content .modal-header{
    width: 100%;
    background-color: rgb(249,249,249);
    box-shadow: 0px -2px 7px 1px rgba(0, 0, 0, 0.281);
    font-size: 2rem;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.modal_recorte .modal-content .modal-body{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    padding: 18px 10px;
}
.modal_recorte .modal-body .content-imagen-cropper{
    width: 80%;
    height: 400px;
    padding: 5px;
    outline: 1px solid var(--thir-color);
}
.modal_recorte .content-imagen-cropper .img-cropper{
    width: 100%;
}
.modal_recorte .modal-body .content-imagen-sample{
    width: 200px;
    height: 200px;
    border-radius: 100px;
    outline: 3px solid var(--thir-color);
    overflow: hidden;
    margin: auto;
}
.modal_recorte .modal-body .content-imagen-sample .img-sample{
    height: 100%;
    width: 100%;
}
.modal_recorte .modal-content .modal-footer{
    width: 100%;
    padding: 10px 10px;
    background-color: rgb(249,249,249);
    box-shadow: 0px 2px 7px 1px rgba(0, 0, 0, 0.281);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
}
/* .modal_recorte .modal-footer .btn{
    border: none;
    padding: 12px 70px;
    border-radius: 5px;
    font-size: 15px;
    cursor: pointer;
    color: #fff;
    transition: background-color 300ms ease;
} */
.modal_recorte .modal-footer .primary{
    background-color: var(--primary-color);
}
.modal_recorte .modal-footer .secundary{
    background-color: var(--secundary-color);
}
.modal_recorte .modal-footer .primary:hover{
    background-color: var(--primary-color-hover);
}
.modal_recorte .modal-footer .secundary:hover{
    background-color: var(--secundary-color-hover);
}

/* ==== Modal estilos active ==== */

.modal_recorte .modal.active{
    opacity: 1;
    backdrop-filter: blur(3px);
    visibility: visible;
}
.modal_recorte .modal-content.active{
    transform: scale(1);
    opacity: 1;
}
.modal_recorte .modal.remove{
    opacity: 0;
    backdrop-filter: blur(0px);
    visibility: hidden;
    transition: 150ms 150ms all ease-in-out;
}
.modal_recorte .modal-content.remove{
    transform: scale(0.9);
    opacity: 0;
    transition: 150ms all ease;
}

@media screen and (max-width: 1200px) {
    .modal_recorte .modal-content{
        width: 100%;
    }
    .modal_recorte .content-imagen-sample{
        display: none;
    }
    .modal_recorte .modal-body .content-imagen-cropper{
        width: 100%;
    }
    .modal_recorte .modal-content .modal-footer{
        flex-direction: column;
        gap: 5px;
    }
    .modal_recorte .modal-footer .btn{
        width: 100%;
    }
}

@media only screen and (max-width:600px) {
    .modal_recorte bottom {
        width: 100% !important;
    }

    .modal_recorte .modal-header p {
        color: #020455;
        font-size: 16px;
        padding: 12px !important;
    }
}
