.hp-payment-shell {
    --hp-blue: #1268f3;
    --hp-blue-dark: #0d54cb;
    --hp-navy: #10213d;
    --hp-text: #14213a;
    --hp-muted: #7d8799;
    --hp-line: #e2e7ee;
    --hp-soft: #f6f8fb;
    --hp-success: #109457;
    width: 100%;
    max-width: 790px;
    margin: 30px auto;
    padding: 0 14px;
    color: var(--hp-text);
    direction: rtl;
    font-family: inherit !important;
    box-sizing: border-box;
}

.hp-payment-shell *,
.hp-payment-shell *::before,
.hp-payment-shell *::after {
    box-sizing: border-box;
    font-family: inherit;
}

.hp-payment-card {
    overflow: hidden;
    border: 1px solid #dfe4eb;
    border-radius: 25px;
    background: #fff;
    box-shadow: 0 22px 70px rgba(34, 55, 86, .11);
}

.hp-payment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 112px;
    margin: 0 28px;
    padding: 24px 0;
    border-bottom: 1px solid var(--hp-line);
}

.hp-payment-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.hp-payment-header h2 {
    margin: 0 0 4px !important;
    color: var(--hp-text) !important;
    font-size: 22px !important;
    font-weight: 900 !important;
    line-height: 1.45 !important;
}

.hp-payment-header p {
    max-width: 420px;
    margin: 0;
    color: var(--hp-muted);
    font-size: 13px;
    line-height: 1.8;
}

.hp-logo-mark {
    position: relative;
    display: grid;
    flex: 0 0 58px;
    place-items: center;
    width: 58px;
    height: 58px;
    overflow: hidden;
    border-radius: 17px;
    background: #1268f3;
    box-shadow: 0 10px 24px rgba(18, 104, 243, .22);
}

.hp-logo-mark img {
    position: static;
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
}

.hp-live-dot {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    padding: 9px 13px;
    border: 1px solid #bfe5d2;
    border-radius: 10px;
    background: #eefaf4;
    color: #13814d;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.hp-live-dot i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #16b766;
    box-shadow: 0 0 0 5px rgba(22, 183, 102, .1);
}

.hp-payment-body {
    padding: 32px 28px 28px;
}

.hp-amount-box {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin: 0 auto 20px;
    text-align: center;
}

.hp-amount-box > span {
    margin-bottom: 8px;
    color: var(--hp-muted);
    font-size: 14px;
    font-weight: 600;
}

.hp-amount-box > strong {
    color: var(--hp-navy);
    font-size: clamp(29px, 5vw, 43px);
    font-weight: 950;
    line-height: 1.5;
    letter-spacing: -.8px;
}

.hp-copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    appearance: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}

.hp-copy:hover {
    transform: translateY(-1px);
}

.hp-copy svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
}

.hp-copy-amount {
    min-height: 43px;
    margin-top: 15px;
    padding: 0 16px;
    border-color: var(--hp-blue);
    border-radius: 11px;
    background: #fff;
    color: var(--hp-blue);
    font-size: 12px;
    font-weight: 800;
}

.hp-copy-amount:hover {
    background: #f3f7ff;
}

.hp-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 auto 14px;
}

.hp-summary > div {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid var(--hp-line);
    border-radius: 11px;
    background: #fafbfd;
}

.hp-summary span {
    color: var(--hp-muted);
    font-size: 11px;
}

.hp-summary strong {
    color: var(--hp-text);
    font-size: 12px;
    font-weight: 800;
}

.hp-payment-reference {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 2px;
    margin: 0 0 20px;
}

.hp-payment-reference span {
    color: var(--hp-muted);
    font-size: 11px;
}

.hp-payment-reference strong {
    direction: ltr;
    color: var(--hp-text);
    font-size: 13px;
    letter-spacing: .4px;
}

.hp-destination-switcher {
    max-width: 620px;
    margin: 0 auto 15px;
}

.hp-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.hp-section-title strong {
    color: var(--hp-text);
    font-size: 13px;
}

.hp-section-title span {
    color: var(--hp-muted);
    font-size: 11px;
}

.hp-destination-tabs {
    display: flex;
    gap: 8px;
    overflow: auto;
    padding-bottom: 3px;
    scrollbar-width: none;
}

