.aml-checkout-modal[hidden] {
    display: none !important;
}

.aml-checkout-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.aml-checkout-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 14, 27, .78);
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
}

.aml-checkout-dialog {
    position: relative;
    width: min(100%, 720px);
    max-height: calc(100vh - 40px);
    overflow: auto;
    overscroll-behavior: contain;
    background: var(--bs-body-bg, #fff);
    color: inherit;
    border: 1px solid rgba(128,128,128,.18);
    border-radius: 26px;
    box-shadow:
        0 40px 120px rgba(0,0,0,.38),
        0 8px 30px rgba(0,0,0,.14);
    padding: 30px;
}

.aml-checkout-close {
    position: absolute;
    z-index: 3;
    top: 17px;
    right: 17px;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(128,128,128,.14);
    border-radius: 50%;
    background: rgba(128,128,128,.08);
    color: inherit;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    transition: .18s ease;
}

.aml-checkout-close:hover {
    transform: rotate(5deg);
    background: rgba(128,128,128,.15);
}

.aml-checkout-title {
    margin: 0 50px 5px 0;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -.025em;
}

.aml-checkout-hero {
    margin: 5px 0 24px;
}

.aml-checkout-eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    opacity: .68;
}

.aml-checkout-live-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: #18a97b;
    box-shadow: 0 0 0 5px rgba(24,169,123,.11);
}

.aml-checkout-subtitle {
    max-width: 560px;
    margin: 0;
    opacity: .64;
    line-height: 1.55;
    font-size: 14px;
}

.aml-checkout-packages {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 25px;
}

.aml-package {
    position: relative;
    min-width: 0;
    border: 1px solid rgba(128,128,128,.18);
    background: rgba(128,128,128,.035);
    color: inherit;
    border-radius: 18px;
    padding: 19px 16px 16px;
    cursor: pointer;
    text-align: left;
    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}

.aml-package:hover {
    transform: translateY(-2px);
    border-color: rgba(24,169,123,.42);
}

.aml-package.active {
    border-color: #18a97b;
    background: rgba(24,169,123,.055);
    box-shadow:
        0 0 0 3px rgba(24,169,123,.10),
        0 10px 28px rgba(0,0,0,.07);
}

.aml-package-badge {
    position: absolute;
    top: -10px;
    right: 11px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #18a97b;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .025em;
}

.aml-package-checks {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.aml-package-checks strong {
    font-size: 29px;
    line-height: 1;
    font-weight: 850;
    letter-spacing: -.04em;
}

.aml-package-checks small {
    font-size: 12px;
    opacity: .55;
}

.aml-package-price {
    display: block;
    margin-top: 18px;
    font-size: 20px;
    font-weight: 800;
}

.aml-package-unit {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    opacity: .5;
}

.aml-package-select {
    position: absolute;
    top: 17px;
    right: 15px;
    width: 19px;
    height: 19px;
    border: 1.5px solid rgba(128,128,128,.34);
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.aml-package-select span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.aml-package.active .aml-package-select {
    border-color: #18a97b;
}

.aml-package.active .aml-package-select span {
    background: #18a97b;
}

.aml-checkout-section-label {
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    opacity: .48;
}

.aml-checkout-method {
    display: flex;
    align-items: center;
    gap: 13px;
    border: 1px solid rgba(128,128,128,.16);
    border-radius: 16px;
    padding: 13px 15px;
    margin-bottom: 17px;
    background: rgba(128,128,128,.025);
}

.aml-method-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(38,161,123,.12);
    color: #18a97b;
    font-size: 22px;
    font-weight: 900;
}

.aml-method-main {
    min-width: 0;
    flex: 1;
}

.aml-method-main strong {
    display: block;
    font-size: 14px;
}

.aml-method-main span {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    opacity: .52;
}

.aml-method-state {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    opacity: .62;
}

.aml-method-state > span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #18a97b;
}

.aml-checkout-summary {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 17px;
    margin-bottom: 12px;
    border-radius: 15px;
    background: rgba(128,128,128,.06);
}

.aml-checkout-summary > div:last-child {
    text-align: right;
}

.aml-checkout-summary span {
    display: block;
    margin-bottom: 3px;
    font-size: 11px;
    opacity: .52;
}

.aml-checkout-summary strong {
    font-size: 14px;
}

.aml-checkout-create {
    width: 100%;
    min-height: 54px;
    border: 0;
    border-radius: 14px;
    background: #18a97b;
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(24,169,123,.18);
    transition: transform .18s ease, opacity .18s ease;
}

