/* Retiro bancario · modal centrado y cierre alineado en tablet. */
@media (min-width: 681px) and (max-width: 1024px),
       (min-width: 1025px) and (max-width: 1366px) and (pointer: coarse) and (min-height: 500px) {
    html body #pvf-shell#pvf-shell #pv-modal-retiro.pv-modal-overlay {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
        padding: 16px !important;
    }

    html body #pvf-shell#pvf-shell #pv-modal-retiro .rv-retiro-modal {
        position: relative !important;
        box-sizing: border-box !important;
        width: min(660px, calc(100vw - 32px)) !important;
        max-width: 660px !important;
        max-height: calc(100dvh - 32px) !important;
        margin: auto !important;
    }

    html body #pvf-shell#pvf-shell #pv-modal-retiro .rv-retiro-head {
        position: relative !important;
        align-items: center !important;
        min-height: 72px !important;
        padding-right: 66px !important;
    }

    html body #pvf-shell#pvf-shell #pv-modal-retiro .rv-retiro-head-copy {
        min-width: 0 !important;
        padding-right: 0 !important;
    }

    html body #pvf-shell#pvf-shell #pv-modal-retiro .rv-retiro-head .pv-modal-close[aria-label="Cerrar"] {
        position: absolute !important;
        z-index: 25 !important;
        top: 50% !important;
        right: 16px !important;
        bottom: auto !important;
        left: auto !important;
        display: grid !important;
        place-items: center !important;
        box-sizing: border-box !important;
        width: 36px !important;
        min-width: 36px !important;
        max-width: 36px !important;
        height: 36px !important;
        min-height: 36px !important;
        max-height: 36px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 1px solid #DED8EE !important;
        border-radius: 10px !important;
        background: #FFFFFF !important;
        color: transparent !important;
        font-size: 0 !important;
        line-height: 1 !important;
        box-shadow: 0 4px 11px rgba(61, 48, 99, .07) !important;
        transform: translateY(-50%) !important;
    }

    html body #pvf-shell#pvf-shell #pv-modal-retiro .rv-retiro-head .pv-modal-close[aria-label="Cerrar"]::before {
        content: "" !important;
        position: absolute !important;
        inset: 0 !important;
        display: block !important;
        width: 14px !important;
        height: 14px !important;
        margin: auto !important;
        background:
            linear-gradient(45deg, transparent calc(50% - 1px), #7042ED calc(50% - 1px), #7042ED calc(50% + 1px), transparent calc(50% + 1px)),
            linear-gradient(-45deg, transparent calc(50% - 1px), #7042ED calc(50% - 1px), #7042ED calc(50% + 1px), transparent calc(50% + 1px)) !important;
        transform: none !important;
    }
}
