/* ==========================================================================
   Digital loan flow pages — scroll + shared layout fixes
   ========================================================================== */

html.flow-scroll,
body.flow-page {
    height: auto !important;
    max-height: none !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

body.flow-page {
    display: block !important;
}

body.flow-page .otp-wrap,
body.emi-page .emi-main,
body.apr-page .apr {
    overflow: visible !important;
}

@media (min-width: 1025px) {
    html.flow-scroll,
    body.flow-page {
        height: auto !important;
        max-height: none !important;
        overflow-y: auto !important;
    }

    body.flow-page .otp-wrap {
        flex: none !important;
        align-items: stretch !important;
        padding-block: 56px 64px !important;
        min-height: auto !important;
    }

    body.flow-page .otp-visual__img {
        max-width: 500px;
        min-height: 480px;
        max-height: min(640px, 75vh);
    }

    body.flow-page .details-visual {
        min-height: 420px !important;
    }
}

body.emi-page {
    min-height: 100vh;
}

body.emi-page .emi-main {
    padding-bottom: 48px;
}

body.apr-page {
    min-height: 100vh;
}

body.apr-page .apr {
    padding-bottom: 48px;
}

button.cta {
    width: 100%;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}

button.cta:disabled {
    opacity: 0.7;
    cursor: wait;
}