.aml-checkout-create:hover:not(:disabled) {
    transform: translateY(-1px);
}

.aml-checkout-create b {
    font-size: 19px;
}

.aml-checkout-create:disabled {
    opacity: .55;
    cursor: wait;
}

.aml-checkout-footnote,
.aml-payment-note {
    margin-top: 11px;
    text-align: center;
    font-size: 11px;
    line-height: 1.5;
    opacity: .47;
}

.aml-checkout-error {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(220,53,69,.10);
    color: #dc3545;
    font-size: 13px;
}

.aml-checkout-empty {
    padding: 28px 10px 10px;
    text-align: center;
}

.aml-checkout-empty-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: rgba(220,53,69,.1);
    color: #dc3545;
    font-weight: 900;
}

.aml-checkout-empty strong,
.aml-checkout-empty span {
    display: block;
}

.aml-checkout-empty span {
    margin-top: 5px;
    font-size: 13px;
    opacity: .55;
}

.aml-payment-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    margin: 4px 0 22px;
}

.aml-payment-head-title {
    font-size: 22px;
    font-weight: 850;
    letter-spacing: -.025em;
}

.aml-payment-network {
    padding: 7px 10px;
    border-radius: 9px;
    background: rgba(24,169,123,.1);
    color: #18a97b;
    font-size: 11px;
    font-weight: 800;
}

.aml-payment-progress {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.aml-payment-progress > i {
    height: 2px;
    flex: 1;
    margin: 14px 7px 0;
    background: rgba(128,128,128,.14);
}

.aml-payment-step {
    width: 62px;
    text-align: center;
}

.aml-payment-step > span {
    width: 29px;
    height: 29px;
    display: grid;
    place-items: center;
    margin: 0 auto 5px;
    border-radius: 50%;
    background: rgba(128,128,128,.09);
    font-size: 11px;
    font-weight: 800;
}

.aml-payment-step small {
    font-size: 10px;
    opacity: .46;
}

.aml-payment-step.active > span {
    background: #18a97b;
    color: #fff;
}

.aml-payment-step.active small {
    opacity: .9;
    font-weight: 700;
}

.aml-checkout-status {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 13px;
    border-radius: 12px;
    background: rgba(24,169,123,.08);
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 700;
}

.aml-status-pulse {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: #18a97b;
    box-shadow: 0 0 0 5px rgba(24,169,123,.10);
}

.aml-checkout-amount {
    position: relative;
    text-align: center;
    padding: 23px 18px 18px;
    border-radius: 18px;
    background: rgba(128,128,128,.055);
    margin-bottom: 11px;
}

.aml-checkout-amount-label {
    opacity: .5;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .055em;
    font-weight: 800;
}

.aml-checkout-amount-value {
    margin-top: 7px;
    font-size: clamp(30px, 6vw, 42px);
    font-weight: 900;
    letter-spacing: -.045em;
    word-break: break-word;
}

.aml-checkout-amount-value small {
    margin-left: 7px;
    font-size: 14px;
    letter-spacing: 0;
    opacity: .52;
}

.aml-amount-copy {
    margin-top: 11px;
    border: 1px solid rgba(128,128,128,.18);
    background: transparent;
    color: inherit;
    border-radius: 9px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
}

.aml-checkout-warning {
    padding: 11px 13px;
    border-radius: 12px;
    background: rgba(245,166,35,.09);
    font-size: 12px;
    line-height: 1.5;
    margin: 0 0 17px;
}

.aml-checkout-address {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(128,128,128,.17);
    border-radius: 14px;
    padding: 10px 10px 10px 13px;
}

.aml-checkout-address-value {
    min-width: 0;
    flex: 1;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    overflow-wrap: anywhere;
    font-size: 12px;
    line-height: 1.45;
}

.aml-address-copy {
    flex: 0 0 auto;
    border: 0;
    border-radius: 9px;
    background: rgba(128,128,128,.09);
    color: inherit;
    padding: 9px 11px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
}

.aml-checkout-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 11px;
}

.aml-checkout-meta > div {
    padding: 12px 13px;
    border-radius: 12px;
    background: rgba(128,128,128,.055);
}

.aml-checkout-meta small {
    display: block;
    opacity: .48;
    margin-bottom: 3px;
    font-size: 10px;
}

