#addmoney-sec #am-step-3 #pay-method-logo {
    width: 68px;
    height: 68px;
}

@media (max-width: 640px) {
    #addmoney-sec #am-step-3 #pay-method-logo {
        width: 72px;
        height: 72px;
    }
}

@media (min-width: 768px) {
    main:has(> #addmoney-sec:not(.hidden)) {
        justify-content: center;
    }

    #addmoney-sec {
        width: 100%;
        max-width: 100%;
        flex: 1 1 100%;
        margin-right: auto;
        margin-left: auto;
    }

    #addmoney-sec .addmoney-amount-screen {
        width: min(100%, 760px);
        margin-right: auto;
        margin-left: auto;
        padding: 2.5rem 1.5rem 2rem;
    }

    #addmoney-sec .addmoney-amount-panel {
        width: 100%;
        padding: 2rem 2.25rem;
        border-radius: 1.25rem;
    }

    #addmoney-sec .addmoney-amount-heading {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    #addmoney-sec .addmoney-amount-icon {
        width: 3rem;
        height: 3rem;
        font-size: 1.2rem;
    }

    #addmoney-sec .addmoney-amount-heading h2 {
        font-size: 1.35rem;
    }

    #addmoney-sec .addmoney-amount-heading p {
        font-size: 0.85rem;
    }

    #addmoney-sec .addmoney-amount-form {
        max-width: 560px;
        margin: 0 auto;
        gap: 0.65rem;
    }

    #addmoney-sec .addmoney-amount-label {
        font-size: 0.9rem;
    }

    #addmoney-sec .addmoney-amount-input {
        min-height: 3.6rem;
        padding: 0.85rem 1rem;
        border-radius: 0.75rem;
        font-size: 1.15rem;
    }

    #addmoney-sec #am-step-2 {
        width: 100%;
    }

    #addmoney-sec .addmoney-method-panel,
    #addmoney-sec .addmoney-tutorial-panel {
        width: 100%;
        margin-right: auto;
        margin-left: auto;
    }

    #addmoney-sec .addmoney-method-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }

    #addmoney-sec .addmoney-method-grid .instant-method-card {
        min-height: 8rem;
        gap: 0.65rem;
        padding: 1rem;
        border-width: 1px;
        border-radius: 1rem;
        transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
    }

    #addmoney-sec .addmoney-method-grid .instant-method-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 24px rgba(2, 8, 20, 0.28);
    }

    #addmoney-sec .addmoney-method-grid .instant-method-card:focus-visible {
        outline: 3px solid rgba(125, 211, 252, 0.7);
        outline-offset: 3px;
    }

    #addmoney-sec .addmoney-method-grid .instant-method-logo {
        width: 8rem;
        height: 3rem;
    }

    #addmoney-sec .addmoney-method-grid .instant-method-card span {
        font-size: 0.9rem;
        font-weight: 700;
    }

    #addmoney-sec .addmoney-method-grid [data-payment-method="bkash"] {
        --provider-accent: #e2136e;
        border-color: rgba(226, 19, 110, 0.35);
        background: linear-gradient(145deg, rgba(63, 20, 48, 0.82), rgba(16, 36, 58, 0.94));
    }

    #addmoney-sec .addmoney-method-grid [data-payment-method="nagad"] {
        --provider-accent: #f07b16;
        border-color: rgba(240, 123, 22, 0.38);
        background: linear-gradient(145deg, rgba(67, 42, 20, 0.82), rgba(16, 36, 58, 0.94));
    }

    #addmoney-sec .addmoney-method-grid [data-payment-method="rocket"] {
        --provider-accent: #a347b2;
        border-color: rgba(163, 71, 178, 0.4);
        background: linear-gradient(145deg, rgba(51, 29, 63, 0.86), rgba(16, 36, 58, 0.94));
    }

    #addmoney-sec .addmoney-method-grid [data-payment-method].selected {
        border: 2px solid var(--provider-accent, #38bdf8);
        background-color: rgba(16, 36, 58, 0.98);
        box-shadow: 0 0 0 3px color-mix(in srgb, var(--provider-accent, #38bdf8) 22%, transparent), 0 12px 26px rgba(2, 8, 20, 0.28);
    }

    #am-step-checkout .addmoney-checkout-methods {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }

    #am-step-checkout .addmoney-checkout-method {
        width: 100%;
        min-height: 6.5rem;
        border-radius: 1rem;
        background: linear-gradient(145deg, #fff, #f5f8fc);
        box-shadow: 0 5px 14px rgba(15, 23, 42, 0.08);
        transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
    }

    #am-step-checkout .addmoney-checkout-method:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 22px rgba(15, 23, 42, 0.14);
    }

    #am-step-checkout .addmoney-checkout-method[data-payment-method="bkash"] {
        --provider-accent: #e2136e;
    }

    #am-step-checkout .addmoney-checkout-method[data-payment-method="nagad"] {
        --provider-accent: #f07b16;
    }

    #am-step-checkout .addmoney-checkout-method[data-payment-method="rocket"] {
        --provider-accent: #8c3494;
    }

    #am-step-checkout .addmoney-checkout-method.selected {
        border: 2px solid var(--provider-accent, #0753b9);
        background: color-mix(in srgb, var(--provider-accent, #0753b9) 7%, white);
        box-shadow: 0 0 0 3px color-mix(in srgb, var(--provider-accent, #0753b9) 16%, transparent), 0 8px 18px rgba(15, 23, 42, 0.12);
    }

    #am-step-checkout .addmoney-checkout-method img {
        max-height: 3.5rem;
    }
}

#addmoney-sec #am-step-3,
#addmoney-sec #am-step-3.payment-theme-bkash,
#addmoney-sec #am-step-3.payment-theme-nagad,
#addmoney-sec #am-step-3.payment-theme-rocket {
    align-items: center;
    padding: 1rem;
    background-color: #060b16 !important;
    background-image:
        radial-gradient(ellipse at 14% 8%, rgba(37, 99, 235, 0.3), transparent 36%),
        radial-gradient(ellipse at 88% 32%, rgba(8, 145, 178, 0.19), transparent 35%),
        radial-gradient(ellipse at 48% 100%, rgba(79, 70, 229, 0.13), transparent 46%),
        linear-gradient(180deg, #060b16 0%, #0b1424 48%, #050a14 100%) !important;
    background-size: auto !important;
}

#addmoney-sec #am-step-3 .addmoney-payment-panel {
    max-width: 434px;
    padding: 1rem;
    border-color: #e2eaf5;
    border-radius: 0.5rem;
    box-shadow: 0 8px 24px rgba(49, 83, 133, 0.12);
}

#addmoney-sec #am-step-3 .addmoney-payment-toolbar {
    height: 2.15rem;
}

