/*
 * HormozPay — Silver payment template
 *
 * This file is deliberately scoped to the optional Silver template.  The
 * original payment theme keeps using public.css and bank-cards.css unchanged.
 */

body.hormozpay-silver-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 50% -8%, rgba(219, 229, 244, .82), transparent 43%),
        linear-gradient(135deg, #f8fafc 0%, #edf3fa 48%, #f8fafc 100%) !important;
}

body.hormozpay-silver-page .hormozpay-standalone-main {
    width: 100%;
}

.hp-payment-shell.hp-theme-silver {
    --hp-blue: #1469f3;
    --hp-blue-dark: #0b57da;
    --hp-navy: #102a5b;
    --hp-text: #17294d;
    --hp-muted: #75849b;
    --hp-line: #dce5f1;
    --hp-soft: #f5f8fd;
    --hp-success: #20af6c;
    width: 100%;
    max-width: 1100px !important;
    margin: 28px auto !important;
    padding: 0 16px;
    color: var(--hp-text);
}

.hormozpay-standalone-payment .hp-payment-shell.hp-theme-silver {
    max-width: 1100px !important;
    margin-top: 28px !important;
    margin-bottom: 28px !important;
}

.hp-payment-shell.hp-theme-silver .hp-payment-card {
    overflow: hidden;
    border: 1px solid rgba(222, 230, 241, .98) !important;
    border-radius: 30px !important;
    background: rgba(255, 255, 255, .97) !important;
    box-shadow: 0 24px 70px rgba(32, 57, 94, .12) !important;
}

/* Header */
.hp-payment-shell.hp-theme-silver .hp-payment-header {
    min-height: 128px !important;
    margin: 0 !important;
    padding: 28px 38px 19px !important;
    border: 0 !important;
    background: transparent !important;
}

.hp-payment-shell.hp-theme-silver .hp-payment-heading {
    gap: 14px;
}

.hp-payment-shell.hp-theme-silver .hp-logo-mark {
    flex-basis: 68px;
    width: 68px;
    height: 68px;
    overflow: hidden;
    border: 1px solid #d7e4f8;
    border-radius: 20px;
    background: #176bf1;
    box-shadow: 0 11px 22px rgba(20, 105, 243, .19);
}

.hp-payment-shell.hp-theme-silver .hp-logo-mark img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hp-payment-shell.hp-theme-silver .hp-payment-header h2 {
    margin: 0 0 3px !important;
    color: #102755 !important;
    font-size: clamp(21px, 2.65vw, 28px) !important;
    font-weight: 950 !important;
    letter-spacing: -.35px;
}

.hp-payment-shell.hp-theme-silver .hp-payment-header p {
    max-width: 585px;
    margin: 0;
    color: #7a879b;
    font-size: 12px;
    line-height: 1.9;
}

.hp-payment-shell.hp-theme-silver .hp-live-dot {
    min-height: 45px;
    padding: 0 16px;
    border: 1px solid #d8e9e1;
    border-radius: 12px;
    background: #f8fcfa;
    color: #19945a;
    font-size: 12px;
    font-weight: 850;
    box-shadow: 0 4px 12px rgba(27, 116, 76, .04);
}

.hp-payment-shell.hp-theme-silver .hp-live-dot i {
    width: 10px;
    height: 10px;
    background: #28b977;
    box-shadow: 0 0 0 5px rgba(40, 185, 119, .1);
}

.hp-payment-shell.hp-theme-silver .hp-payment-body {
    padding: 8px 38px 36px !important;
}