.aml-checkout-meta strong {
    font-size: 13px;
}

.aml-countdown {
    font-variant-numeric: tabular-nums;
}

.aml-checkout-success {
    text-align: center;
    padding: 28px 5px 10px;
}

.aml-checkout-success-mark {
    width: 66px;
    height: 66px;
    margin: 0 auto 15px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(24,169,123,.13);
    color: #18a97b;
    font-size: 32px;
}

body.aml-checkout-open {
    overflow: hidden;
}

@media (max-width: 600px) {
    .aml-checkout-modal {
        padding: 10px;
        align-items: flex-end;
    }

    .aml-checkout-dialog {
        width: 100%;
        max-height: calc(100vh - 20px);
        border-radius: 24px 24px 18px 18px;
        padding: 24px 16px 18px;
    }

    .aml-checkout-packages {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .aml-package {
        padding: 14px 15px;
    }

    .aml-package-checks strong {
        font-size: 24px;
    }

    .aml-package-price {
        position: absolute;
        right: 15px;
        bottom: 27px;
        margin: 0;
    }

    .aml-package-unit {
        text-align: right;
    }

    .aml-package-select {
        display: none;
    }

    .aml-package-badge {
        top: -7px;
    }

    .aml-checkout-address {
        display: block;
    }

    .aml-address-copy {
        width: 100%;
        margin-top: 9px;
    }

    .aml-checkout-meta {
        grid-template-columns: 1fr 1fr;
    }

    .aml-method-state {
        display: none;
    }
}

@media (max-width: 390px) {
    .aml-checkout-meta {
        grid-template-columns: 1fr;
    }

    .aml-checkout-summary {
        display: block;
    }

    .aml-checkout-summary > div:last-child {
        margin-top: 10px;
        text-align: left;
    }
}

/* AML checkout payment methods */

.aml-payment-methods {
    display: grid;
    gap: 8px;
    margin-bottom: 17px;
}

.aml-payment-methods .aml-checkout-method {
    width: 100%;
    margin-bottom: 0;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.aml-payment-methods .aml-checkout-method.active {
    border-color: rgba(24,169,123,.42);
    background: rgba(24,169,123,.035);
    box-shadow: 0 0 0 2px rgba(24,169,123,.055);
}

.aml-payment-methods .aml-checkout-method.disabled {
    cursor: not-allowed;
    opacity: .58;
}

.aml-method-soon {
    flex: 0 0 auto;
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(128,128,128,.10);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .02em;
}

.aml-method-icon-volet {
    font-family: inherit;
    font-size: 17px;
    font-weight: 900;
}

@media (max-width: 600px) {
    .aml-payment-methods .aml-checkout-method {
        padding: 12px;
    }

    .aml-method-soon {
        font-size: 9px;
    }
}


/* AML checkout compact premium v3 */

.aml-checkout-dialog {
    width: min(100%, 600px);
    max-height: calc(100vh - 28px);
    border-radius: 22px;
    padding: 22px;
}

.aml-checkout-close {
    top: 13px;
    right: 13px;
    width: 34px;
    height: 34px;
    font-size: 20px;
}

.aml-checkout-title {
    margin-right: 42px;
    font-size: 1.35rem;
}

.aml-checkout-hero {
    margin: 2px 0 16px;
}

.aml-checkout-eyebrow {
    margin-bottom: 5px;
    font-size: 10px;
}

.aml-checkout-subtitle {
    max-width: 500px;
    font-size: 12px;
    line-height: 1.45;
}

.aml-checkout-packages {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

.aml-package {
    min-height: 104px;
    border-radius: 14px;
    padding: 14px 13px 12px;
}

.aml-package:hover {
    transform: translateY(-1px);
}

.aml-package-checks strong {
    font-size: 23px;
}

.aml-package-checks small {
    font-size: 10px;
}

.aml-package-price {
    margin-top: 12px;
    font-size: 17px;
}

.aml-package-unit {
    font-size: 10px;
}

.aml-package-select {
    top: 13px;
    right: 12px;
    width: 16px;
    height: 16px;
}

.aml-package-select span {
    width: 7px;
    height: 7px;
}

.aml-package-badge {
    top: -7px;
    right: 9px;
    padding: 4px 7px;
    font-size: 8px;
}

.aml-package.unavailable {
    opacity: .64;
}

.aml-package-offline {
    position: absolute;
    right: 11px;
    bottom: 11px;
    padding: 3px 6px;
    border-radius: 999px;
    background: rgba(128,128,128,.11);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.aml-checkout-section-label {
    margin-bottom: 6px;
    font-size: 9px;
}

.aml-payment-methods {
    gap: 6px;
    margin-bottom: 11px;
}

.aml-payment-methods .aml-checkout-method {
    min-height: 58px;
    padding: 9px 11px;
    border-radius: 13px;
}

.aml-method-icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    font-size: 18px;
}

.aml-method-main strong {
    font-size: 13px;
}

.aml-method-main span {
    font-size: 10px;
}

.aml-checkout-summary {
    padding: 11px 13px;
    margin-bottom: 9px;
    border-radius: 12px;
}

.aml-checkout-summary span {
    font-size: 9px;
}

.aml-checkout-summary strong {
    font-size: 13px;
}

.aml-checkout-create {
    min-height: 46px;
    border-radius: 12px;
    font-size: 13px;
}

.aml-checkout-footnote,
.aml-payment-note {
    margin-top: 7px;
    font-size: 9px;
}

.aml-payment-head {
    margin: 2px 0 14px;
}

.aml-payment-head-title {
    font-size: 18px;
}

.aml-payment-network {
    padding: 5px 8px;
    font-size: 9px;
}

.aml-payment-progress {
    margin-bottom: 13px;
}

.aml-payment-step {
    width: 52px;
}

.aml-payment-step > span {
    width: 25px;
    height: 25px;
}

.aml-payment-progress > i {
    margin-top: 12px;
}

.aml-checkout-status {
    padding: 8px 10px;
    margin-bottom: 8px;
    font-size: 10px;
}

.aml-checkout-amount {
    padding: 15px 13px 12px;
    margin-bottom: 8px;
    border-radius: 14px;
}

.aml-checkout-amount-value {
    margin-top: 4px;
    font-size: clamp(26px, 5vw, 34px);
}

.aml-amount-copy {
    margin-top: 7px;
    padding: 6px 10px;
}

.aml-checkout-warning {
    padding: 8px 10px;
    margin-bottom: 10px;
    font-size: 10px;
}

.aml-checkout-address {
    padding: 8px 8px 8px 11px;
    border-radius: 11px;
}

.aml-checkout-address-value {
    font-size: 10px;
}

.aml-address-copy {
    padding: 7px 9px;
    font-size: 10px;
}

.aml-checkout-meta {
    gap: 7px;
    margin-top: 8px;
}

.aml-checkout-meta > div {
    padding: 9px 10px;
    border-radius: 10px;
}

.aml-checkout-meta small {
    font-size: 9px;
}

.aml-checkout-meta strong {
    font-size: 11px;
}

@media (max-width: 600px) {
    .aml-checkout-dialog {
        padding: 18px 14px 14px;
    }

    .aml-checkout-packages {
        grid-template-columns: repeat(2, 1fr);
        gap: 7px;
    }

    .aml-package {
        min-height: 96px;
        padding: 12px 11px 10px;
    }

    .aml-package-price {
        position: static;
        margin-top: 10px;
    }

    .aml-package-unit {
        text-align: left;
    }
}

@media (max-width: 390px) {
    .aml-checkout-packages {
        grid-template-columns: 1fr 1fr;
    }

    .aml-package-checks strong {
        font-size: 20px;
    }

    .aml-package-price {
        font-size: 15px;
    }
}


/* =========================================================
   AML CHECKOUT PAYMENT V8
   Compact business checkout
   ========================================================= */

.aml-checkout-dialog {
    width: min(94vw, 600px);
    max-width: 600px;
}

.aml-checkout-invoice {
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Header */

.aml-pay-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.aml-pay-title {
    margin-top: 4px;
    font-size: 22px;
    line-height: 1.15;
    font-weight: 750;
    letter-spacing: -.025em;
}

.aml-payment-network {
    flex: 0 0 auto;
}

/* Current status + timer */

.aml-pay-status-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.aml-checkout-status {
    min-width: 0;
    margin: 0;
}

.aml-pay-timer {
    min-width: 78px;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: right;
}

.aml-pay-timer small {
    display: block;
    margin-bottom: 2px;
    font-size: 9px;
    line-height: 1.2;
    opacity: .46;
}

.aml-pay-timer strong {
    display: block;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

/* 1 — 2 — 3 */

.aml-payment-progress {
    margin: 0 0 13px;
}

.aml-payment-step > span {
    width: 24px;
    height: 24px;
    font-size: 10px;
}

.aml-payment-step small {
    margin-top: 4px;
    font-size: 9px;
}

.aml-payment-progress > i {
    margin: 11px 7px 0;
}

/* Amount — primary information */

.aml-pay-amount-card {
    box-sizing: border-box;
    margin-bottom: 11px;
    padding: 14px 16px;
    border: 1px solid rgba(15, 23, 42, .09);
    border-radius: 12px;
    background: transparent;
}

.aml-pay-amount-label {
    margin-bottom: 5px;
    font-size: 9px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    opacity: .48;
}

.aml-pay-amount-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.aml-pay-amount-value {
    min-width: 0;
    font-size: 31px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.035em;
}

.aml-pay-amount-value span {
    margin-left: 6px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
    opacity: .58;
}

.aml-pay-copy-small {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 7px 11px;
    border: 1px solid rgba(15, 23, 42, .10);
    border-radius: 8px;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 11px;
    font-weight: 650;
    cursor: pointer;
}

.aml-pay-copy-small:hover {
    background: rgba(15, 23, 42, .035);
}

.aml-pay-exact {
    margin-top: 6px;
    font-size: 10px;
    line-height: 1.3;
    opacity: .48;
}

/* QR + payment details */

.aml-pay-details {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 15px;
    box-sizing: border-box;
    padding: 14px;
    border: 1px solid rgba(15, 23, 42, .09);
    border-radius: 12px;
    background: transparent;
}

.aml-pay-qr-side,
.aml-pay-wallet-side {
    min-width: 0;
}

.aml-pay-section-title {
    margin-bottom: 7px;
    font-size: 9px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .065em;
    opacity: .48;
}

.aml-payment-qr {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 124px;
    height: 124px;
    box-sizing: border-box;
    padding: 6px;
    overflow: hidden;
    border: 0;
    border-radius: 8px;
    background: #fff;
}

.aml-payment-qr svg {
    display: block;
    width: 100%;
    height: 100%;
}

.aml-payment-qr-note {
    width: 124px;
    margin-top: 5px;
    font-size: 9px;
    line-height: 1.3;
    text-align: center;
    opacity: .42;
}

.aml-pay-wallet-side {
    display: flex;
    flex-direction: column;
}

.aml-pay-field {
    margin-bottom: 7px;
    padding: 9px 10px;
    border: 1px solid rgba(15, 23, 42, .075);
    border-radius: 8px;
    background: rgba(15, 23, 42, .018);
}

.aml-pay-field small {
    display: block;
    margin-bottom: 3px;
    font-size: 9px;
    opacity: .46;
}

.aml-pay-field strong {
    display: block;
    font-size: 12px;
}

.aml-pay-address-field {
    flex: 1 1 auto;
}

.aml-pay-address {
    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Monaco,
        Consolas,
        monospace;
    font-size: 11px;
    line-height: 1.45;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.aml-pay-copy-address {
    width: 100%;
    min-height: 34px;
    border: 1px solid rgba(15, 23, 42, .10);
    border-radius: 8px;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.aml-pay-copy-address:hover {
    background: rgba(15, 23, 42, .035);
}

/* Important */

.aml-pay-warning {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: start;
    gap: 9px;
    margin-top: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(15, 23, 42, .09);
    border-radius: 10px;
    background: transparent;
}

.aml-pay-warning-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    box-sizing: border-box;
    border: 1px solid rgba(15, 23, 42, .18);
    border-radius: 50%;
    font-size: 10px;
    line-height: 1;
    font-weight: 800;
}

.aml-pay-warning div {
    min-width: 0;
}

.aml-pay-warning strong {
    display: block;
    margin-bottom: 2px;
    font-size: 10px;
    line-height: 1.25;
    font-weight: 750;
}

.aml-pay-warning span:not(.aml-pay-warning-icon) {
    display: block;
    font-size: 10px;
    line-height: 1.4;
    opacity: .58;
}

/* Bottom */

.aml-pay-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px;
    align-items: stretch;
    gap: 9px;
    margin-top: 10px;
}

.aml-pay-package {
    padding: 8px 11px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 9px;
    background: transparent;
}

.aml-pay-package small {
    display: block;
    margin-bottom: 2px;
    font-size: 9px;
    opacity: .46;
}

.aml-pay-package strong {
    display: block;
    font-size: 11px;
}

.aml-pay-cancel {
    min-width: 0;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid rgba(190, 55, 55, .18);
    border-radius: 9px;
    background: rgba(190, 55, 55, .035);
    color: inherit;
    font: inherit;
    font-size: 11px;
    font-weight: 650;
    cursor: pointer;
    opacity: .68;
    transition:
        opacity .15s ease,
        background .15s ease,
        border-color .15s ease;
}

.aml-pay-cancel:hover {
    opacity: 1;
    background: rgba(190, 55, 55, .06);
    border-color: rgba(190, 55, 55, .28);
}

.aml-pay-cancel:disabled {
    opacity: .38;
    cursor: default;
}

.aml-payment-note {
    margin-top: 8px;
    text-align: center;
    font-size: 9px;
    line-height: 1.35;
    opacity: .40;
}

/* Confirmation — selected variant #2 */

.aml-confirmation-status {
    width: 100%;
    box-sizing: border-box;
}

.aml-confirmation-dots {
    padding: 10px 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.aml-confirmation-dots-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.aml-confirmation-dots-head > div {
    min-width: 0;
}

.aml-confirmation-dots-head strong {
    display: block;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 700;
}

.aml-confirmation-dots-head span {
    display: block;
    margin-top: 3px;
    font-size: 10px;
    line-height: 1.3;
    opacity: .48;
}

.aml-confirmation-dots-head b {
    flex: 0 0 auto;
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.aml-confirmation-dots-track {
    display: grid;
    grid-template-columns: repeat(20, 1fr);
    align-items: center;
    gap: 5px;
    width: 100%;
    margin-top: 9px;
}

.aml-confirmation-dot {
    display: block;
    width: 6px;
    height: 6px;
    justify-self: center;
    border-radius: 50%;
    background: rgba(15, 23, 42, .11);
    transition:
        background .22s ease,
        transform .22s ease;
}

.aml-confirmation-dot.is-active {
    background: #10182d;
    transform: scale(1.15);
}

/* Responsive */

@media (max-width: 620px) {
    .aml-checkout-modal {
        padding: 8px;
    }

    .aml-checkout-dialog {
        width: 100%;
        max-width: 100%;
        max-height: calc(100dvh - 16px);
        overflow-y: auto;
    }

    .aml-checkout-invoice {
        max-width: none;
    }

    .aml-pay-title {
        font-size: 20px;
    }

    .aml-pay-details {
        grid-template-columns: 122px minmax(0, 1fr);
        gap: 12px;
        padding: 12px;
    }

    .aml-payment-qr {
        width: 114px;
        height: 114px;
    }

    .aml-payment-qr-note {
        width: 114px;
    }

    .aml-pay-amount-value {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .aml-pay-top {
        gap: 10px;
        margin-bottom: 10px;
    }

    .aml-pay-title {
        font-size: 18px;
    }

    .aml-pay-status-row {
        gap: 8px;
        margin-bottom: 10px;
    }

    .aml-payment-progress {
        margin-bottom: 11px;
    }

    .aml-pay-amount-card {
        padding: 12px 13px;
    }

    .aml-pay-amount-value {
        font-size: 26px;
    }

    .aml-pay-amount-value span {
        font-size: 12px;
    }

    .aml-pay-details {
        display: block;
        padding: 13px;
    }

    .aml-pay-qr-side {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 13px;
    }

    .aml-pay-qr-side .aml-pay-section-title {
        align-self: flex-start;
        width: 100%;
    }

    .aml-payment-qr {
        width: 140px;
        height: 140px;
    }

    .aml-payment-qr-note {
        width: auto;
    }

    .aml-pay-wallet-side .aml-pay-section-title {
        margin-top: 0;
    }

    .aml-pay-address {
        text-align: center;
    }

    .aml-pay-bottom {
        grid-template-columns: 1fr;
    }

    .aml-pay-cancel {
        width: 100%;
    }

    .aml-confirmation-dots {
        padding: 8px 4px;
    }

    .aml-confirmation-dots-track {
        gap: 3px;
    }

    .aml-confirmation-dot {
        width: 5px;
        height: 5px;
    }
}

@media (max-width: 360px) {
    .aml-pay-status-row {
        grid-template-columns: 1fr;
    }

    .aml-pay-timer {
        text-align: left;
    }

    .aml-pay-amount-line {
        display: block;
    }

    .aml-pay-copy-small {
        width: 100%;
        margin-top: 9px;
    }
}