#addmoney-sec #am-step-3 .addmoney-payment-brand {
    min-height: 3.25rem;
    margin: 0.55rem 0;
}

#addmoney-sec #am-step-3 #pay-method-logo {
    width: 4.25rem;
    height: 4.25rem;
}

#addmoney-sec #am-step-3 .addmoney-payment-summary {
    gap: 0.5rem;
    margin-bottom: 0.45rem;
}

#addmoney-sec #am-step-3 .addmoney-payment-store,
#addmoney-sec #am-step-3 .addmoney-payment-amount {
    min-height: 3.6rem;
    padding: 0.45rem 0.55rem;
    border-color: #e6edf6;
    border-radius: 0.5rem;
    background: #fff;
}

#addmoney-sec #am-step-3 .addmoney-payment-store img {
    width: 2rem;
    height: 2rem;
}

#addmoney-sec #am-step-3 .addmoney-payment-store strong {
    font-size: 0.72rem;
}

#addmoney-sec #am-step-3 .addmoney-payment-store span {
    font-size: 0.58rem;
}

#addmoney-sec #am-step-3 .addmoney-payment-amount {
    min-width: 6.25rem;
}

#addmoney-sec #am-step-3 .addmoney-payment-amount strong {
    font-size: 0.95rem;
}

#addmoney-sec #am-step-3 #payment-theme-card {
    margin: 0.4rem 0 0.55rem;
    padding: 0.8rem 0.9rem;
    border-radius: 0.4rem;
    box-shadow: none;
}