.hp-destination-tab {
    min-width: 112px;
    padding: 9px 12px;
    border: 1px solid var(--hp-line);
    border-radius: 11px;
    background: #fff;
    color: var(--hp-text);
    text-align: right;
    cursor: pointer;
}

.hp-destination-tab span,
.hp-destination-tab small {
    display: block;
}

.hp-destination-tab span {
    font-size: 11px;
    font-weight: 800;
}

.hp-destination-tab small {
    margin-top: 2px;
    color: var(--hp-muted);
    font-size: 9px;
}

.hp-destination-tab.is-active {
    border-color: var(--hp-blue);
    background: #f5f8ff;
    box-shadow: inset 0 0 0 1px var(--hp-blue);
}

.hp-precision-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 620px;
    min-height: 58px;
    margin: 17px auto 0;
    padding: 11px 16px;
    border: 1px solid #ecd99b;
    border-radius: 13px;
    background: #fffaf0;
    color: #535966;
    text-align: center;
    font-size: 11px;
    line-height: 1.8;
}

.hp-precision-note svg {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    fill: #d69a00;
}

.hp-waiting {
    position: relative;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    max-width: 620px;
    min-height: 96px;
    margin: 17px auto 0;
    padding: 15px 16px 21px;
    overflow: hidden;
    border: 1px solid #b7e2cb;
    border-radius: 14px;
    background: linear-gradient(90deg, #f8fffb, #f1fbf6);
}

.hp-waiting strong,
.hp-waiting span {
    display: block;
}

.hp-waiting strong {
    color: #12824c;
    font-size: 13px;
    font-weight: 900;
}

.hp-waiting span {
    margin-top: 3px;
    color: #68786f;
    font-size: 10px;
}

.hp-waiting time {
    min-width: 69px;
    padding: 7px 9px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .8);
    color: #12824c;
    direction: ltr;
    text-align: center;
    font-size: 12px;
    font-weight: 900;
}

.hp-spinner {
    width: 32px;
    height: 32px;
    border: 4px solid #d1ecde;
    border-top-color: #129457;
    border-radius: 50%;
    animation: hp-spin .8s linear infinite;
}

.hp-waiting-progress {
    position: absolute;
    right: 18px;
    bottom: 10px;
    left: 18px;
    height: 5px;
    overflow: hidden;
    border-radius: 99px;
    background: #dce6e1;
}

.hp-waiting-progress i {
    display: block;
    width: 72%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #12a45e, #27bd76);
    animation: hp-progress 2.6s ease-in-out infinite alternate;
}

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

@keyframes hp-progress {
    from { width: 48%; }
    to { width: 82%; }
}

.hp-success {
    max-width: 620px;
    margin: 17px auto 0;
    padding: 25px;
    border: 1px solid #cbe8d9;
    border-radius: 16px;
    background: #f4fcf8;
    text-align: center;
}

.hp-success-check {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin: 0 auto 11px;
    border-radius: 50%;
    background: var(--hp-success);
    color: #fff;
    font-size: 27px;
    font-weight: 900;
    animation: hp-pop .35s ease;
}