/* Amount and secure-payment panel */
.hp-payment-shell.hp-theme-silver .hp-amount-box {
    position: relative;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(296px, 43.5%);
    align-items: stretch;
    min-height: 258px !important;
    margin: 0 0 29px !important;
    padding: 0 !important;
    overflow: hidden;
    border: 1px solid #d8e3f2 !important;
    border-radius: 20px !important;
    background: linear-gradient(126deg, #fbfdff 0%, #eef4fe 100%) !important;
    /* Grid column 1 must remain the visual left side even inside the RTL page. */
    direction: ltr;
    text-align: right;
}

.hp-payment-shell.hp-theme-silver .hp-amount-box::before {
    position: absolute;
    top: -1px;
    right: -1px;
    bottom: -1px;
    width: 44%;
    border-radius: 0 0 0 62px;
    background:
        radial-gradient(circle at 19% 28%, rgba(255, 255, 255, .78) 0 2px, transparent 2.5px),
        radial-gradient(circle at 79% 25%, rgba(255, 255, 255, .68) 0 2px, transparent 2.5px),
        radial-gradient(circle at 75% 73%, rgba(255, 255, 255, .62) 0 2px, transparent 2.5px),
        linear-gradient(125deg, #1749ce 0%, #1268f4 55%, #337ef6 100%);
    box-shadow: inset 16px 0 30px rgba(9, 60, 173, .08);
    content: "";
}

.hp-payment-shell.hp-theme-silver .hp-amount-box::after {
    position: absolute;
    z-index: 1;
    right: 7%;
    bottom: -42px;
    width: 260px;
    height: 158px;
    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 50%;
    box-shadow: 0 0 0 24px rgba(255, 255, 255, .035), 0 0 0 49px rgba(255, 255, 255, .025);
    content: "";
    transform: rotate(-12deg);
}

.hp-payment-shell.hp-theme-silver .hp-silver-amount-copy {
    position: relative;
    z-index: 2;
    display: flex;
    grid-column: 1;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-width: 0;
    padding: 30px 30px 30px 42px;
    direction: ltr;
}

.hp-payment-shell.hp-theme-silver .hp-silver-amount-copy > div {
    min-width: 0;
    direction: rtl;
}

.hp-payment-shell.hp-theme-silver .hp-silver-copy-amount {
    flex: 0 0 68px;
    width: 68px;
    height: 68px;
    min-height: 68px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 20px;
    background: linear-gradient(145deg, #5b95ff, #1469ef 66%, #0e5cdb);
    color: #fff;
    box-shadow: 0 11px 22px rgba(15, 93, 223, .24), inset 0 1px 0 rgba(255, 255, 255, .26);
}

.hp-payment-shell.hp-theme-silver .hp-silver-copy-amount:hover {
    background: linear-gradient(145deg, #6ba0ff, #1b71f5 66%, #0f5ddd);
}

.hp-payment-shell.hp-theme-silver .hp-silver-copy-amount svg {
    width: 33px;
    height: 33px;
}

.hp-payment-shell.hp-theme-silver .hp-silver-amount-label {
    display: block;
    margin: 0 0 4px;
    color: #687c9d;
    font-size: 13px;
    font-weight: 760;
}

.hp-payment-shell.hp-theme-silver .hp-silver-amount-copy strong {
    display: flex;
    align-items: baseline;
    gap: 9px;
    color: #102a5d;
    font-size: clamp(35px, 4.5vw, 48px);
    font-weight: 950;
    letter-spacing: -.45px;
    line-height: 1.15;
    white-space: nowrap;
}

.hp-payment-shell.hp-theme-silver .hp-silver-amount-copy strong b {
    direction: ltr;
    font-weight: inherit;
}

.hp-payment-shell.hp-theme-silver .hp-silver-amount-copy strong em {
    color: #72829b;
    font-size: .54em;
    font-style: normal;
    font-weight: 700;
}

.hp-payment-shell.hp-theme-silver .hp-silver-payment-reference {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 38px;
    margin-top: 15px;
    padding: 0 13px;
    border: 1px solid #c9dcff;
    border-radius: 9px;
    background: rgba(244, 248, 255, .88);
    color: #687b9d;
    font-size: 12px;
    font-weight: 680;
}

.hp-payment-shell.hp-theme-silver .hp-silver-payment-reference b {
    color: #1564e7;
    font-weight: 900;
    letter-spacing: .35px;
}

.hp-payment-shell.hp-theme-silver .hp-silver-security-copy {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: 0;
    width: 44%;
    padding-top: 49px;
    direction: rtl;
    text-align: center;
    transform: translateY(-50%);
}

.hp-payment-shell.hp-theme-silver .hp-silver-security-copy svg {
    display: block;
    width: 80px;
    height: 80px;
    margin: 0 auto 6px;
}

.hp-payment-shell.hp-theme-silver .hp-silver-security-copy path:first-child {
    fill: rgba(255, 255, 255, .15);
    stroke: rgba(255, 255, 255, .3);
    stroke-width: 2;
    stroke-linejoin: round;
}

.hp-payment-shell.hp-theme-silver .hp-silver-security-copy path:not(:first-child) {
    fill: #fff;
    stroke: #fff;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
}

.hp-payment-shell.hp-theme-silver .hp-silver-security-copy strong,
.hp-payment-shell.hp-theme-silver .hp-silver-security-copy small {
    display: block;
}

.hp-payment-shell.hp-theme-silver .hp-silver-security-copy strong {
    color: #fff;
    font-size: 19px;
    font-weight: 900;
}

.hp-payment-shell.hp-theme-silver .hp-silver-security-copy small {
    margin-top: 4px;
    color: rgba(255, 255, 255, .91);
    font-size: 12px;
}

/* Destination carousel */
.hp-payment-shell.hp-theme-silver .hp-destination-switcher {
    max-width: none;
    margin: 0 0 28px;
}

.hp-payment-shell.hp-theme-silver .hp-destination-switcher .hp-section-title {
    display: flex !important;
    align-items: flex-end;
    min-height: 29px;
    margin: 0 0 13px;
}

.hp-payment-shell.hp-theme-silver .hp-section-title strong {
    color: #152b58;
    font-size: 17px;
    font-weight: 930;
}

.hp-payment-shell.hp-theme-silver .hp-section-title span {
    color: #8492a6;
    font-size: 11px;
}

.hp-payment-shell.hp-theme-silver .hp-silver-destination-row {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    align-items: center;
    gap: 12px;
    direction: rtl;
}

.hp-payment-shell.hp-theme-silver .hp-silver-destination-nav {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid #dce5f1;
    border-radius: 12px;
    background: #fff;
    color: #17305e;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(29, 54, 90, .035);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.hp-payment-shell.hp-theme-silver .hp-silver-destination-nav:hover {
    border-color: #a9c6fc;
    box-shadow: 0 7px 16px rgba(18, 105, 243, .12);
    transform: translateY(-1px);
}

.hp-payment-shell.hp-theme-silver .hp-silver-destination-nav:focus-visible,
.hp-payment-shell.hp-theme-silver .hp-destination-tab:focus-visible,
.hp-payment-shell.hp-theme-silver .hp-copy:focus-visible {
    outline: 3px solid rgba(20, 105, 243, .25);
    outline-offset: 2px;
}

.hp-payment-shell.hp-theme-silver .hp-silver-destination-nav i {
    width: 10px;
    height: 10px;
    border-bottom: 2px solid currentColor;
    border-left: 2px solid currentColor;
    transform: rotate(225deg);
}

.hp-payment-shell.hp-theme-silver .hp-silver-destination-nav[data-hp-destination-nav="left"] i {
    transform: rotate(45deg);
}

.hp-payment-shell.hp-theme-silver .hp-destination-tabs {
    display: flex !important;
    gap: 12px;
    padding: 0;
    overflow-x: auto;
    overflow-y: visible;
    scroll-behavior: smooth;
    scroll-padding-inline: 2px;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
}

.hp-payment-shell.hp-theme-silver .hp-destination-tabs::-webkit-scrollbar {
    display: none;
}

.hp-payment-shell.hp-theme-silver .hp-destination-tab {
    position: relative;
    display: block;
    flex: 1 0 164px;
    min-width: 0;
    min-height: 111px;
    padding: 0 !important;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 15px;
    background: #fafcff;
    color: #17294d;
    scroll-snap-align: start;
    text-align: right !important;
    box-shadow: none;
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.hp-payment-shell.hp-theme-silver .hp-destination-tab:hover {
    border-color: transparent;
    background: #f3f8ff;
    transform: translateY(-1px);
}

.hp-payment-shell.hp-theme-silver .hp-destination-tab.is-active {
    border: 2px solid #1469f3;
    background: linear-gradient(135deg, #f6faff, #fff);
    box-shadow: 0 8px 17px rgba(20, 105, 243, .10);
}

.hp-payment-shell.hp-theme-silver .hp-destination-tab.is-active::after {
    position: absolute;
    z-index: 3;
    bottom: 9px;
    left: 10px;
    display: grid;
    place-items: center;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background: #1469f3;
    color: #fff;
    content: "✓";
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
}

.hp-payment-shell.hp-theme-silver .hp-destination-option {
    display: grid !important;
    grid-template-columns: 47px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 109px;
    padding: 16px 15px;
}

.hp-payment-shell.hp-theme-silver .hp-destination-choice-logo {
    display: grid !important;
    place-items: center;
    width: 47px;
    height: 47px;
    overflow: hidden;
    border: 1px solid #e0e7f0;
    border-radius: 13px;
    background: #fafbfd;
    color: #60708b;
    font-size: 15px;
    font-weight: 950;
}

.hp-payment-shell.hp-theme-silver .hp-destination-choice-logo img {
    display: block;
    width: 42px;
    height: 42px;
    object-fit: contain;
    opacity: 1;
    filter: none !important;
}

.hp-payment-shell.hp-theme-silver .hp-destination-copy {
    display: block !important;
    min-width: 0;
}

.hp-payment-shell.hp-theme-silver .hp-destination-copy strong {
    display: block;
    overflow: hidden;
    color: #17294d;
    font-size: 14px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hp-payment-shell.hp-theme-silver .hp-destination-copy small {
    display: block !important;
    overflow: hidden;
    margin-top: 5px;
    color: #8190a5;
    font-size: 10px;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hp-payment-shell.hp-theme-silver .hp-destination-tab.is-active .hp-destination-copy strong {
    color: #0e57dc;
}

.hp-payment-shell.hp-theme-silver .hp-destination-tab.is-active .hp-destination-choice-logo {
    border-color: #c7d9ff;
    background: #f6f9ff;
}

.hp-payment-shell.hp-theme-silver .hp-destination-arrow {
    display: none !important;
}

/* White transfer details panel */
.hp-payment-shell.hp-theme-silver .hp-bank-card {
    width: 100%;
    max-width: none !important;
    margin: 0 !important;
}

.hp-payment-shell.hp-theme-silver .hp-transfer-panel.hp-real-card-bg {
    position: relative;
    min-height: 0 !important;
    padding: 29px 30px 35px !important;
    overflow: hidden !important;
    border: 1px solid #d8e2ee !important;
    border-top: 1px solid #d8e2ee !important;
    border-radius: 17px !important;
    background: linear-gradient(145deg, #fff 0%, #fbfdff 100%) !important;
    color: #17294d !important;
    box-shadow: 0 8px 17px rgba(30, 53, 88, .035) !important;
}

.hp-payment-shell.hp-theme-silver .hp-transfer-panel.hp-real-card-bg::before {
    display: none !important;
}

.hp-payment-shell.hp-theme-silver .hp-transfer-panel.hp-real-card-bg::after {
    position: absolute;
    right: 28px;
    bottom: -9px;
    left: 28px;
    display: block !important;
    height: 12px;
    border: 0;
    border-radius: 0;
    background: radial-gradient(circle at 9px -1px, transparent 0 7px, #dbe4ef 7.5px 8.5px, transparent 9px) 0 0 / 18px 12px repeat-x;
    box-shadow: none;
    content: "";
    pointer-events: none;
    transform: none;
}

@media (max-width: 620px) {
    .hp-payment-shell.hp-theme-silver .hp-transfer-panel.hp-real-card-bg::after {
        right: 14px;
        bottom: 7px;
        left: 14px;
    }
}

.hp-payment-shell.hp-theme-silver .hp-transfer-panel .hp-bank-top {
    min-height: 56px;
    padding: 0;
    border: 0;
}

.hp-payment-shell.hp-theme-silver .hp-transfer-panel .hp-bank-brand {
    gap: 12px;
}

.hp-payment-shell.hp-theme-silver .hp-transfer-panel .hp-bank-logo {
    flex-basis: 56px;
    width: 56px;
    height: 56px;
    overflow: hidden;
    border: 1px solid #dfe6ef;
    border-radius: 15px;
    background: #fafbfd;
    color: #60708b;
    box-shadow: 0 4px 11px rgba(39, 61, 99, .035);
}

.hp-payment-shell.hp-theme-silver .hp-transfer-panel .hp-bank-logo img {
    display: block;
    width: 50px;
    height: 50px;
    object-fit: contain;
    opacity: 1;
    filter: none !important;
}

.hp-payment-shell.hp-theme-silver .hp-transfer-panel .hp-bank-top h3 {
    margin: 0 0 3px !important;
    color: #152b58 !important;
    font-size: 20px !important;
    font-weight: 930 !important;
    line-height: 1.45 !important;
}

.hp-payment-shell.hp-theme-silver .hp-transfer-panel .hp-bank-title {
    color: #7d8ba0;
    font-size: 11px;
}

.hp-payment-shell.hp-theme-silver .hp-transfer-panel .hp-method-pill {
    display: none !important;
}

.hp-payment-shell.hp-theme-silver .hp-silver-card-copy {
    position: absolute;
    z-index: 4;
    top: 31px;
    left: 30px;
    min-height: 42px;
    padding: 0 13px;
    border: 1px solid #dce6f4;
    border-radius: 10px;
    background: #f9fbff;
    color: #1469f3;
    font-size: 12px;
    font-weight: 850;
}

.hp-payment-shell.hp-theme-silver .hp-silver-card-copy svg {
    width: 18px;
    height: 18px;
}

.hp-payment-shell.hp-theme-silver .hp-silver-card-copy:hover {
    border-color: #b9d1ff;
    background: #f1f6ff;
}

.hp-payment-shell.hp-theme-silver .hp-transfer-panel .hp-card-chip {
    display: none !important;
}

.hp-payment-shell.hp-theme-silver .hp-transfer-panel .hp-account-value {
    align-items: stretch;
    gap: 8px;
    margin: 25px 0 14px;
}

.hp-payment-shell.hp-theme-silver .hp-transfer-panel .hp-account-label {
    color: #7d8ba0;
    font-size: 11px;
    font-weight: 650;
}

.hp-payment-shell.hp-theme-silver .hp-transfer-panel .hp-account-line {
    min-height: 69px;
    padding: 11px 16px;
    border: 1px solid #e0e7f0;
    border-radius: 12px;
    background: #fbfcfe;
    box-shadow: inset 0 1px 2px rgba(41, 68, 107, .018);
}

.hp-payment-shell.hp-theme-silver .hp-transfer-panel .hp-account-line code {
    max-width: calc(100% - 48px);
    overflow: hidden;
    color: #142b5a !important;
    font-size: clamp(19px, 3vw, 28px);
    font-weight: 900;
    letter-spacing: 1.75px;
    text-align: center;
    text-overflow: ellipsis;
    text-shadow: none;
}

.hp-payment-shell.hp-theme-silver .hp-transfer-panel .hp-copy-card {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
    border-color: #d4e2f6;
    border-radius: 10px;
    background: #fff;
    color: #1469f3;
    box-shadow: 0 3px 8px rgba(22, 66, 134, .035);
}

.hp-payment-shell.hp-theme-silver .hp-transfer-panel .hp-copy-card:hover {
    background: #f1f6ff;
}

.hp-payment-shell.hp-theme-silver .hp-transfer-panel .hp-bank-extra-values {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
    margin: 0 0 16px;
    direction: ltr;
}

.hp-payment-shell.hp-theme-silver .hp-transfer-panel .hp-extra-value {
    position: relative;
    display: block;
    min-height: 76px;
    /* Reserve the physical left side for the absolute copy button. */
    padding: 11px 15px 10px 52px;
    border: 1px solid #e1e8f1;
    border-radius: 12px;
    background: #fff;
    direction: rtl;
}

.hp-payment-shell.hp-theme-silver .hp-transfer-panel .hp-extra-value > span {
    display: block;
    color: #7e8ba0;
    font-size: 10px;
    font-weight: 650;
}

.hp-payment-shell.hp-theme-silver .hp-transfer-panel .hp-extra-value code {
    display: block;
    min-width: 0;
    padding: 0 !important;
    overflow: hidden;
    border: 0 !important;
    background: transparent !important;
    color: #263b62 !important;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.75;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hp-payment-shell.hp-theme-silver .hp-transfer-panel .hp-copy-extra {
    position: absolute;
    top: 50%;
    left: 13px;
    width: 32px;
    height: 32px;
    padding: 0;
    border-color: #d4e2f6;
    border-radius: 9px;
    background: #f9fbff;
    color: #1469f3;
    transform: translateY(-50%);
}

.hp-payment-shell.hp-theme-silver .hp-transfer-panel .hp-copy-extra svg {
    width: 16px;
    height: 16px;
}

.hp-payment-shell.hp-theme-silver .hp-transfer-panel .hp-owner {
    gap: 7px;
    padding: 2px 0 0;
    color: #7d8ba0;
    font-size: 11px;
}

.hp-payment-shell.hp-theme-silver .hp-transfer-panel .hp-owner span {
    color: #7d8ba0;
}

.hp-payment-shell.hp-theme-silver .hp-transfer-panel .hp-owner strong {
    color: #21365e;
    font-size: 12px;
    font-weight: 880;
}

.hp-payment-shell.hp-theme-silver .hp-transfer-panel .hp-destination-note {
    margin-top: 9px;
    color: #8190a4;
    font-size: 10px;
}

/* Notices and guide */
.hp-payment-shell.hp-theme-silver .hp-precision-note {
    max-width: none;
    min-height: 64px;
    margin: 30px 0 0;
    padding: 12px 21px;
    border: 1px solid #c9e8dc;
    border-radius: 13px;
    background: linear-gradient(90deg, #f4fcf8 0%, #fafffd 100%);
    color: #385166;
    font-size: 12px;
    font-weight: 640;
    line-height: 1.9;
}

.hp-payment-shell.hp-theme-silver .hp-precision-note svg {
    order: -1;
    flex-basis: 25px;
    width: 25px;
    height: 25px;
    fill: #1eab68;
}

.hp-payment-shell.hp-theme-silver .hp-silver-payment-guide {
    margin: 22px 0 0;
    padding: 17px 25px 19px;
    border: 1px solid #cbdfff;
    border-radius: 15px;
    background: linear-gradient(132deg, #fbfdff 0%, #f4f8ff 100%);
}

.hp-payment-shell.hp-theme-silver .hp-silver-guide-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1464e8;
}

.hp-payment-shell.hp-theme-silver .hp-silver-guide-heading strong {
    font-size: 15px;
    font-weight: 930;
}

.hp-payment-shell.hp-theme-silver .hp-silver-guide-heading span {
    display: grid;
    place-items: center;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background: #1469f3;
    color: #fff;
    font-family: Georgia, serif;
    font-size: 14px;
    font-weight: 800;
}

.hp-payment-shell.hp-theme-silver .hp-silver-payment-guide ol {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin: 17px 0 0;
    padding: 0;
    list-style: none;
}

.hp-payment-shell.hp-theme-silver .hp-silver-payment-guide li {
    position: relative;
    display: grid;
    justify-items: center;
    min-width: 0;
    text-align: center;
}

.hp-payment-shell.hp-theme-silver .hp-silver-payment-guide li:not(:last-child)::after {
    position: absolute;
    top: 24px;
    left: -41px;
    width: 59px;
    height: 1px;
    border-top: 2px dotted #9fb7df;
    content: "";
}

.hp-payment-shell.hp-theme-silver .hp-silver-payment-guide li:not(:last-child)::before {
    position: absolute;
    z-index: 1;
    top: 20px;
    left: -40px;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-right: 7px solid #8fa9d5;
    border-bottom: 5px solid transparent;
    content: "";
}

.hp-payment-shell.hp-theme-silver .hp-silver-guide-icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 8px;
    border-radius: 50%;
    background: linear-gradient(145deg, #7eabff, #1769f3);
    box-shadow: 0 7px 14px rgba(20, 105, 243, .15);
}

.hp-payment-shell.hp-theme-silver .hp-silver-guide-card::before {
    width: 22px;
    height: 15px;
    border: 2px solid #fff;
    border-radius: 4px;
    content: "";
}

.hp-payment-shell.hp-theme-silver .hp-silver-guide-card::after {
    position: absolute;
    width: 17px;
    height: 2px;
    border-radius: 9px;
    background: #fff;
    content: "";
}

.hp-payment-shell.hp-theme-silver .hp-silver-guide-search::before {
    width: 18px;
    height: 18px;
    border: 3px solid #fff;
    border-radius: 50%;
    content: "";
}

.hp-payment-shell.hp-theme-silver .hp-silver-guide-search::after {
    position: absolute;
    width: 11px;
    height: 3px;
    border-radius: 4px;
    background: #fff;
    content: "";
    transform: translate(10px, 11px) rotate(48deg);
}

.hp-payment-shell.hp-theme-silver .hp-silver-guide-check {
    background: linear-gradient(145deg, #72a8ff, #1469f3);
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 29px;
    font-weight: 900;
    line-height: 1;
}

.hp-payment-shell.hp-theme-silver .hp-silver-payment-guide li > strong {
    color: #172b52;
    font-size: 13px;
    font-weight: 900;
}

.hp-payment-shell.hp-theme-silver .hp-silver-payment-guide li > small {
    max-width: 200px;
    margin-top: 4px;
    color: #75859c;
    font-size: 10px;
    line-height: 1.75;
}

/* The green header status is the live indicator in this compact template. */
.hp-payment-shell.hp-theme-silver .hp-waiting {
    display: none !important;
}

.hp-payment-shell.hp-theme-silver .hp-silver-delay-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 51px;
    margin: 18px 0 0;
    padding: 10px 17px;
    border: 1px solid #f1d99f;
    border-radius: 12px;
    background: linear-gradient(90deg, #fff9eb, #fffdf7);
    color: #665a45;
    font-size: 11px;
    font-weight: 650;
    line-height: 1.85;
    text-align: center;
}

.hp-payment-shell.hp-theme-silver .hp-silver-delay-icon {
    position: relative;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border: 2px solid #f1b43e;
    border-radius: 50%;
}

.hp-payment-shell.hp-theme-silver .hp-silver-delay-icon::before,
.hp-payment-shell.hp-theme-silver .hp-silver-delay-icon::after {
    position: absolute;
    right: 50%;
    bottom: 50%;
    width: 2px;
    border-radius: 2px;
    background: #f1b43e;
    content: "";
    transform-origin: bottom;
}

.hp-payment-shell.hp-theme-silver .hp-silver-delay-icon::before {
    height: 7px;
    transform: translateX(1px);
}

.hp-payment-shell.hp-theme-silver .hp-silver-delay-icon::after {
    height: 5px;
    transform: translateX(1px) rotate(128deg);
}

/* Automatic success */
.hp-payment-shell.hp-theme-silver .hp-success {
    max-width: none;
    margin: 18px 0 0;
    padding: 28px 20px;
    border: 1px solid #bfe4d2;
    border-radius: 16px;
    background: linear-gradient(135deg, #f3fcf7, #fbfffd);
}

.hp-payment-shell.hp-theme-silver .hp-success-check {
    width: 56px;
    height: 56px;
    margin-bottom: 12px;
    background: linear-gradient(145deg, #55ca8c, #1ba967);
    box-shadow: 0 9px 18px rgba(27, 169, 103, .18);
}

.hp-payment-shell.hp-theme-silver .hp-success h3 {
    color: #17834f !important;
    font-size: 20px !important;
}

.hp-payment-shell.hp-theme-silver .hp-success p {
    color: #5b7d6c;
    font-size: 12px;
}

.hp-payment-shell.hp-theme-silver .hp-success .hp-primary-button {
    min-height: 47px;
    border-radius: 12px;
    background: #1469f3;
    box-shadow: 0 8px 16px rgba(20, 105, 243, .18);
}

/* Receipt CTA */
.hp-payment-shell.hp-theme-silver .hp-receipt {
    max-width: none;
    margin: 19px 0 0;
    overflow: hidden;
    border: 1px solid #d1e2ff;
    border-radius: 15px;
    background: linear-gradient(130deg, #fbfdff 0%, #f2f7ff 100%);
}

.hp-payment-shell.hp-theme-silver .hp-silver-receipt-summary {
    display: grid !important;
    grid-template-columns: 67px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    min-height: 89px;
    padding: 15px 21px !important;
    list-style: none;
    cursor: pointer;
}

.hp-payment-shell.hp-theme-silver .hp-silver-receipt-summary::-webkit-details-marker {
    display: none;
}

.hp-payment-shell.hp-theme-silver .hp-silver-receipt-illustration {
    position: relative;
    display: block;
    width: 58px;
    height: 67px;
    overflow: hidden;
    border: 2px solid #246ff0;
    border-radius: 11px 11px 16px 16px;
    background: linear-gradient(160deg, #d9e9ff, #f8fbff 66%);
    box-shadow: 0 8px 13px rgba(20, 105, 243, .13);
    transform: rotate(-5deg);
}

.hp-payment-shell.hp-theme-silver .hp-silver-receipt-illustration::before {
    position: absolute;
    top: 12px;
    right: 11px;
    width: 32px;
    height: 3px;
    border-radius: 4px;
    background: #7aabf8;
    box-shadow: 0 9px 0 #9abdf7, 0 18px 0 #d0e1fd;
    content: "";
}

.hp-payment-shell.hp-theme-silver .hp-silver-receipt-illustration::after {
    position: absolute;
    right: -2px;
    bottom: -2px;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #28b876;
    color: #fff;
    content: "✓";
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 900;
}

.hp-payment-shell.hp-theme-silver .hp-silver-receipt-summary > span:nth-child(2) {
    display: block;
    min-width: 0;
}

.hp-payment-shell.hp-theme-silver .hp-silver-receipt-summary strong,
.hp-payment-shell.hp-theme-silver .hp-silver-receipt-summary small {
    display: block;
}

.hp-payment-shell.hp-theme-silver .hp-silver-receipt-summary strong {
    color: #1b315d;
    font-size: 15px;
    font-weight: 920;
}

.hp-payment-shell.hp-theme-silver .hp-silver-receipt-summary small {
    margin-top: 4px;
    color: #7b8ba4;
    font-size: 11px;
}

.hp-payment-shell.hp-theme-silver .hp-silver-receipt-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 47px;
    padding: 0 18px;
    border-radius: 11px;
    background: linear-gradient(135deg, #267cfb, #0f61e7);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 9px 17px rgba(20, 105, 243, .2);
    white-space: nowrap;
}

.hp-payment-shell.hp-theme-silver .hp-silver-receipt-action i {
    font-family: Arial, sans-serif;
    font-size: 21px;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
}

.hp-payment-shell.hp-theme-silver .hp-receipt-content {
    padding: 0 21px 20px;
    border-top: 1px solid #dce8fb;
}

.hp-payment-shell.hp-theme-silver .hp-file-picker,
.hp-payment-shell.hp-theme-silver .hp-receipt textarea {
    border-color: #c9d9f3;
    background: #fff;
}

.hp-payment-shell.hp-theme-silver .hp-secondary-button {
    min-height: 45px;
    border-radius: 11px;
    background: #1469f3;
}

/* Overlay used while another destination is loading */
.hp-payment-shell.hp-theme-silver .hp-bank-card[data-hp-destination] {
    position: relative;
}

.hp-payment-shell.hp-theme-silver .hp-bank-card.is-loading .hp-transfer-panel {
    opacity: .42;
    pointer-events: none;
}

.hp-payment-shell.hp-theme-silver .hp-destination-loading {
    position: absolute;
    inset: 0;
    z-index: 8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 17px;
    background: rgba(250, 253, 255, .78);
    color: #1a376a;
    font-size: 12px;
    font-weight: 850;
    backdrop-filter: blur(3px);
}

.hp-payment-shell.hp-theme-silver .hp-destination-loader {
    width: 21px;
    height: 21px;
    border: 2px solid #c7d9f8;
    border-top-color: #1469f3;
    border-radius: 50%;
    animation: hp-silver-destination-spin .72s linear infinite;
}

@keyframes hp-silver-destination-spin {
    to { transform: rotate(360deg); }
}

/* Silver version of the pre-payment warning keeps the same visual language. */
.hp-payment-shell.hp-theme-silver .hp-modal-backdrop {
    background: rgba(237, 244, 255, .78);
}

.hp-payment-shell.hp-theme-silver .hp-modal-card {
    max-width: 700px;
    border-color: #dce6f4;
    border-radius: 25px;
    box-shadow: 0 26px 70px rgba(30, 58, 99, .18);
}

.hp-payment-shell.hp-theme-silver .hp-modal-icon {
    color: #f0ad0b;
}

.hp-payment-shell.hp-theme-silver .hp-modal-primary {
    background: #1469f3;
}

/* Tablet and mobile */
@media (max-width: 820px) {
    .hp-payment-shell.hp-theme-silver {
        margin: 16px auto !important;
        padding: 0 10px;
    }

    .hp-payment-shell.hp-theme-silver .hp-payment-header {
        min-height: 105px !important;
        padding: 21px 24px 15px !important;
    }

    .hp-payment-shell.hp-theme-silver .hp-logo-mark {
        flex-basis: 55px;
        width: 55px;
        height: 55px;
        border-radius: 16px;
    }

    .hp-payment-shell.hp-theme-silver .hp-payment-body {
        padding: 5px 24px 27px !important;
    }

    .hp-payment-shell.hp-theme-silver .hp-amount-box {
        grid-template-columns: minmax(0, 1fr) minmax(216px, 41%);
        min-height: 222px !important;
    }

    .hp-payment-shell.hp-theme-silver .hp-amount-box::before,
    .hp-payment-shell.hp-theme-silver .hp-silver-security-copy {
        width: 42%;
    }

    .hp-payment-shell.hp-theme-silver .hp-silver-amount-copy {
        gap: 13px;
        padding: 24px 19px 24px 26px;
    }

    .hp-payment-shell.hp-theme-silver .hp-silver-copy-amount {
        flex-basis: 57px;
        width: 57px;
        height: 57px;
        min-height: 57px;
        border-radius: 17px;
    }

    .hp-payment-shell.hp-theme-silver .hp-silver-copy-amount svg {
        width: 28px;
        height: 28px;
    }

    .hp-payment-shell.hp-theme-silver .hp-silver-amount-copy strong {
        font-size: clamp(29px, 6vw, 39px);
    }

    .hp-payment-shell.hp-theme-silver .hp-silver-security-copy {
        padding-top: 42px;
    }

    .hp-payment-shell.hp-theme-silver .hp-silver-security-copy svg {
        width: 65px;
        height: 65px;
        margin-bottom: 2px;
    }

    .hp-payment-shell.hp-theme-silver .hp-silver-security-copy strong {
        font-size: 16px;
    }

    .hp-payment-shell.hp-theme-silver .hp-silver-security-copy small {
        font-size: 10px;
    }

    .hp-payment-shell.hp-theme-silver .hp-destination-tab {
        flex-basis: 152px;
        min-height: 98px;
    }

    .hp-payment-shell.hp-theme-silver .hp-destination-option {
        min-height: 96px;
        padding: 13px;
    }

    .hp-payment-shell.hp-theme-silver .hp-transfer-panel.hp-real-card-bg {
        padding: 24px 22px 22px !important;
    }

    .hp-payment-shell.hp-theme-silver .hp-silver-card-copy {
        top: 25px;
        left: 22px;
    }

    .hp-payment-shell.hp-theme-silver .hp-transfer-panel .hp-account-line code {
        font-size: clamp(17px, 3.7vw, 24px);
    }
}

@media (max-width: 620px) {
    body.hormozpay-silver-page {
        background: #f5f8fc !important;
    }

    .hp-payment-shell.hp-theme-silver .hp-payment-card {
        border-radius: 22px !important;
    }

    .hp-payment-shell.hp-theme-silver .hp-payment-header {
        align-items: flex-start;
        gap: 10px;
        min-height: 94px !important;
        padding: 18px 17px 11px !important;
    }

    .hp-payment-shell.hp-theme-silver .hp-payment-heading {
        gap: 9px;
    }

    .hp-payment-shell.hp-theme-silver .hp-logo-mark {
        flex-basis: 45px;
        width: 45px;
        height: 45px;
        border-radius: 13px;
    }

    .hp-payment-shell.hp-theme-silver .hp-payment-header h2 {
        font-size: 17px !important;
    }

    .hp-payment-shell.hp-theme-silver .hp-payment-header p {
        max-width: 185px;
        overflow: hidden;
        font-size: 9px;
        line-height: 1.7;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .hp-payment-shell.hp-theme-silver .hp-live-dot {
        min-height: 34px;
        padding: 0 8px;
        border-radius: 9px;
        font-size: 9px;
    }

    .hp-payment-shell.hp-theme-silver .hp-live-dot i {
        width: 7px;
        height: 7px;
        box-shadow: 0 0 0 3px rgba(40, 185, 119, .1);
    }

    .hp-payment-shell.hp-theme-silver .hp-payment-body {
        padding: 5px 14px 19px !important;
    }

    .hp-payment-shell.hp-theme-silver .hp-amount-box {
        grid-template-columns: minmax(0, 1fr) 38%;
        min-height: 176px !important;
        margin-bottom: 22px !important;
        border-radius: 16px !important;
    }

    .hp-payment-shell.hp-theme-silver .hp-amount-box::before,
    .hp-payment-shell.hp-theme-silver .hp-silver-security-copy {
        width: 40%;
    }

    .hp-payment-shell.hp-theme-silver .hp-amount-box::after {
        right: -48px;
        bottom: -58px;
        width: 155px;
        height: 118px;
    }

    .hp-payment-shell.hp-theme-silver .hp-silver-amount-copy {
        gap: 9px;
        padding: 17px 10px 17px 14px;
    }

    .hp-payment-shell.hp-theme-silver .hp-silver-copy-amount {
        flex-basis: 43px;
        width: 43px;
        height: 43px;
        min-height: 43px;
        border-radius: 13px;
    }

    .hp-payment-shell.hp-theme-silver .hp-silver-copy-amount svg {
        width: 22px;
        height: 22px;
    }

    .hp-payment-shell.hp-theme-silver .hp-silver-amount-label {
        margin-bottom: 2px;
        font-size: 9px;
    }

    .hp-payment-shell.hp-theme-silver .hp-silver-amount-copy strong {
        gap: 4px;
        font-size: clamp(20px, 7.2vw, 31px);
        letter-spacing: 0;
    }

    .hp-payment-shell.hp-theme-silver .hp-silver-payment-reference {
        min-height: 29px;
        margin-top: 8px;
        padding: 0 7px;
        border-radius: 7px;
        font-size: 8px;
    }

    .hp-payment-shell.hp-theme-silver .hp-silver-security-copy {
        padding-top: 26px;
    }

    .hp-payment-shell.hp-theme-silver .hp-silver-security-copy svg {
        width: 45px;
        height: 45px;
        margin-bottom: 0;
    }

    .hp-payment-shell.hp-theme-silver .hp-silver-security-copy strong {
        font-size: 11px;
    }

    .hp-payment-shell.hp-theme-silver .hp-silver-security-copy small {
        margin-top: 1px;
        font-size: 7px;
    }

    .hp-payment-shell.hp-theme-silver .hp-destination-switcher {
        margin-bottom: 20px;
    }

    .hp-payment-shell.hp-theme-silver .hp-destination-switcher .hp-section-title {
        margin-bottom: 9px;
    }

    .hp-payment-shell.hp-theme-silver .hp-section-title strong {
        font-size: 14px;
    }

    .hp-payment-shell.hp-theme-silver .hp-section-title span {
        display: none;
    }

    .hp-payment-shell.hp-theme-silver .hp-silver-destination-row {
        grid-template-columns: 34px minmax(0, 1fr) 34px;
        gap: 7px;
    }

    .hp-payment-shell.hp-theme-silver .hp-silver-destination-nav {
        width: 34px;
        height: 34px;
        border-radius: 10px;
    }

    .hp-payment-shell.hp-theme-silver .hp-destination-switcher .hp-destination-tabs {
        display: flex !important;
        grid-template-columns: none !important;
        gap: 8px !important;
        padding: 0 !important;
        border-radius: 0 !important;
    }

    .hp-payment-shell.hp-theme-silver .hp-destination-switcher .hp-destination-tab {
        flex: 0 0 min(208px, calc(100vw - 112px));
        min-height: 84px !important;
        padding: 0 !important;
        border-radius: 12px !important;
    }

    .hp-payment-shell.hp-theme-silver .hp-destination-option {
        grid-template-columns: 38px minmax(0, 1fr) !important;
        gap: 8px !important;
        min-height: 82px !important;
        padding: 10px !important;
    }

    .hp-payment-shell.hp-theme-silver .hp-destination-choice-logo {
        width: 38px !important;
        height: 38px !important;
        border-radius: 11px !important;
    }

    .hp-payment-shell.hp-theme-silver .hp-destination-choice-logo img {
        width: 34px !important;
        height: 34px !important;
    }

    .hp-payment-shell.hp-theme-silver .hp-destination-copy strong {
        font-size: 12px !important;
    }

    .hp-payment-shell.hp-theme-silver .hp-destination-copy small {
        margin-top: 3px !important;
        font-size: 8px !important;
    }

    .hp-payment-shell.hp-theme-silver .hp-destination-tab.is-active::after {
        bottom: 6px;
        left: 6px;
        width: 18px;
        height: 18px;
        font-size: 11px;
    }

    .hp-payment-shell.hp-theme-silver .hp-transfer-panel.hp-real-card-bg {
        padding: 18px 14px 27px !important;
        border-radius: 14px !important;
    }

    .hp-payment-shell.hp-theme-silver .hp-transfer-panel.hp-real-card-bg::after {
        right: 16px;
        left: 16px;
    }

    .hp-payment-shell.hp-theme-silver .hp-transfer-panel .hp-bank-top {
        min-height: 46px;
    }

    .hp-payment-shell.hp-theme-silver .hp-transfer-panel .hp-bank-brand {
        gap: 8px;
    }

    .hp-payment-shell.hp-theme-silver .hp-transfer-panel .hp-bank-logo {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }

    .hp-payment-shell.hp-theme-silver .hp-transfer-panel .hp-bank-logo img {
        width: 39px;
        height: 39px;
    }

    .hp-payment-shell.hp-theme-silver .hp-transfer-panel .hp-bank-top h3 {
        font-size: 15px !important;
    }

    .hp-payment-shell.hp-theme-silver .hp-transfer-panel .hp-bank-title {
        font-size: 9px;
    }

    .hp-payment-shell.hp-theme-silver .hp-silver-card-copy {
        top: 19px;
        left: 14px;
        min-height: 34px;
        padding: 0 8px;
        border-radius: 8px;
        font-size: 9px;
    }

    .hp-payment-shell.hp-theme-silver .hp-silver-card-copy svg {
        width: 14px;
        height: 14px;
    }

    .hp-payment-shell.hp-theme-silver .hp-transfer-panel .hp-account-value {
        gap: 5px;
        margin: 18px 0 10px;
    }

    .hp-payment-shell.hp-theme-silver .hp-transfer-panel .hp-account-label {
        font-size: 9px;
    }

    .hp-payment-shell.hp-theme-silver .hp-transfer-panel .hp-account-line {
        min-height: 55px;
        padding: 8px 9px;
        border-radius: 10px;
    }

    .hp-payment-shell.hp-theme-silver .hp-transfer-panel .hp-account-line code {
        max-width: calc(100% - 36px);
        font-size: clamp(13px, 4.5vw, 18px);
        letter-spacing: .65px;
    }

    .hp-payment-shell.hp-theme-silver .hp-transfer-panel .hp-copy-card {
        flex-basis: 31px;
        width: 31px;
        height: 31px;
        border-radius: 8px;
    }

    .hp-payment-shell.hp-theme-silver .hp-transfer-panel .hp-copy-card svg {
        width: 16px;
        height: 16px;
    }

    .hp-payment-shell.hp-theme-silver .hp-transfer-panel .hp-bank-extra-values {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-bottom: 11px;
    }

    .hp-payment-shell.hp-theme-silver .hp-transfer-panel .hp-extra-value {
        min-height: 58px;
        padding: 7px 9px 7px 44px;
        border-radius: 10px;
    }

    .hp-payment-shell.hp-theme-silver .hp-transfer-panel .hp-extra-value > span {
        font-size: 8px;
    }

    .hp-payment-shell.hp-theme-silver .hp-transfer-panel .hp-extra-value code {
        font-size: 10px;
    }

    .hp-payment-shell.hp-theme-silver .hp-transfer-panel .hp-copy-extra {
        left: 9px;
        width: 27px;
        height: 27px;
        border-radius: 7px;
    }

    .hp-payment-shell.hp-theme-silver .hp-transfer-panel .hp-owner,
    .hp-payment-shell.hp-theme-silver .hp-transfer-panel .hp-owner strong {
        font-size: 9px;
    }

    .hp-payment-shell.hp-theme-silver .hp-precision-note {
        justify-content: flex-start;
        min-height: 0;
        margin-top: 23px;
        padding: 10px 12px;
        border-radius: 11px;
        font-size: 10px;
        text-align: right;
    }

    .hp-payment-shell.hp-theme-silver .hp-precision-note svg {
        flex-basis: 20px;
        width: 20px;
        height: 20px;
    }

    .hp-payment-shell.hp-theme-silver .hp-silver-payment-guide {
        margin-top: 14px;
        padding: 14px 12px;
        border-radius: 13px;
    }

    .hp-payment-shell.hp-theme-silver .hp-silver-guide-heading strong {
        font-size: 13px;
    }

    .hp-payment-shell.hp-theme-silver .hp-silver-guide-heading span {
        width: 18px;
        height: 18px;
        font-size: 12px;
    }

    .hp-payment-shell.hp-theme-silver .hp-silver-payment-guide ol {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 14px;
    }

    .hp-payment-shell.hp-theme-silver .hp-silver-payment-guide li {
        grid-template-columns: 42px minmax(0, 1fr);
        column-gap: 10px;
        align-items: center;
        justify-items: start;
        text-align: right;
    }

    .hp-payment-shell.hp-theme-silver .hp-silver-payment-guide li:not(:last-child)::before,
    .hp-payment-shell.hp-theme-silver .hp-silver-payment-guide li:not(:last-child)::after {
        display: none;
    }

    .hp-payment-shell.hp-theme-silver .hp-silver-guide-icon {
        grid-row: 1 / span 2;
        width: 42px;
        height: 42px;
        margin: 0;
    }

    .hp-payment-shell.hp-theme-silver .hp-silver-guide-check {
        font-size: 25px;
    }

    .hp-payment-shell.hp-theme-silver .hp-silver-payment-guide li > strong {
        align-self: end;
        font-size: 11px;
    }

    .hp-payment-shell.hp-theme-silver .hp-silver-payment-guide li > small {
        align-self: start;
        max-width: none;
        margin-top: 1px;
        font-size: 8px;
    }

    .hp-payment-shell.hp-theme-silver .hp-silver-delay-note {
        justify-content: flex-start;
        min-height: 0;
        margin-top: 13px;
        padding: 9px 11px;
        border-radius: 10px;
        font-size: 9px;
        text-align: right;
    }

    .hp-payment-shell.hp-theme-silver .hp-silver-delay-icon {
        flex-basis: 18px;
        width: 18px;
        height: 18px;
    }

    .hp-payment-shell.hp-theme-silver .hp-silver-receipt-summary {
        grid-template-columns: 46px minmax(0, 1fr);
        gap: 9px;
        min-height: 0;
        padding: 12px !important;
    }

    .hp-payment-shell.hp-theme-silver .hp-silver-receipt-illustration {
        width: 42px;
        height: 49px;
        border-radius: 8px 8px 12px 12px;
    }

    .hp-payment-shell.hp-theme-silver .hp-silver-receipt-illustration::before {
        top: 9px;
        right: 8px;
        width: 24px;
        height: 2px;
        box-shadow: 0 7px 0 #9abdf7, 0 14px 0 #d0e1fd;
    }

    .hp-payment-shell.hp-theme-silver .hp-silver-receipt-illustration::after {
        width: 18px;
        height: 18px;
        font-size: 10px;
    }

    .hp-payment-shell.hp-theme-silver .hp-silver-receipt-summary strong {
        font-size: 12px;
    }

    .hp-payment-shell.hp-theme-silver .hp-silver-receipt-summary small {
        font-size: 9px;
        line-height: 1.65;
    }

    .hp-payment-shell.hp-theme-silver .hp-silver-receipt-action {
        grid-column: 1 / -1;
        width: 100%;
        min-height: 39px;
        font-size: 11px;
    }

    .hp-payment-shell.hp-theme-silver .hp-receipt-content {
        padding: 0 12px 13px;
    }
}

@media (max-width: 375px) {
    .hp-payment-shell.hp-theme-silver .hp-payment-header p {
        display: none;
    }

    .hp-payment-shell.hp-theme-silver .hp-silver-payment-reference {
        max-width: 118px;
        overflow: hidden;
        white-space: nowrap;
    }

    .hp-payment-shell.hp-theme-silver .hp-silver-security-copy small {
        display: none;
    }
}

/*
 * Correct the two RTL-only rendering problems that can occur when this theme
 * is injected into an RTL WordPress page: CSS Grid starts on the right in RTL,
 * while the reference deliberately keeps the amount column on the left.  The
 * decorative bank-panel scallop is also omitted instead of ever bleeding into
 * a destination card while WordPress/theme styles are composing the page.
 */
.hp-payment-shell.hp-theme-silver .hp-amount-box {
    direction: ltr;
}

.hp-payment-shell.hp-theme-silver .hp-silver-security-copy {
    direction: rtl;
}

.hp-payment-shell.hp-theme-silver .hp-transfer-panel.hp-real-card-bg::after {
    position: absolute;
    z-index: 2;
    top: auto;
    right: 24px;
    bottom: 8px;
    left: 24px;
    display: block !important;
    height: 10px;
    border: 0;
    border-radius: 0;
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='10' viewBox='0 0 28 10'%3E%3Cpath d='M0 1.5 7 8.5 14 1.5 21 8.5 28 1.5' fill='none' stroke='%23d8e2ee' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-position: center;
    background-size: 28px 10px;
    box-shadow: none;
    content: "";
    pointer-events: none;
    transform: none;
}
