.modal {
    background-color: rgba(0, 0, 0, 0.4);
    /* background-color: rgba(220, 220, 220, 0.877); */
    top: 50%;
    transform: translateY(-50%);
}

.modal-dialog {
    border-radius: var(--rem-3);
    border-top-left-radius: var(--rem-3);
    border-top-right-radius: var(--rem-3);
    border: none;
}

.modal-content {
    border: none;
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.3);
    border-radius: var(--rem-3);

    max-height: 90vh;
}

.modal-body {
    padding: 28px 32px;

    /* max-height: calc(80vh - 100px);  */
    overflow-y: auto; 
}

.modal-body.modal-text {
    max-height: 400px;
    overflow-y: auto;
}

.modal-header {
    padding: 28px 32px;
    border-top-left-radius: var(--rem-3);
    border-top-right-radius: var(--rem-3);
    border: none;
    background: no-repeat;
    background-position: center;
    background-size: cover;
}

.modal-title {
    font-size: 16pt;
    color: var(--akaya-negro);
    font-family: "CircularStd-Bold";
}

.modal-subtitle-bold {
    font-size: 12pt;
    color: var(--akaya-gris-oscuro);
    font-family: "CircularStd-Bold";
}

.modal-text {
    font-size: 12pt;
    color: var(--akaya-gris-oscuro);
}


.modal-header-64 {
    height: 64px;
}

.modal-header-128 {
    height: 128px;
}



.modal-footer {
    padding: var(--rem-7) var(--rem-8);
    border-top: none;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    display: block;
}


.image-left-modal {
    z-index: 1;
    position: absolute;
    transform: translate(calc(0% - 16px), -50%);
}

.image-up-modal {
    z-index: -1;
    position: absolute;
    transform: translate(50%, -70%);
    width: 50%;
}


.padding-left-modal {
    margin-left: 150px;
    padding-left: 120px;
}

.button-modal {
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25) !important;
}

.close {

    position: absolute;
    top: -17px;
    right: -18px;
    z-index: 1050;
    opacity: 1;
}

.next-modal {
    position: absolute;
    top: -17px;
    right: 30px;
    z-index: 1050;
    opacity: 1;
}

.prev-modal {
    position: absolute;
    top: -17px;
    right: 75px;
    z-index: 1050;
    opacity: 1;
}

.close:hover,
.close:focus {
    opacity: 1;
}

.close:not(:disabled):not(.disabled):focus,
.close:not(:disabled):not(.disabled):hover {
    opacity: 1;
}


.modal-labels::before {
    content: "";
    position: absolute;
    top: 19%;
    left: 50%;
    width: 40%;
    height: 40%;
    background: url("../img/Vanna-labels.png") center center no-repeat;
    pointer-events: none;
    background-size: contain;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.modal-expanded {
    max-height: 80vh; /* Ajusta la altura */
}