@keyframes hp-pop {
    0% { transform: scale(.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.hp-success h3 {
    margin: 0 0 6px !important;
    color: #12623c !important;
    font-size: 18px !important;
}

.hp-success p {
    margin: 0 0 15px;
    color: #567767;
    font-size: 12px;
}

.hp-primary-button,
.hp-secondary-button,
.hp-ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 17px;
    border: 0;
    border-radius: 11px;
    appearance: none;
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none !important;
}

.hp-primary-button,
.hp-secondary-button {
    background: var(--hp-blue, #1268f3);
    color: #fff !important;
}

.hp-primary-button:hover,
.hp-secondary-button:hover {
    background: var(--hp-blue-dark);
}

.hp-ghost-button {
    background: var(--hp-soft);
    color: var(--hp-text);
}

.hp-primary-button:disabled {
    opacity: .4;
    cursor: not-allowed;
}

.hp-receipt {
    max-width: 620px;
    margin: 17px auto 0;
    border: 1px solid var(--hp-line);
    border-radius: 14px;
    background: #fff;
}

.hp-receipt details,
.hp-receipt summary {
    margin: 0;
}

.hp-receipt summary {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 12px;
    min-height: 76px;
    padding: 12px 16px;
    list-style: none;
    cursor: pointer;
}

.hp-receipt summary::-webkit-details-marker {
    display: none;
}

.hp-receipt summary strong,
.hp-receipt summary small {
    display: block;
}

.hp-receipt summary strong {
    color: var(--hp-text);
    font-size: 12px;
}

.hp-receipt summary small {
    margin-top: 4px;
    color: var(--hp-blue);
    font-size: 11px;
    font-weight: 800;
}

.hp-receipt-upload {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px dashed #b9c9e0;
    border-radius: 11px;
    color: var(--hp-blue);
}

.hp-receipt-upload svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.hp-receipt-arrow {
    width: 9px;
    height: 9px;
    border-right: 2px solid var(--hp-text);
    border-bottom: 2px solid var(--hp-text);
    transform: rotate(45deg);
    transition: transform .2s ease;
}

.hp-receipt details[open] .hp-receipt-arrow {
    transform: rotate(225deg);
}

.hp-receipt-content {
    padding: 0 16px 16px;
    border-top: 1px solid #eff1f4;
}

.hp-receipt form {
    display: grid;
    gap: 10px;
    padding-top: 14px;
}

.hp-file-picker {
    display: block;
    padding: 16px;
    border: 1px dashed #c7cfda;
    border-radius: 11px;
    text-align: center;
    cursor: pointer;
}

.hp-file-picker input {
    display: none;
}

.hp-file-picker span {
    color: var(--hp-muted);
    font-size: 11px;
}

.hp-receipt textarea {
    width: 100%;
    padding: 10px;
    resize: vertical;
    border: 1px solid var(--hp-line);
    border-radius: 10px;
    background: #fff;
    color: var(--hp-text);
}

.hp-receipt-sent {
    margin-top: 14px;
    padding: 12px;
    border-radius: 10px;
    background: #fff8e6;
    color: #8b6716;
    font-size: 11px;
}

.hp-form-message {
    font-size: 11px;
}

.hp-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: grid;
    place-items: center;
    padding: 18px;
}

.hp-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(225, 234, 247, .78);
    backdrop-filter: blur(8px);
}

.hp-modal-content {
    position: relative;
    width: min(440px, 100%);
    padding: 25px;
    border: 1px solid #dce3ed;
    border-radius: 21px;
    background: #fff;
    color: var(--hp-text);
    box-shadow: 0 25px 90px rgba(31, 57, 92, .2);
}

.hp-warning-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: #fff3d8;
    color: #a46800;
    font-size: 25px;
    font-weight: 900;
}

.hp-modal-content h3 {
    margin: 14px 0 8px !important;
    color: var(--hp-text) !important;
    font-size: 19px !important;
}

.hp-modal-content > p {
    margin: 0;
    color: var(--hp-muted);
    font-size: 12px;
    line-height: 2;
}

.hp-warning-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 15px;
    padding: 12px;
    border-radius: 11px;
    background: var(--hp-soft);
    font-size: 11px;
    cursor: pointer;
}

.hp-warning-check input {
    margin-top: 3px;
}

.hp-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 15px;
}

.hp-inline-message {
    max-width: 650px;
    margin: 30px auto;
    padding: 20px;
    border: 1px solid #ffd8d8;
    border-radius: 16px;
    background: #fff3f3;
    direction: rtl;
}

.hp-inline-message strong {
    display: block;
    font-size: 16px;
}

.hp-inline-message p {
    margin: 5px 0 0;
    font-size: 13px;
}

.hp-toast {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000000;
    padding: 10px 14px;
    border-radius: 11px;
    background: var(--hp-blue, #1268f3);
    color: #fff;
    font-size: 11px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, .2);
}

.hp-payment-shell [hidden] {
    display: none !important;
}

.hp-copy:focus-visible,
.hp-destination-tab:focus-visible,
.hp-primary-button:focus-visible,
.hp-secondary-button:focus-visible,
.hp-ghost-button:focus-visible,
.hp-receipt summary:focus-visible {
    outline: 2px solid var(--hp-blue);
    outline-offset: 2px;
}