#addmoney-sec #am-step-3 #pay-trx-heading {
    margin-bottom: 0.55rem;
    padding-bottom: 0.5rem;
    font-size: 0.82rem;
}

#addmoney-sec #am-step-3 #pay-trx-input {
    min-height: 2.1rem;
    padding: 0.35rem 0.55rem;
    font-size: 0.72rem;
}

#addmoney-sec #am-step-3 .addmoney-payment-steps {
    gap: 0;
    margin-top: 0.3rem;
}

#addmoney-sec #am-step-3 .addmoney-payment-steps > p,
#addmoney-sec #am-step-3 .addmoney-payment-steps > .addmoney-recipient-instruction {
    padding: 0.38rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

#addmoney-sec #am-step-3 .addmoney-payment-steps p {
    font-size: 0.62rem;
    line-height: 1.5;
}

#addmoney-sec #am-step-3 .addmoney-payment-steps > p::before,
#addmoney-sec #am-step-3 .addmoney-recipient-instruction::before {
    content: "\2022";
    flex: 0 0 auto;
    margin-right: 0.35rem;
    color: #fff;
}

#addmoney-sec #am-step-3 .addmoney-recipient-instruction {
    gap: 0.3rem;
    white-space: nowrap;
}

#addmoney-sec #am-step-3 .addmoney-recipient-instruction > p {
    min-width: 0;
    font-size: 0.58rem;
}

#addmoney-sec #am-step-3 .addmoney-recipient-number {
    gap: 0.35rem;
}

#addmoney-sec #am-step-3 .addmoney-recipient-number strong {
    font-size: 0.78rem;
}

#addmoney-sec #am-step-3 .addmoney-recipient-number button {
    padding: 0.22rem 0.42rem;
    font-size: 0.58rem;
}

#addmoney-sec #am-step-3 .addmoney-verify-button {
    min-height: 2.2rem;
    border-radius: 0.4rem;
    font-size: 0.75rem;
}

@media (max-width: 640px) {
    #addmoney-sec #am-step-3,
    #addmoney-sec #am-step-3.payment-theme-bkash,
    #addmoney-sec #am-step-3.payment-theme-nagad,
    #addmoney-sec #am-step-3.payment-theme-rocket {
        align-items: safe center;
        padding: max(0.65rem, env(safe-area-inset-top)) 0.65rem max(0.65rem, env(safe-area-inset-bottom));
    }

    #addmoney-sec #am-step-3 .addmoney-payment-panel {
        max-width: 434px;
        padding: 0.75rem;
    }

    #addmoney-sec #am-step-3 .addmoney-payment-brand {
        min-height: 3.75rem;
    }

    #addmoney-sec #am-step-3 #pay-method-logo {
        width: 4.5rem;
        height: 4.5rem;
    }

    #addmoney-sec #am-step-3 #payment-theme-card {
        padding: 0.7rem 0.75rem;
    }

    #addmoney-sec #am-step-3 .addmoney-payment-steps > p,
    #addmoney-sec #am-step-3 .addmoney-payment-steps > .addmoney-recipient-instruction {
        padding: 0.34rem 0;
    }

    #addmoney-sec #am-step-3 .addmoney-payment-steps p {
        font-size: 0.64rem;
    }

    #addmoney-sec #am-step-3 .addmoney-recipient-instruction > p {
        font-size: 0.55rem;
    }
}

