.hp-bank-card {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    background: transparent !important;
}

.hp-bank-card::after {
    display: none !important;
}

.hp-real-card-bg {
    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: 250px;
    padding: 19px 21px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .28);
    border-top: 5px solid var(--bank-accent);
    border-radius: 19px;
    background: linear-gradient(140deg, #081b35 0%, var(--bank-primary) 58%, #07162b 100%);
    color: #fff;
    box-shadow: 0 16px 38px rgba(18, 37, 68, .19), inset 0 1px 0 rgba(255, 255, 255, .2);
}

.hp-real-card-bg::before,
.hp-real-card-bg::after {
    position: absolute;
    z-index: -1;
    content: "";
    pointer-events: none;
}

.hp-real-card-bg::before {
    right: -85px;
    bottom: -135px;
    width: 360px;
    height: 235px;
    border-radius: 55%;
    background: linear-gradient(115deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, .08));
    transform: rotate(21deg);
}

.hp-real-card-bg::after {
    top: -105px;
    left: -85px;
    width: 220px;
    height: 220px;
    border: 38px solid rgba(255, 255, 255, .04);
    border-radius: 50%;
}

.hp-real-card-bg[data-bank="mellat"],
.hp-real-card-bg[data-bank="shahr"] {
    background: linear-gradient(140deg, #781023, var(--bank-primary) 62%, #3b0711);
}

.hp-real-card-bg[data-bank="tejarat"],
.hp-real-card-bg[data-bank="saderat"] {
    background: linear-gradient(140deg, #092846, var(--bank-primary) 60%, #07172c);
}

.hp-real-card-bg[data-bank="pasargad"],
.hp-real-card-bg[data-bank="parsian"],
.hp-real-card-bg[data-bank="gardeshgari"] {
    background: linear-gradient(140deg, #310d18, var(--bank-primary) 58%, #16080d);
}

.hp-real-card-bg[data-bank="melli"] {
    background: linear-gradient(140deg, #071f35, #0b365b 55%, #06172a);
    border-top-color: #1c7cff;
}

.hp-bank-top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.hp-bank-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hp-bank-logo {
    display: grid;
    flex: 0 0 43px;
    place-items: center;
    width: 43px;
    height: 43px;
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: var(--bank-accent);
    font-size: 19px;
    font-weight: 950;
    box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .05);
}

.hp-bank-top h3 {
    margin: 0 0 3px !important;
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    line-height: 1.5 !important;
}

.hp-bank-title {
    display: block;
    color: rgba(255, 255, 255, .66);
    font-size: 9px;
}

.hp-method-pill {
    display: inline-flex;
    padding: 5px 9px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 8px;
    background: rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .84);
    font-size: 9px;
    backdrop-filter: blur(5px);
}

.hp-card-chip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 42px;
    height: 31px;
    margin-top: 31px;
    overflow: hidden;
    border-radius: 7px;
    background: linear-gradient(135deg, #ffe9a0, #bd8f32);
    box-shadow: inset 0 0 0 1px rgba(75, 49, 0, .28), 0 5px 12px rgba(0, 0, 0, .14);
}

.hp-card-chip i {
    border-left: 1px solid rgba(90, 61, 8, .28);
}

.hp-card-chip i:nth-child(2) {
    border-top: 1px solid rgba(90, 61, 8, .28);
    border-bottom: 1px solid rgba(90, 61, 8, .28);
}

.hp-account-value {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row-reverse;
    gap: 11px;
    margin: 15px 0 18px;
}

.hp-account-value code {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #fff !important;
    direction: ltr;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
    font-size: clamp(17px, 3.6vw, 23px);
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1.5;
    text-shadow: 0 2px 5px rgba(0, 0, 0, .25);
    white-space: nowrap;
}

.hp-copy-card {
    flex: 0 0 39px;
    width: 39px;
    height: 39px;
    padding: 0;
    border-color: rgba(255, 255, 255, .32);
    border-radius: 10px;
    background: rgba(255, 255, 255, .11);
    color: #fff;
    backdrop-filter: blur(6px);
}

.hp-copy-card:hover {
    background: rgba(255, 255, 255, .18);
}

.hp-owner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 2px;
    font-size: 11px;
}

.hp-owner span {
    color: rgba(255, 255, 255, .57);
}

.hp-owner strong {
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.hp-destination-note {
    position: relative;
    z-index: 2;
    margin: 9px 0 0;
    color: rgba(255, 255, 255, .65);
    font-size: 9px;
}

@media (max-width: 620px) {
    .hp-bank-card {
        max-width: 480px;
    }

    .hp-real-card-bg {
        min-height: 215px;
        padding: 15px 16px;
        border-radius: 16px;
    }

    .hp-bank-logo {
        flex-basis: 37px;
        width: 37px;
        height: 37px;
        font-size: 16px;
    }

    .hp-bank-top h3 {
        font-size: 15px !important;
    }

    .hp-card-chip {
        width: 38px;
        height: 28px;
        margin-top: 22px;
    }

    .hp-account-value {
        gap: 8px;
        margin: 13px 0 15px;
    }

    .hp-account-value code {
        font-size: clamp(14px, 4.3vw, 18px);
        letter-spacing: 1px;
    }

    .hp-copy-card {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
    }
}

/* 0.2.10 — multiple transfer identifiers on one bank card. */
.hp-bank-card {
    max-width: 650px;
}

.hp-real-card-bg {
    min-height: 255px;
    padding: 20px 24px;
    border-radius: 19px;
}

.hp-card-chip {
    position: absolute;
    top: 108px;
    right: 24px;
    z-index: 2;
    margin: 0;
}

.hp-account-value {
    align-items: stretch;
    justify-content: flex-start;
    flex-direction: column;
    gap: 7px;
    margin: 53px 0 18px;
}

.hp-account-label {
    color: rgba(255, 255, 255, .58);
    font-size: 9px;
}

.hp-account-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.hp-account-line code {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #fff !important;
    direction: ltr;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
    font-size: clamp(17px, 3.6vw, 24px);
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1.5;
    text-shadow: 0 2px 5px rgba(0, 0, 0, .25);
    white-space: nowrap;
}

.hp-bank-extra-values {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: -3px 0 15px;
}

.hp-extra-value {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 32px;
    align-items: center;
    gap: 2px 8px;
    min-width: 0;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 10px;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(6px);
}

.hp-extra-value > span {
    grid-column: 1;
    color: rgba(255, 255, 255, .6);
    font-size: 8px;
}

.hp-extra-value code {
    grid-column: 1;
    min-width: 0;
    padding: 0 !important;
    overflow: hidden;
    border: 0 !important;
    background: transparent !important;
    color: #fff !important;
    direction: ltr;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
    font-size: 10px;
    font-weight: 750;
    line-height: 1.5;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hp-copy-extra {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 32px;
    height: 32px;
    padding: 0;
    border-color: rgba(255, 255, 255, .22);
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

.hp-copy-extra svg {
    width: 16px;
    height: 16px;
}

@media (max-width: 620px) {
    .hp-real-card-bg {
        min-height: 225px;
        padding: 15px 16px;
    }

    .hp-card-chip {
        top: 92px;
        right: 16px;
    }

    .hp-account-value {
        margin: 43px 0 14px;
    }

    .hp-account-line {
        gap: 8px;
    }

    .hp-account-line code {
        max-width: calc(100% - 45px);
        overflow: hidden;
        font-size: clamp(13px, 4.15vw, 18px);
        letter-spacing: 1px;
        text-overflow: ellipsis;
    }

    .hp-bank-extra-values {
        grid-template-columns: 1fr;
    }
}

/* 0.2.11 — smaller card used by the compact payment layout. */
.hp-size-compact .hp-bank-card {
    max-width: 515px;
}

.hp-size-compact .hp-real-card-bg {
    min-height: 192px;
    padding: 14px 17px;
    border-top-width: 3px;
    border-radius: 14px;
}

.hp-size-compact .hp-bank-brand {
    gap: 8px;
}

.hp-size-compact .hp-bank-logo {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
    font-size: 14px;
}

.hp-size-compact .hp-bank-top h3 {
    font-size: 14px !important;
}

.hp-size-compact .hp-bank-title,
.hp-size-compact .hp-method-pill {
    font-size: 8px;
}

.hp-size-compact .hp-method-pill {
    padding: 4px 7px;
    border-radius: 7px;
}

.hp-size-compact .hp-card-chip {
    top: 75px;
    right: 17px;
    width: 34px;
    height: 25px;
    border-radius: 5px;
}

.hp-size-compact .hp-account-value {
    gap: 4px;
    margin: 34px 0 10px;
}

.hp-size-compact .hp-account-label {
    font-size: 8px;
}

.hp-size-compact .hp-account-line {
    gap: 8px;
}

.hp-size-compact .hp-account-line code {
    font-size: clamp(15px, 3.15vw, 19px);
    letter-spacing: 1.4px;
}

.hp-size-compact .hp-copy-card {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.hp-size-compact .hp-bank-extra-values {
    gap: 6px;
    margin: -1px 0 10px;
}

.hp-size-compact .hp-extra-value {
    grid-template-columns: minmax(0, 1fr) 28px;
    gap: 1px 6px;
    padding: 6px 8px;
    border-radius: 8px;
}

.hp-size-compact .hp-extra-value > span {
    font-size: 7px;
}

.hp-size-compact .hp-extra-value code {
    font-size: 9px;
}

.hp-size-compact .hp-copy-extra {
    width: 28px;
    height: 28px;
    border-radius: 7px;
}

.hp-size-compact .hp-copy-extra svg {
    width: 14px;
    height: 14px;
}

.hp-size-compact .hp-owner {
    gap: 6px;
    font-size: 9px;
}

.hp-size-compact .hp-owner strong {
    font-size: 10px;
}

.hp-size-compact .hp-destination-note {
    margin-top: 6px;
    font-size: 8px;
}

@media (max-width: 620px) {
    .hp-size-compact .hp-real-card-bg {
        min-height: 181px;
        padding: 13px 14px;
    }

    .hp-size-compact .hp-card-chip {
        top: 69px;
        right: 14px;
    }

    .hp-size-compact .hp-account-value {
        margin-top: 30px;
    }

    .hp-size-compact .hp-account-line code {
        font-size: clamp(12px, 3.9vw, 16px);
        letter-spacing: .8px;
    }
}
.hp-bank-logo img{width:100%;height:100%;object-fit:contain;display:block;filter:none!important}

/* 0.3.15 — destination details are transfer panels, not fake bank cards. */
.hp-payment-shell .hp-bank-card{max-width:none!important;margin:0!important}
.hp-payment-shell .hp-transfer-panel.hp-real-card-bg{
    min-height:0!important;
    padding:15px 16px!important;
    overflow:visible!important;
    border:1px solid #dfe5ec!important;
    border-top:1px solid #dfe5ec!important;
    border-radius:15px!important;
    background:#fff!important;
    color:#1d2939!important;
    box-shadow:none!important;
}
.hp-payment-shell .hp-transfer-panel.hp-real-card-bg::before,
.hp-payment-shell .hp-transfer-panel.hp-real-card-bg::after{display:none!important}
.hp-payment-shell .hp-transfer-panel .hp-bank-top{align-items:center;padding-bottom:12px;border-bottom:1px solid #edf0f3}
.hp-payment-shell .hp-transfer-panel .hp-bank-brand{min-width:0;gap:9px}
.hp-payment-shell .hp-transfer-panel .hp-bank-logo{flex-basis:38px;width:38px;height:38px;border:1px solid #dde3ea;border-radius:10px;background:#f5f7f9;color:#667085;box-shadow:none}
.hp-payment-shell .hp-transfer-panel .hp-bank-logo img{width:29px;height:29px;opacity:1}
.hp-payment-shell .hp-transfer-panel .hp-bank-top h3{margin:0 0 1px!important;color:#25324a!important;font-size:13px!important;line-height:1.45!important}
.hp-payment-shell .hp-transfer-panel .hp-bank-title{color:#7b8798;font-size:9px}
.hp-payment-shell .hp-transfer-panel .hp-method-pill{padding:5px 8px;border:1px solid #e2e8f0;border-radius:8px;background:#f7f8fa;color:#667085;font-size:8px;backdrop-filter:none}
.hp-payment-shell .hp-transfer-panel .hp-card-chip{display:none!important}
.hp-payment-shell .hp-transfer-panel .hp-account-value{gap:6px;margin:13px 0 10px}
.hp-payment-shell .hp-transfer-panel .hp-account-label{color:#7b8798;font-size:9px}
.hp-payment-shell .hp-transfer-panel .hp-account-line{justify-content:space-between;gap:9px;padding:10px 11px;border:1px solid #e5e9ef;border-radius:10px;background:#f9fafb}
.hp-payment-shell .hp-transfer-panel .hp-account-line code{max-width:calc(100% - 38px);overflow:hidden;color:#172033!important;font-size:clamp(14px,3vw,19px);font-weight:800;letter-spacing:1.1px;text-align:left;text-decoration:none;text-overflow:ellipsis;text-shadow:none}
.hp-payment-shell .hp-transfer-panel .hp-copy-card{flex-basis:31px;width:31px;height:31px;border-color:#dbe2ea;border-radius:8px;background:#fff;color:#526174;backdrop-filter:none}
.hp-payment-shell .hp-transfer-panel .hp-copy-card:hover{background:#f1f5f9}
.hp-payment-shell .hp-transfer-panel .hp-bank-extra-values{gap:8px;margin:0 0 11px}
.hp-payment-shell .hp-transfer-panel .hp-extra-value{padding:8px 9px;border:1px solid #e5e9ef;border-radius:9px;background:#f9fafb;backdrop-filter:none}
.hp-payment-shell .hp-transfer-panel .hp-extra-value>span{color:#7b8798;font-size:8px}
.hp-payment-shell .hp-transfer-panel .hp-extra-value code{color:#344054!important;font-size:9px}
.hp-payment-shell .hp-transfer-panel .hp-copy-extra{border-color:#dbe2ea;background:#fff;color:#526174}
.hp-payment-shell .hp-transfer-panel .hp-owner{gap:6px;padding-top:0;color:#7b8798;font-size:9px}.hp-payment-shell .hp-transfer-panel .hp-owner span{color:#7b8798}.hp-payment-shell .hp-transfer-panel .hp-owner strong{color:#344054;font-size:10px}
.hp-payment-shell .hp-transfer-panel .hp-destination-note{margin-top:6px;color:#7b8798;font-size:8px}

.hp-payment-shell .hp-destination-tab{position:relative;padding:0!important;text-align:right!important}
.hp-payment-shell .hp-destination-option{display:grid!important;grid-template-columns:30px minmax(0,1fr) 10px;align-items:center;gap:8px;min-height:58px;padding:9px 11px}
.hp-payment-shell .hp-destination-choice-logo{display:grid!important;place-items:center;width:30px;height:30px;overflow:hidden;border:1px solid #e0e6ed;border-radius:8px;background:#f6f8fa;color:#667085;font-size:11px;font-weight:900}
.hp-payment-shell .hp-destination-choice-logo img{width:23px;height:23px;object-fit:contain;opacity:1;filter:none!important}
.hp-payment-shell .hp-destination-copy{display:block!important;min-width:0}.hp-payment-shell .hp-destination-copy strong{display:block;overflow:hidden;color:#344054;font-size:11px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.hp-payment-shell .hp-destination-copy small{display:block!important;margin-top:2px;color:#7b8798;font-size:8px}
.hp-payment-shell .hp-destination-arrow{width:7px;height:7px;border-bottom:1.7px solid #667085;border-left:1.7px solid #667085;transform:rotate(-45deg);transition:transform .18s ease}
.hp-payment-shell .hp-destination-tab.is-active .hp-destination-choice-logo{border-color:#c4d6f7;background:#eef5ff}.hp-payment-shell .hp-destination-tab.is-active .hp-destination-copy strong{color:var(--hp-blue)}.hp-payment-shell .hp-destination-tab.is-active .hp-destination-arrow{border-color:var(--hp-blue);transform:rotate(135deg)}
.hp-payment-shell select:not([multiple]){appearance:none;padding-inline-start:38px;background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 7 5 5 5-5' fill='none' stroke='%235f6c80' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3C/svg%3E");background-position:left 12px center;background-repeat:no-repeat;background-size:14px 14px}
.hp-payment-shell .hp-bank-card[data-hp-destination]{position:relative}.hp-payment-shell .hp-bank-card.is-loading .hp-transfer-panel{opacity:.42;pointer-events:none}.hp-payment-shell .hp-destination-loading{position:absolute;inset:0;z-index:5;display:flex;align-items:center;justify-content:center;gap:8px;border-radius:15px;background:rgba(255,255,255,.76);color:#344054;font-size:11px;font-weight:800;backdrop-filter:blur(1px)}.hp-payment-shell .hp-destination-loader{width:18px;height:18px;border:2px solid #d5deeb;border-top-color:var(--hp-blue);border-radius:50%;animation:hp-destination-spin .72s linear infinite}@keyframes hp-destination-spin{to{transform:rotate(360deg)}}
@media(max-width:620px){.hp-payment-shell .hp-transfer-panel.hp-real-card-bg{padding:13px!important}.hp-payment-shell .hp-transfer-panel .hp-bank-logo{flex-basis:34px;width:34px;height:34px}.hp-payment-shell .hp-transfer-panel .hp-bank-logo img{width:26px;height:26px}.hp-payment-shell .hp-transfer-panel .hp-method-pill{padding:4px 6px;font-size:7px}.hp-payment-shell .hp-transfer-panel .hp-bank-extra-values{grid-template-columns:1fr}.hp-payment-shell .hp-destination-option{grid-template-columns:28px minmax(0,1fr) 9px;min-height:52px;padding:7px 8px}.hp-payment-shell .hp-destination-choice-logo{width:28px;height:28px}.hp-payment-shell .hp-destination-choice-logo img{width:21px;height:21px}}

/* 0.3.17 — the mobile destination picker is a clear, compact RTL list. */
@media(max-width:620px){.hp-payment-shell .hp-destination-switcher .hp-destination-tabs{grid-template-columns:minmax(0,1fr)!important;gap:4px!important;padding:4px!important;border-radius:14px!important}.hp-payment-shell .hp-destination-switcher .hp-destination-tab{min-height:60px!important;padding:0!important;border-radius:10px!important;text-align:right!important}.hp-payment-shell .hp-destination-switcher .hp-destination-option{grid-template-columns:36px minmax(0,1fr) 18px!important;min-height:60px!important;gap:10px!important;padding:8px 10px!important}.hp-payment-shell .hp-destination-switcher .hp-destination-choice-logo{width:36px!important;height:36px!important;border-radius:10px!important}.hp-payment-shell .hp-destination-switcher .hp-destination-choice-logo img{width:29px!important;height:29px!important}.hp-payment-shell .hp-destination-switcher .hp-destination-copy strong{font-size:12px!important}.hp-payment-shell .hp-destination-switcher .hp-destination-copy small{margin-top:3px!important;font-size:9px!important}.hp-payment-shell .hp-destination-switcher .hp-destination-arrow{justify-self:center;width:8px;height:8px}.hp-payment-shell .hp-destination-switcher .hp-destination-tab.is-active .hp-destination-arrow{display:grid;place-items:center;width:19px;height:19px;border:0!important;border-radius:50%;background:var(--hp-blue);transform:none!important}.hp-payment-shell .hp-destination-switcher .hp-destination-tab.is-active .hp-destination-arrow::before{content:'✓';color:#fff;font-size:12px;font-style:normal;font-weight:900;line-height:1}}