@media (max-width: 620px) {
    .hp-payment-shell {
        margin: 10px auto;
        padding: 0 7px;
    }

    .hp-payment-card {
        border-radius: 19px;
        box-shadow: 0 12px 40px rgba(34, 55, 86, .09);
    }

    .hp-payment-header {
        min-height: 88px;
        margin: 0 16px;
        padding: 17px 0;
        gap: 10px;
    }

    .hp-payment-heading {
        gap: 10px;
    }

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

    .hp-payment-header h2 {
        font-size: 16px !important;
    }

    .hp-payment-header p {
        display: none;
    }

    .hp-live-dot {
        padding: 7px 9px;
        font-size: 9px;
    }

    .hp-live-dot i {
        width: 7px;
        height: 7px;
    }

    .hp-payment-body {
        padding: 24px 14px 17px;
    }

    .hp-amount-box > strong {
        font-size: 27px;
    }

    .hp-summary {
        gap: 7px;
    }

    .hp-summary > div {
        min-height: 40px;
        padding: 0 10px;
    }

    .hp-precision-note {
        align-items: flex-start;
        text-align: right;
    }

    .hp-waiting {
        grid-template-columns: 31px minmax(0, 1fr);
    }

    .hp-spinner {
        width: 29px;
        height: 29px;
    }

    .hp-waiting time {
        grid-column: 2;
        justify-self: start;
        min-width: 62px;
        margin-top: 2px;
    }

    .hp-modal-actions {
        flex-direction: column-reverse;
    }

    .hp-modal-actions > * {
        width: 100%;
    }
}

/* 0.2.10 — standalone payment page and compact summary panel. */
html:has(body.hormozpay-standalone-payment) {
    margin-top: 0 !important;
    background: #f4f7fb;
}

body.hormozpay-standalone-payment {
    min-height: 100vh;
    margin: 0 !important;
    padding: 28px 0 !important;
    background:
        radial-gradient(circle at 50% 0, rgba(255, 255, 255, .95), rgba(244, 247, 251, .82) 46%, #f1f5f9 100%) !important;
}

.hormozpay-standalone-main {
    display: block;
    width: 100%;
}

.hormozpay-standalone-payment .hp-payment-shell {
    max-width: 850px;
    margin-top: 0;
    margin-bottom: 0;
}

.hp-amount-box {
    display: block;
    width: 100%;
    min-height: 190px;
    margin: 0 auto 24px;
    padding: 42px 24px 28px;
    border: 1px solid #d9e0e9;
    border-radius: 18px;
    background: linear-gradient(135deg, #fbfcfe, #f6f8fb);
}

.hp-amount-main {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row-reverse;
    gap: 18px;
}

.hp-amount-main > strong {
    color: var(--hp-navy);
    font-size: clamp(32px, 5vw, 46px);
    font-weight: 950;
    line-height: 1.5;
    letter-spacing: -.8px;
}

.hp-copy-amount {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    min-height: 48px;
    margin: 0;
    padding: 0;
    border-color: #cbd6e5;
    border-radius: 12px;
    background: rgba(255, 255, 255, .72);
    color: var(--hp-blue);
}

.hp-copy-amount svg {
    width: 23px;
    height: 23px;
}

.hp-amount-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 25px;
    color: #687386;
    font-size: 12px;
}

.hp-amount-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hp-amount-meta strong {
    color: #566173;
    font-size: 12px;
    font-weight: 800;
}

.hp-amount-meta i {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #9ba5b4;
}

.hp-destination-switcher {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
}

.hp-destination-switcher .hp-section-title {
    display: none;
}

.hp-destination-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0;
    overflow: hidden;
    padding: 6px;
    border-radius: 16px;
}

.hp-destination-tab {
    width: 100%;
    min-width: 0;
    min-height: 68px;
    padding: 10px 14px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    text-align: center;
}

.hp-destination-tab span {
    font-size: 13px;
    font-weight: 900;
}

.hp-destination-tab small {
    margin-top: 3px;
    font-size: 9px;
}

.hp-destination-tab.is-active {
    border-color: var(--hp-blue);
    background: #f4f8ff;
    color: var(--hp-blue);
    box-shadow: none;
}

@media (max-width: 620px) {
    body.hormozpay-standalone-payment {
        padding: 7px 0 !important;
    }

    .hp-amount-box {
        min-height: 150px;
        margin-bottom: 16px;
        padding: 29px 12px 20px;
        border-radius: 14px;
    }

    .hp-amount-main {
        gap: 10px;
    }

    .hp-amount-main > strong {
        font-size: 27px;
    }

    .hp-copy-amount {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
        min-height: 40px;
    }

    .hp-amount-meta {
        gap: 8px;
        margin-top: 19px;
        font-size: 10px;
    }

    .hp-amount-meta strong {
        font-size: 10px;
    }

    .hp-destination-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        border-radius: 13px;
    }

    .hp-destination-tab {
        min-height: 57px;
        padding: 7px;
    }
}

