.elementor-2274 .elementor-element.elementor-element-df9ffac{--display:flex;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--align-items:center;}.elementor-2274 .elementor-element.elementor-element-745efea{width:var( --container-widget-width, 60.806% );max-width:60.806%;--container-widget-width:60.806%;--container-widget-flex-grow:0;}.elementor-2274 .elementor-element.elementor-element-745efea.elementor-element{--flex-grow:0;--flex-shrink:0;}#elementor-popup-modal-2274{background-color:rgba(0,0,0,.8);justify-content:center;align-items:center;pointer-events:all;}#elementor-popup-modal-2274 .dialog-message{width:640px;height:auto;}#elementor-popup-modal-2274 .dialog-close-button{display:flex;}#elementor-popup-modal-2274 .dialog-widget-content{box-shadow:2px 8px 23px 3px rgba(0,0,0,0.2);}/* Start custom CSS *//* Fondo interno del popup */
.elementor-popup-modal .dialog-message {
    padding: 30px !important;
    background: #EDEAF1 !important;
    border-radius: 12px;
}

/* Contenedor principal */
.calculadora-imc {
    max-width: 380px;
    margin: auto;
    font-family: "Exo", Sans-serif;
    color: #522E8F;
}

/* Títulos */
.calculadora-imc h3 {
    margin-bottom: 15px;
    font-size: 24px;
    color: #522E8F;
    font-weight: 700;
    text-align: center;
}

/* Labels */
.calculadora-imc label {
    font-weight: 600;
    margin-top: 15px;
    display: block;
    color: #522E8F;
}

/* Grupo de campos */
.campo-grupo {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

/* Inputs y selects */
.campo-grupo input,
.campo-grupo select {
    width: 100%;
    padding: 10px;
    font-size: 15px;
    border-radius: 6px;
    border: 2px solid #522E8F;
    background: white;
    color: #522E8F;
    font-family: "Exo", Sans-serif;
}

/* Botón */
.btn-calcular {
    width: 100%;
    margin-top: 20px;
    padding: 14px;
    background: #EA008A;
    color: #fff;
    border-radius: 6px;
    border: none;
    font-size: 17px;
    cursor: pointer;
    font-family: "Exo", Sans-serif;
    font-weight: 600;
    transition: 0.2s ease;
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important; /* elimina el fondo celeste */
}

.btn-calcular:hover {
    background: #522E8F;
}

/* Resultado */
.resultado {
    margin-top: 18px;
    font-weight: 700;
    font-size: 17px;
    color: #522E8F;
    text-align: center;
}


/* =============================== */
/* 📱 RESPONSIVE PARA CELULARES   */
/* =============================== */
@media (max-width: 480px) {

    .elementor-popup-modal .dialog-message {
        padding: 20px !important;
    }

    .calculadora-imc {
        max-width: 100%;
    }

    /* Apilar inputs y select */
    .campo-grupo {
        flex-direction: column;
    }

    /* Botón más grande y táctil */
    .btn-calcular {
        font-size: 18px;
        padding: 16px;
    }

    .calculadora-imc h3 {
        font-size: 22px;
    }
}

/* Estilo del cierre del popup */
.elementor-popup-modal .elementor-popup-modal-close {
    color: #EA008A !important;
    font-size: 28px !important;
    right: 15px !important;
    top: 15px !important;
}/* End custom CSS */