@media (max-width: 359px) {
    #addmoney-sec #am-step-3 .addmoney-payment-steps p {
        font-size: 0.58rem;
    }

    #addmoney-sec #am-step-3 .addmoney-recipient-instruction > p {
        font-size: 0.46rem;
    }

    #addmoney-sec #am-step-3 .addmoney-recipient-number {
        gap: 0.2rem;
    }

    #addmoney-sec #am-step-3 .addmoney-recipient-number strong {
        font-size: 0.66rem;
    }

    #addmoney-sec #am-step-3 .addmoney-recipient-number button {
        padding: 0.18rem 0.3rem;
        font-size: 0.5rem;
    }
}

@media (max-width: 640px) {
    #addmoney-sec #am-step-3,
    #addmoney-sec #am-step-3.payment-theme-bkash,
    #addmoney-sec #am-step-3.payment-theme-nagad,
    #addmoney-sec #am-step-3.payment-theme-rocket {
        align-items: flex-start;
        overflow-y: auto;
        padding: max(0.75rem, env(safe-area-inset-top)) 0.75rem max(0.75rem, env(safe-area-inset-bottom));
    }

    #addmoney-sec #am-step-3 .addmoney-payment-panel {
        width: 100%;
        max-width: 480px;
        margin: auto;
        padding: clamp(0.85rem, 4vw, 1.25rem);
    }

    #addmoney-sec #am-step-3 .addmoney-payment-store strong {
        font-size: 0.95rem;
    }

    #addmoney-sec #am-step-3 .addmoney-payment-store span {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    #addmoney-sec #am-step-3 .addmoney-payment-amount strong {
        font-size: 1.15rem;
    }

    #addmoney-sec #am-step-3 #payment-theme-card {
        padding: clamp(0.85rem, 4vw, 1.1rem);
    }

    #addmoney-sec #am-step-3 #pay-trx-heading {
        font-size: 1.1rem;
        line-height: 1.5;
    }

    #addmoney-sec #am-step-3 #pay-trx-input {
        min-height: 3rem;
        font-size: 1rem;
    }

    #addmoney-sec #am-step-3 .addmoney-payment-steps {
        gap: 0;
        margin-top: 0.6rem;
    }

    #addmoney-sec #am-step-3 .addmoney-payment-steps p {
        font-size: 1rem;
        line-height: 1.6;
    }

    #addmoney-sec #am-step-3 .addmoney-recipient-instruction {
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 0.35rem 0.5rem;
        overflow: visible;
        white-space: normal;
    }

    #addmoney-sec #am-step-3 .addmoney-recipient-instruction > p {
        flex: 1 1 100%;
        min-width: 0;
        font-size: 0.95rem;
        line-height: 1.55;
    }

    #addmoney-sec #am-step-3 .addmoney-recipient-number {
        flex-wrap: wrap;
        margin-left: 1.2rem;
    }

    #addmoney-sec #am-step-3 .addmoney-recipient-number strong {
        font-size: 1rem;
    }

    #addmoney-sec #am-step-3 .addmoney-recipient-number button {
        min-height: 2.5rem;
        padding: 0.4rem 0.65rem;
        font-size: 0.9rem;
    }

    #addmoney-sec #am-step-3 .addmoney-verify-button {
        min-height: 3rem;
        font-size: 1rem;
    }

    #addmoney-sec #am-step-3.payment-theme-bkash .addmoney-payment-brand {
        min-height: 6rem;
    }

    #addmoney-sec #am-step-3.payment-theme-bkash #pay-method-logo {
        width: 6rem;
        height: 6rem;
    }

    #addmoney-sec #am-step-3.payment-theme-bkash .addmoney-recipient-number strong {
        padding: 0.2rem 0.55rem;
        border: 1px solid rgba(157, 23, 77, 0.12);
        border-radius: 0.45rem;
        background: #fff;
        box-shadow: 0 2px 6px rgba(83, 12, 48, 0.14);
        color: #9d174d;
    }

}

#addmoney-sec #am-step-3 .addmoney-recipient-instruction {
    position: relative;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    padding-left: 1.15rem;
    white-space: normal;
}

