/* mt_pagarme — estilos do challenge 3DS (Stone 3ds-nx-js).
 * Os iframes dentro dos containers são gerenciados pela lib; só estilizamos por fora. */

#mtPagarmeTdsMethod {
    display: none;
}

#mtPagarmeTdsChallenge iframe {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;
    height: 600px;
    max-height: 90vh;
    border: 0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
    z-index: 99999;
}

/* Overlay escurecido enquanto a autenticação/challenge está ativa. */
#mtPagarmeTdsOverlay {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(15, 23, 42, .55);
    z-index: 99990;
}

#mtPagarmeTdsOverlay.mt-pagarme-tds-visible {
    display: block;
}

#mtPagarmeTdsOverlay .mt-pagarme-tds-overlay-msg {
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    max-width: calc(100% - 32px);
    padding: 10px 18px;
    border-radius: 10px;
    background: #1f2937;
    color: #fff;
    font: 600 14px/1.4 Arial, Helvetica, sans-serif;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
}
