/* Scoped integration styles; Inbank renders its own calculator and modal. */
.apg-inbank-calculator{width:100%;max-width:100%;min-width:0;contain:inline-size;}
.apg-inbank-calculator[hidden]{display:none!important;}
.apg-inbank-widget{width:100%;max-width:100%;min-width:0;}
.apg-inbank-status{margin:8px 0;font:400 12px/1.5 Arial,sans-serif;color:#777;}
.apg-inbank-status[hidden]{display:none!important;}

/* Shop typography for both desktop and mobile; keep the calculator geometry. */
    .apg-inbank-calculator .inbank-packaged-container .inbank-monthlyPayment-text,
    .apg-inbank-calculator .inbank-packaged-container .inbank-input-label,
    .apg-inbank-calculator .inbank-packaged-container .inbank-ghost-select,
    .apg-inbank-calculator .inbank-packaged-container .inbank-ghost-select-value,
    .apg-inbank-calculator .inbank-packaged-container .ib-modal-button,
    .apg-inbank-calculator .inbank-packaged-container .inbank-scrolling_text{
        font-family:'Montserrat',Arial,sans-serif!important;
    }
    .apg-inbank-calculator .inbank-packaged-container .inbank-monthlyPayment-text{
        font-size:12px!important;
        font-weight:500!important;
        letter-spacing:.1px!important;
    }
    .apg-inbank-calculator .inbank-packaged-container .inbank-input-label,
    .apg-inbank-calculator .inbank-packaged-container .inbank-ghost-select,
    .apg-inbank-calculator .inbank-packaged-container .inbank-ghost-select-value{
        font-size:12px!important;
        font-weight:500!important;
        letter-spacing:normal!important;
    }
    .apg-inbank-calculator .inbank-packaged-container .ib-modal-button{
        font-size:10px!important;
        font-weight:600!important;
        letter-spacing:.7px!important;
        text-transform:uppercase;
    }
    .apg-inbank-calculator .inbank-packaged-container .inbank-scrolling_text{
        font-size:11px!important;
        font-weight:400!important;
        letter-spacing:normal!important;
    }

/* Keep a dedicated space for the arrow, separate from the selected period. */
.apg-inbank-calculator .inbank-packaged-container .inbank-middle-layer .arrow-inbank-drop-down{
    min-width:0;
    padding-left:6px!important;
    padding-right:24px!important;
}
.apg-inbank-calculator .inbank-packaged-container .inbank-middle-layer .inbank-ghost-select-value{
    min-width:0;
    text-align:center;
    white-space:nowrap;
    pointer-events:none;
}
.apg-inbank-calculator .inbank-packaged-container .inbank-middle-layer .inbank-select-arrow-down{
    position:absolute;
    top:50%!important;
    right:8px!important;
    width:14px!important;
    height:14px!important;
    transform:translateY(-50%);
    pointer-events:none;
}
.apg-inbank-calculator .inbank-packaged-container .inbank-middle-layer .inbank-input-label{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    line-height:1.2!important;
    padding:0 6px!important;
}
@media (max-width:991px){
    .apg-inbank-calculator .inbank-packaged-container .ib-modal-button{
        font-size:11px!important;
        letter-spacing:.35px!important;
    }
    /* This transparent native select remains comfortable to use on a phone. */
    .apg-inbank-calculator .inbank-packaged-container .inbank-ghost-select{
        font-size:16px!important;
    }
}