#addmoney-sec #am-step-3 .addmoney-recipient-instruction::before {
    position: absolute;
    top: 0.15em;
    left: 0;
    margin: 0;
}

#addmoney-sec #am-step-3 .addmoney-recipient-instruction > p {
    flex: 1 1 100%;
    width: 100%;
    font-size: 0.72rem;
    line-height: 1.5;
}

#addmoney-sec #am-step-3 .addmoney-recipient-number {
    flex: 0 1 auto;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

#addmoney-sec #am-step-3 .addmoney-recipient-number strong,
#addmoney-sec #am-step-3.payment-theme-bkash .addmoney-recipient-number strong,
#addmoney-sec #am-step-3.payment-theme-nagad .addmoney-recipient-number strong,
#addmoney-sec #am-step-3.payment-theme-rocket .addmoney-recipient-number strong {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #ffe14a;
    font-size: 0.95rem;
    line-height: 1.4;
    white-space: nowrap;
}

#addmoney-sec #am-step-3 .addmoney-recipient-number button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-height: 0;
    padding: 0.24rem 0.55rem;
    border-color: rgba(255, 255, 255, 0.42);
    border-radius: 0.3rem;
    background: rgba(0, 0, 0, 0.16);
    color: #fff;
    font-size: 0.72rem;
    line-height: 1.35;
}

.app-update-notice {
    position: fixed;
    top: max(1rem, env(safe-area-inset-top));
    right: max(1rem, env(safe-area-inset-right));
    z-index: 1100;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: calc(100vw - 2rem);
    padding: 0.75rem 1rem;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 0.75rem;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
    color: #172033;
    font-family: 'Noto Serif Bengali', serif;
    font-size: 0.875rem;
}

.app-update-notice[hidden] {
    display: none;
}

.app-update-notice button {
    flex: 0 0 auto;
    padding: 0.5rem 0.75rem;
    border: 0;
    border-radius: 0.5rem;
    background: #2563eb;
    color: #fff;
    font: inherit;
    font-size: 0.8rem;
    cursor: pointer;
}

.pwa-install-banner {
    position: fixed;
    left: 50%;
    bottom: max(1rem, calc(env(safe-area-inset-bottom) + 0.75rem));
    z-index: 1200;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto 32px;
    align-items: center;
    gap: 0.75rem;
    width: min(520px, calc(100vw - 2rem));
    padding: 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.32);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.28);
    color: #172033;
    transform: translateX(-50%);
    font-family: 'Poppins', sans-serif;
}

.pwa-install-banner[hidden] {
    display: none;
}

.pwa-install-banner > img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
}

.pwa-install-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    line-height: 1.35;
}

.pwa-install-copy strong {
    font-size: 0.9rem;
}

.pwa-install-copy span {
    margin-top: 0.15rem;
    color: #64748b;
    font-family: 'Noto Serif Bengali', serif;
    font-size: 0.78rem;
}

.pwa-install-button {
    height: 40px;
    border: 0;
    border-radius: 0.65rem;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    padding: 0 1rem;
    font-weight: 700;
    cursor: pointer;
}

.pwa-install-close {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    cursor: pointer;
}

