.form-modal-general {
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1040;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(0px);
}


.form-modal-general.show {
    animation: fadeIn 0.5s ease-out forwards;
}

.form-modal-general.exit {
    animation: fadeOut 0.5s ease-out forwards;
}

.form-modal-general .custom-container {
    height: 95%;
    width: 1000px;
    padding: 0;
    border: 1px solid rgb(255, 255, 255);
    background-color: rgba(0, 0, 0, 0.9) !important;
    border-radius: 10px;
    padding: 20px;
}

.form-modal-general .custom-container .col-6 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.form-modal-general .custom-container .input-layout-contorno {
    width: 370px;
    border: 1px solid rgb(255, 255, 255);
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
}

.form-modal-general .custom-container input {
    color: aliceblue;
    font-size: small;
}

.form-modal-general .custom-container textarea {
    margin-top: 20px;
    width: 100%;
}

.form-modal-general .custom-container .container-border {
    width: 350px;
    height: 350px;
    border: 2px dashed white;
    background: #181818;
    overflow: hidden;
}

.form-modal-general .custom-container .container-border .img-container {
    width: 400px;
    height: 400px;
    background: #181818;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-modal-general .custom-container .container-border .img-container img {
    width: 100%;
    height: auto;
    /* ✅ Mantiene relación de aspecto */
    object-fit: contain;
    transform: translate(0, 0) scale(1);
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(0px);
    }

    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
        transform: translateY(0px);
    }

    100% {
        opacity: 0;
        transform: translateY(0px);
    }
}