/* Container Modal */
.containerModalIdioma {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    left: 0px;
    top: 0px;
    background-color: rgba(0, 0, 0, .4);
    color: #fff;
    width: 100%;
    height: 100dvh;
    opacity: 0;
    pointer-events: none;
    transition: .3s;
    z-index: 9999 !important;
    font-weight: 500;
}

.containerModalIdioma.open {
    opacity: 1;
    pointer-events: all;
}

/* Modal Idioma */
.modalIdioma {
    position: relative;
    display: flex;
    flex-direction: column;
    max-width: 400px;
    width: 90%;
    background-color: #0E223B;
    border: 1px solid #123F77;
    border-radius: 20px;
    overflow: hidden;
    padding: 20px;
}

.modalIdioma .buttonClose {
    position: absolute;
    right: 10px;
    top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    z-index: 9;
    transition: .3s;
    cursor: pointer;
    color: #23C3E2;
    transition: .3s;
    background-color: rgba(255, 255, 255, .05);
    width: 34px;
    height: 34px;
    border-radius: 8px;
    transition: .3s;
}

.modalIdioma .buttonClose:hover {
    background-color: #23C3E2;
    color: #0E223B;
}

.modalIdioma .iconIdioma {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.modalIdioma .iconIdioma img {
    width: 30px;
    height: 24px;
}

.modalIdioma .iconIdioma svg {
    height: 24px;
    fill: white;
}

.modalIdioma .areaTitle {
    margin-top: 8px;
    font-weight: 600;
    font-size: 20px;
    line-height: 120%;
    letter-spacing: 0%;
    text-align: center;
    color: rgba(255, 255, 255, 1);
}

.modalIdioma .areaSubtitle {
    margin-top: 6px;
    font-weight: 400;
    font-size: 14px;
    line-height: 120%;
    letter-spacing: 0%;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

.modalIdioma .areaIdioma {
    margin-top: 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.modalIdioma .areaIdioma div {
    border: 2px solid transparent;
    border-radius: 10px;
    position: relative;
    cursor: pointer;
    transition: border-color 0.3s ease, border-radius 0.3s ease;
}


.modalIdioma .areaIdioma div img {
    position: relative;
    object-fit: contain;
    border-radius: 10px;
    width: 132px;
    height: auto;
}

.modalIdioma .areaIdioma div.selected {
    border: 2px solid rgba(35, 195, 226, 1);
    border-radius: 10px;
}

.modalIdioma .areaIdioma div.selected::after {
    content: '';
    position: absolute;
    top: -10px;
    right: -8px;
    width: 19px;
    height: 19px;
    background-color: rgba(35, 195, 226, 1);
    border-radius: 50%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px 12px;
    z-index: 2;
    
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='white' d='M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z'/%3E%3C/svg%3E");
}

@media (max-width: 768px) {

    .modalIdioma {
        max-width: 700px;
        width: 100%;
        max-height: 100%;
        height: 100%;
        border-radius: 0px;
    }

    .modalIdioma .areaTitle {
        margin-top: 200px;
    }

}