@media (max-width: 480px) {
    .pwa-install-banner {
        bottom: max(5.25rem, calc(env(safe-area-inset-bottom) + 5.25rem));
        grid-template-columns: 42px minmax(0, 1fr) auto 28px;
        gap: 0.55rem;
        width: min(360px, calc(100vw - 1.5rem));
        padding: 0.65rem;
    }

    .pwa-install-banner > img {
        width: 42px;
        height: 42px;
    }

    .pwa-install-button {
        height: 38px;
        padding: 0 0.75rem;
    }

    .pwa-install-close {
        width: 28px;
        height: 28px;
    }

    .pwa-install-copy span {
        max-width: 180px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 767px) {
    .pwa-install-banner {
        bottom: max(5.25rem, calc(env(safe-area-inset-bottom) + 5.25rem));
    }
}

@media (max-width: 480px) {
    .app-update-notice {
        right: max(0.5rem, env(safe-area-inset-right));
        left: max(0.5rem, env(safe-area-inset-left));
        justify-content: space-between;
        gap: 0.5rem;
        max-width: none;
        padding: 0.65rem 0.75rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 640px) {
    html.route-preload-checkout body,
    html.route-preload-payment body {
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior-y: auto;
    }

    html.route-preload-checkout #addmoney-sec > #am-step-checkout,
    html.route-preload-payment #addmoney-sec > #am-step-checkout {
        padding: 0 !important;
        overflow-y: auto !important;
        overscroll-behavior-y: auto;
        background-color: #f2f7ff !important;
        background-image:
            radial-gradient(circle at 1px 1px, transparent 8px, rgba(125, 161, 211, 0.12) 8.5px, transparent 9.5px),
            radial-gradient(circle at 10px 10px, transparent 8px, rgba(125, 161, 211, 0.1) 8.5px, transparent 9.5px) !important;
        background-size: 20px 20px !important;
    }

    #addmoney-sec > #am-step-checkout:not(.hidden) {
        align-items: stretch;
        justify-content: flex-start;
        padding: 0 !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior-y: auto;
        background-color: #f2f7ff !important;
        background-image:
            radial-gradient(circle at 1px 1px, transparent 8px, rgba(125, 161, 211, 0.12) 8.5px, transparent 9.5px),
            radial-gradient(circle at 10px 10px, transparent 8px, rgba(125, 161, 211, 0.1) 8.5px, transparent 9.5px) !important;
        background-size: 20px 20px !important;
    }

    #am-step-checkout .addmoney-checkout-panel {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: none;
        height: 100%;
        min-height: 100dvh;
        margin: 0;
        padding: 2rem 0.75rem 0;
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    #am-step-checkout .addmoney-checkout-toolbar {
        flex: 0 0 3rem;
        width: 100%;
        max-width: 360px;
        height: 3rem;
        margin: 0 auto;
        padding: 0 0.65rem;
        border: 1px solid #e2eaf5;
        border-radius: 0.65rem;
        background: #fff;
        box-shadow: 0 0.35rem 0.9rem rgba(61, 91, 139, 0.08);
    }

    #am-step-checkout .addmoney-checkout-toolbar button {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }

    #am-step-checkout .addmoney-checkout-brand {
        flex: 0 0 auto;
        flex-direction: column;
        justify-content: center;
        gap: 0.75rem;
        min-height: 0;
        margin: 0.4rem auto 0;
        text-align: center;
    }

    #am-step-checkout .addmoney-checkout-brand img {
        flex: 0 0 6rem;
        width: 6rem;
        height: 6rem;
        padding: 0.25rem;
        border: 1px solid #60a5fa;
        background: #fff;
        box-shadow: 0 0 0 0.2rem rgba(96, 165, 250, 0.12);
    }

    #am-step-checkout .addmoney-checkout-brand h2 {
        align-self: center;
        margin: 0;
        color: #5b7698;
        font-size: 1.25rem;
        font-weight: 700;
        text-align: center;
    }

    #am-step-checkout .addmoney-checkout-links {
        flex: 0 0 auto;
        justify-content: center;
        gap: 1.1rem;
        margin: 0.95rem auto 1rem;
    }

    #am-step-checkout .addmoney-checkout-links button {
        display: grid;
        flex: 0 0 3rem;
        width: 3rem;
        min-width: 3rem;
        height: 3rem;
        min-height: 3rem;
        padding: 0;
        place-items: center;
        gap: 0;
        border: 0;
        border-radius: 0.7rem;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 0.25rem 0.8rem rgba(47, 89, 146, 0.1);
        color: #718bab;
        font-size: 1.2rem;
    }

    #am-step-checkout .addmoney-checkout-links button span {
        display: none;
    }

    #am-step-checkout .addmoney-checkout-heading {
        flex: 0 0 auto;
        margin: 0 0 1rem;
        padding: 0.6rem 0.7rem;
        border-radius: 0.45rem;
        background: #0753b9;
        font-size: 1rem;
    }

    #am-step-checkout .addmoney-checkout-details:not([hidden]) {
        flex: 0 0 auto;
    }

    #am-step-checkout .addmoney-checkout-methods {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.9rem 1.1rem;
        justify-content: center;
        margin: 0 auto auto;
        width: 100%;
    }

    #addmoney-sec > #am-step-checkout:not(.hidden) .addmoney-checkout-panel {
        width: 100%;
        max-width: none;
        margin: 0;
        padding-bottom: calc(4rem + env(safe-area-inset-bottom));
    }

    #am-step-checkout .addmoney-checkout-method {
        width: 100%;
        min-height: 4.5rem;
        padding: 0.6rem;
        border: 1px solid #d6e5fb;
        border-radius: 0.6rem;
        background: rgba(255, 255, 255, 0.42);
    }

    #am-step-checkout .addmoney-checkout-method.selected,
    #am-step-checkout .addmoney-checkout-method:focus-visible {
        border: 1px solid #93c5fd;
        background: rgba(255, 255, 255, 0.8);
        box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.12);
    }

    #am-step-checkout .addmoney-checkout-method img {
        max-width: 100%;
        max-height: 3.5rem;
    }

    #am-step-checkout .addmoney-checkout-pay {
        flex: 0 0 auto;
        position: fixed;
        bottom: 0;
        left: 50%;
        z-index: 1001;
        width: 100vw;
        max-width: none;
        min-height: calc(4rem + env(safe-area-inset-bottom));
        margin: 0;
        transform: translateX(-50%);
        padding: 0.8rem 1rem calc(0.8rem + env(safe-area-inset-bottom));
        border-radius: 1rem 1rem 0 0;
        background: #d5e5ff;
        color: #075cc5;
        font-size: 1rem;
    }

    #am-step-checkout .addmoney-checkout-panel {
        padding-top: 0;
    }

    #am-step-checkout .addmoney-checkout-brand h2 {
        font-size: 1.3rem;
    }

    #addmoney-sec #am-step-3 .addmoney-payment-store strong {
        font-size: 0.95rem;
    }

    #addmoney-sec #am-step-3 .addmoney-payment-store span {
        font-size: 0.8rem;
    }

    #addmoney-sec #am-step-3 #pay-invoice-number {
        font-size: 0.78rem;
        overflow-wrap: anywhere;
    }

    #addmoney-sec #am-step-3 .addmoney-payment-amount strong {
        font-size: 1.15rem;
    }

    #addmoney-sec #am-step-3 #pay-trx-heading {
        font-size: 1.15rem;
    }

    #addmoney-sec #am-step-3 #pay-trx-input {
        font-size: 1rem;
    }

    #addmoney-sec #am-step-3 .addmoney-payment-steps p {
        font-size: 1rem;
        line-height: 1.6;
    }

    #addmoney-sec #am-step-3 .addmoney-recipient-instruction > p {
        font-size: 0.95rem;
        line-height: 1.55;
    }

    #addmoney-sec #am-step-3 .addmoney-recipient-number strong {
        font-size: 1.05rem;
    }

    #addmoney-sec #am-step-3 .addmoney-recipient-number button {
        font-size: 0.85rem;
    }

    #addmoney-sec #am-step-3 .addmoney-verify-button {
        font-size: 1rem;
    }

    #am-step-checkout .addmoney-checkout-links button {
        min-height: 3rem;
        gap: 0.45rem;
        padding: 0 0.55rem;
        font-size: 1rem;
        white-space: normal;
    }

    #am-step-checkout .addmoney-checkout-heading {
        font-size: 1.2rem;
    }

    #am-step-checkout .addmoney-checkout-details div {
        font-size: 1rem;
    }

    #am-step-checkout .addmoney-checkout-pay {
        min-height: 3.25rem;
        font-size: 1.1rem;
    }
}