/* 0.2.11 — configurable, compact payment appearance. */
.hp-payment-shell.hp-size-compact {
    max-width: 700px;
    margin: 16px auto;
}

body.hormozpay-standalone-payment {
    padding: 12px 0 !important;
}

.hormozpay-standalone-payment .hp-payment-shell.hp-size-compact {
    margin-top: 0;
    margin-bottom: 0;
}

.hp-size-compact .hp-payment-card {
    border-radius: 18px;
}

.hp-size-compact .hp-payment-header {
    min-height: 76px;
    margin: 0 20px;
    padding: 14px 0;
    gap: 12px;
}

.hp-size-compact .hp-payment-heading {
    gap: 10px;
}

.hp-size-compact .hp-logo-mark {
    flex-basis: 43px;
    width: 43px;
    height: 43px;
    border-radius: 12px;
}

.hp-size-compact .hp-payment-header h2 {
    margin-bottom: 2px !important;
    font-size: 16px !important;
}

.hp-size-compact .hp-payment-header p {
    max-width: 390px;
    font-size: 10px;
    line-height: 1.65;
}

.hp-size-compact .hp-live-dot {
    gap: 6px;
    padding: 7px 9px;
    font-size: 9px;
}

.hp-size-compact .hp-live-dot i {
    width: 7px;
    height: 7px;
}

.hp-size-compact .hp-payment-body {
    padding: 18px 20px 20px;
}

.hp-size-compact .hp-amount-box {
    min-height: 116px;
    margin-bottom: 13px;
    padding: 23px 15px 16px;
    border-radius: 13px;
}

.hp-size-compact .hp-amount-main {
    gap: 11px;
}

.hp-size-compact .hp-amount-main > strong {
    font-size: clamp(25px, 4.3vw, 34px);
    line-height: 1.35;
}

.hp-size-compact .hp-copy-amount {
    flex-basis: 37px;
    width: 37px;
    height: 37px;
    min-height: 37px;
    border-radius: 9px;
}

.hp-size-compact .hp-copy-amount svg {
    width: 18px;
    height: 18px;
}

.hp-size-compact .hp-amount-meta {
    gap: 8px;
    margin-top: 13px;
    font-size: 9px;
}

.hp-size-compact .hp-amount-meta strong {
    font-size: 9px;
}

.hp-size-compact .hp-amount-meta i {
    width: 3px;
    height: 3px;
}

.hp-size-compact .hp-destination-switcher {
    margin-bottom: 12px;
}

.hp-size-compact .hp-destination-tabs {
    padding: 4px;
    border-radius: 12px;
}

.hp-size-compact .hp-destination-tab {
    min-height: 48px;
    padding: 6px 9px;
    border-radius: 9px;
}

.hp-size-compact .hp-destination-tab span {
    font-size: 11px;
}

.hp-size-compact .hp-destination-tab small {
    font-size: 8px;
}

.hp-size-compact .hp-precision-note {
    min-height: 44px;
    margin-top: 11px;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 9px;
}

.hp-size-compact .hp-precision-note svg {
    flex-basis: 19px;
    width: 19px;
    height: 19px;
}

.hp-size-compact .hp-waiting {
    grid-template-columns: 27px minmax(0, 1fr) auto;
    min-height: 72px;
    margin-top: 11px;
    padding: 11px 13px 17px;
    border-radius: 11px;
}

.hp-size-compact .hp-waiting strong {
    font-size: 11px;
}

.hp-size-compact .hp-waiting span {
    font-size: 8px;
}

.hp-size-compact .hp-waiting time {
    min-width: 58px;
    padding: 5px 7px;
    font-size: 10px;
}

.hp-size-compact .hp-spinner {
    width: 25px;
    height: 25px;
    border-width: 3px;
}

.hp-size-compact .hp-waiting-progress {
    right: 13px;
    bottom: 7px;
    left: 13px;
    height: 3px;
}

.hp-size-compact .hp-success {
    margin-top: 11px;
    padding: 18px;
    border-radius: 12px;
}

.hp-size-compact .hp-success-check {
    width: 42px;
    height: 42px;
    font-size: 22px;
}

.hp-size-compact .hp-success h3 {
    font-size: 15px !important;
}

.hp-size-compact .hp-receipt {
    margin-top: 11px;
    border-radius: 11px;
}

.hp-size-compact .hp-receipt summary {
    grid-template-columns: 34px minmax(0, 1fr) 15px;
    min-height: 58px;
    gap: 9px;
    padding: 9px 13px;
}

.hp-size-compact .hp-receipt summary strong,
.hp-size-compact .hp-receipt summary small {
    font-size: 9px;
}

.hp-size-compact .hp-receipt-upload {
    width: 34px;
    height: 34px;
    border-radius: 8px;
}

.hp-size-compact .hp-receipt-upload svg {
    width: 18px;
    height: 18px;
}

.hp-no-border .hp-payment-card {
    border-color: transparent;
}

.hp-no-shadow .hp-payment-card,
.hp-no-shadow .hp-real-card-bg {
    box-shadow: none;
}

.hp-neutral-color {
    --hp-blue: #273244 !important;
    --hp-blue-dark: #111827 !important;
}

.hp-card-mode-simple .hp-real-card-bg,
.hp-card-mode-simple .hp-real-card-bg[data-bank] {
    border: 1px solid #dce2ea;
    border-top: 1px solid #dce2ea;
    background: #fff;
    color: var(--hp-text);
    box-shadow: none;
}

.hp-card-mode-simple .hp-real-card-bg::before,
.hp-card-mode-simple .hp-real-card-bg::after,
.hp-card-mode-simple .hp-card-chip {
    display: none;
}

.hp-card-mode-simple .hp-bank-logo {
    border-color: #dce2ea;
    background: #f5f7fa;
    color: var(--hp-blue);
    box-shadow: none;
}

.hp-card-mode-simple .hp-bank-top h3,
.hp-card-mode-simple .hp-account-line code,
.hp-card-mode-simple .hp-extra-value code,
.hp-card-mode-simple .hp-owner strong {
    color: var(--hp-text) !important;
    text-shadow: none;
}

.hp-card-mode-simple .hp-bank-title,
.hp-card-mode-simple .hp-account-label,
.hp-card-mode-simple .hp-extra-value > span,
.hp-card-mode-simple .hp-owner span,
.hp-card-mode-simple .hp-destination-note {
    color: var(--hp-muted);
}

.hp-card-mode-simple .hp-method-pill,
.hp-card-mode-simple .hp-extra-value,
.hp-card-mode-simple .hp-copy-card,
.hp-card-mode-simple .hp-copy-extra {
    border-color: #dce2ea;
    background: #f7f9fb;
    color: var(--hp-blue);
    backdrop-filter: none;
}

.hp-card-mode-simple .hp-account-value {
    margin-top: 29px;
}

.hp-toast {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease;
}

.hp-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 620px) {
    body.hormozpay-standalone-payment {
        padding: 5px 0 !important;
    }

    .hp-payment-shell.hp-size-compact {
        margin: 7px auto;
        padding: 0 5px;
    }

    .hormozpay-standalone-payment .hp-payment-shell.hp-size-compact {
        margin-top: 0;
        margin-bottom: 0;
    }

    .hp-size-compact .hp-payment-card {
        border-radius: 14px;
    }

    .hp-size-compact .hp-payment-header {
        min-height: 67px;
        margin: 0 13px;
        padding: 11px 0;
    }

    .hp-size-compact .hp-payment-header p {
        display: none;
    }

    .hp-size-compact .hp-payment-body {
        padding: 13px;
    }

    .hp-size-compact .hp-amount-box {
        min-height: 101px;
        margin-bottom: 10px;
        padding: 19px 9px 13px;
    }

    .hp-size-compact .hp-amount-main > strong {
        font-size: 23px;
    }

    .hp-size-compact .hp-amount-meta {
        margin-top: 11px;
    }

    .hp-size-compact .hp-waiting {
        grid-template-columns: 24px minmax(0, 1fr);
    }

    .hp-size-compact .hp-waiting time {
        grid-column: 2;
        justify-self: start;
        margin-top: 1px;
    }
}