#addmoney-sec #am-step-3 .addmoney-payment-brand {
    min-height: 9rem;
}

#addmoney-sec #am-step-3 #pay-method-logo {
    width: 10rem;
    height: 7rem;
}

@media (max-width: 640px) {
    #addmoney-sec #am-step-3,
    #addmoney-sec #am-step-3.payment-theme-bkash,
    #addmoney-sec #am-step-3.payment-theme-nagad,
    #addmoney-sec #am-step-3.payment-theme-rocket,
    #addmoney-sec > #am-step-3:not(.hidden),
    html.route-preload-payment #addmoney-sec > #am-step-3 {
        align-items: flex-start !important;
        padding: max(2rem, env(safe-area-inset-top)) 0.75rem max(1rem, env(safe-area-inset-bottom)) !important;
        background-color: #eff6ff !important;
        background-image: url('/images/addmoneybaground.webp') !important;
        background-position: center top;
        background-repeat: repeat;
        background-size: 700px auto !important;
    }

    #addmoney-sec #am-step-3 .addmoney-payment-panel,
    #addmoney-sec > #am-step-3:not(.hidden) .addmoney-payment-panel {
        width: 100% !important;
        max-width: 360px !important;
        margin: 0 auto;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    #addmoney-sec #am-step-3 .addmoney-payment-toolbar {
        height: 3rem;
        padding: 0 0.65rem;
        border-color: #e2eaf5;
        border-radius: 0.65rem;
        background: #fff;
        box-shadow: 0 0.35rem 0.9rem rgba(61, 91, 139, 0.08);
    }

    #addmoney-sec #am-step-3 .addmoney-payment-brand {
        min-height: 6rem;
        margin: 0.35rem 0 0.65rem;
    }

    #addmoney-sec #am-step-3 #pay-method-logo,
    #addmoney-sec #am-step-3.payment-theme-bkash #pay-method-logo,
    #addmoney-sec #am-step-3.payment-theme-nagad #pay-method-logo,
    #addmoney-sec #am-step-3.payment-theme-rocket #pay-method-logo {
        width: 11rem !important;
        height: 5rem !important;
    }

    #addmoney-sec #am-step-3 .addmoney-payment-summary {
        grid-template-columns: minmax(0, 1fr);
    }

    #addmoney-sec #am-step-3 .addmoney-payment-store {
        min-height: 5.5rem;
        gap: 0.85rem;
        padding: 0.75rem 1rem;
    }

    #addmoney-sec #am-step-3 .addmoney-payment-store img {
        width: 3.5rem;
        height: 3.5rem;
    }

    #addmoney-sec #am-step-3 .addmoney-payment-store strong {
        font-size: 1rem;
    }

    #addmoney-sec #am-step-3 .addmoney-payment-store span {
        font-size: 0.85rem;
    }

    #addmoney-sec #am-step-3 .addmoney-payment-amount {
        min-height: 3.5rem;
        flex-direction: row;
        justify-content: flex-start;
        padding: 0.7rem 0.85rem;
    }

    #addmoney-sec #am-step-3 .addmoney-payment-amount strong {
        font-size: 1.25rem;
    }
}

@media (max-width: 640px) {
    #addmoney-sec > #am-step-checkout:not(.hidden),
    html.route-preload-checkout #addmoney-sec > #am-step-checkout {
        background-color: #eff6ff !important;
        background-image: url('/images/addmoneybaground.webp') !important;
        background-position: center top;
        background-repeat: repeat;
        background-size: 700px auto !important;
    }
}

@media (min-width: 641px) {
    #addmoney-sec > #am-step-checkout:not(.hidden),
    html.route-preload-checkout #addmoney-sec > #am-step-checkout,
    #addmoney-sec > #am-step-3:not(.hidden),
    html.route-preload-payment #addmoney-sec > #am-step-3 {
        background-color: #eff6ff !important;
        background-image: url('/images/addmoneybaground.webp') !important;
        background-position: center top;
        background-repeat: repeat;
        background-size: 700px auto !important;
    }
}
