/* ==========================================================================
   Orange Jordan QuickPay & Direct-Debit consolidated stylesheet.
   This file owns ALL component-level CSS that used to live inline inside
   the GSP templates under /views/quickPay/.  Per-page sections are clearly
   delimited.  All selectors are namespaced (qrc-*, qrh-*, qrb-*, qrcc-*,
   qrvc-*, qrs-*, ojh-*) so nothing leaks between pages.
   ========================================================================== */

:root {
    --oj-orange: #ef6d00;
    --oj-orange-hover: #e66d00;
    --oj-orange-light: #fff5ed;
    --oj-cta-light: #ef6d00;
    --oj-cta-light-hover: #e66d00;
    --oj-ink: #1a1a1a;
    --oj-label: #9ca3af;
    --oj-border: #ebebeb;
    --oj-border-soft: #f3f4f6;
    --oj-input-bg: #f9fafb;
    --oj-bg-page: #f7f7f7;
    --oj-shell-radius: 48px;
    --oj-inner-radius: 32px;
    --oj-chip-radius: 12px;
}

/* ==========================================================================
   QuickPay layout chrome — footer.
   ========================================================================== */
.oj-footer {
    background: #ffffff;
    border-top: 0;
    padding: 24px 0;
    margin-top: auto;
    color: #1a1a1a;
}

.oj-footer-inner {
    width: calc(100% - 48px);
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(max-content, 1fr) auto 38px;
    align-items: center;
    column-gap: clamp(28px, 5vw, 80px);
}

.oj-footer-copy {
    margin: 0;
    color: #2f2f2f;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
    white-space: nowrap;
}
.oj-footer-copy strong {
    font-weight: 700;
    color: #1a1a1a;
}

.oj-footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(24px, 2.3vw, 42px);
    list-style: none;
    margin: 0;
    padding: 0;
}

.oj-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2f2f2f;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
    transition: color 0.15s ease;
    white-space: nowrap;
}
.oj-footer-link .oj-footer-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    display: block;
    object-fit: contain;
}
.oj-footer-link:hover {
    color: #ef6d00;
}

.oj-footer-scroll-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid #bdbdbd;
    border-radius: 8px;
    background: #f7f7f7;
    color: #333333;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    flex-shrink: 0;
}
.oj-footer-scroll-top svg {
    width: 17px;
    height: 17px;
    fill: none;
}
.oj-footer-scroll-top:hover {
    background: #eeeeee;
    border-color: #8f8f8f;
    color: #111111;
}

.header-title {
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    letter-spacing: -0.2px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-back-orange {
    background-color: #000000;
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.2s ease;
}

.btn-back-orange:hover {
    background-color: #222222;
    color: #ffffff;
}

.btn-back-orange .orange-jo-text {
    color: #ff7900;
}

.header-divider {
    color: #d1d5db;
    font-weight: 300;
    font-size: 14px;
}
.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Page Content Area */
.rtp-page-wrapper {
    flex: 1;
    max-width: 850px;
    width: 100%;
    margin: 0 auto;
    padding: 36px 20px 60px 20px;
}

.back-method-container {
    margin-bottom: 16px;
    text-align: start;
}

[dir="rtl"] .back-method-container {
    text-align: right;
}

.back-method-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #000000;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.15s ease;
}

.back-method-link:hover {
    color: #ff7900;
}

/* White Rounded Card Box */
.rtp-card {
    background-color: #ffffff;
    border-radius: 20px;
    border: 1px solid #eef0f3;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
    padding: 48px 40px 44px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.rtp-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 18px;
}

.rtp-card-desc {
    font-size: 14px;
    color: #222222;
    line-height: 1.5;
    max-width: 520px;
    margin-bottom: 24px;
}

.rtp-timer-text {
    font-size: 22px;
    font-weight: 700;
    color: #ff7900;
    letter-spacing: 0.5px;
}

.top-secure-banner svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: #ffffff;
    stroke-width: 2;
}

.btn-back-orange:hover {
    background-color: #222222;
    color: #ffffff;
}

.btn-back-orange .orange-jo-text {
    color: #ff7900;
}

.lang-link:hover {
    text-decoration: underline;
}

/* Page Content Area */
.payment-info-page-wrapper {
    flex: 1;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    padding: 36px 20px 60px 20px;
}

/* =====================================================
   CreditCardLink Page — ccl- namespace
   ===================================================== */

/* ── Page shell ── */
/* Align with directDebit/index (.qrh-page / .qrh-shell-wrap) and replaceCard (.rcd-shell) */
.ccl-page {
    background: #f5f5f5;
    min-height: calc(100vh - 180px);
    padding: 28px 16px 48px;
}

.ccl-shell {
    max-width: 720px;
    width: 100%;
    margin: 0 auto;
}

/* ── Page title (no-card state) ── */
.ccl-page-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 16px;
}

/* ── Warning banner (no-card state) ── */
.ccl-warning-banner {
    background: #fff;
    border: 1px solid #f2a1a1;
    border-radius: 15px;
    padding: 18px 22px 20px;
    margin-bottom: 14px;
    box-shadow: 0 0 12px rgba(0, 0, 0, .04);
}

.ccl-warning-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.ccl-warning-head svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: #f9a825;
}

.ccl-warning-head span {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .04em;
    color: #1a1a1a;
}

.ccl-warning-body {
    font-size: 14px;
    color: #444;
    margin: 0;
}

.ccl-warning-body strong {
    font-weight: 700;
    color: #1a1a1a;
}

/* ── Accordion step card ── */
.ccl-step-card {
    background: #fff;
    border: none;
    border-radius: 15px;
    margin-bottom: 14px;
    overflow: hidden;
    box-shadow: 0 0 12px rgba(0, 0, 0, .08);
    transition: box-shadow .2s;
}

.ccl-step-card.is-open {
    box-shadow: 0 0 12px rgba(0, 0, 0, .08);
}

.ccl-step-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
}

.ccl-step-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ccl-step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ff6c00;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ccl-step-card:not(.is-open) .ccl-step-num {
    background: #e0e0e0;
    color: #888;
}

.ccl-step-label {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
}

.ccl-step-chevron {
    width: 22px;
    height: 22px;
    color: #555;
    transition: transform .25s;
    flex-shrink: 0;
}

.ccl-step-card.is-open .ccl-step-chevron {
    transform: rotate(180deg);
}

.ccl-step-body {
    display: none;
    padding: 0 20px 24px;
}

.ccl-step-card.is-open .ccl-step-body {
    display: block;
}

/* ── Form fields inside accordion ── */
.ccl-field {
    margin-bottom: 14px;
}

.ccl-field-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #444;
    margin-bottom: 6px;
}

.ccl-field-label .ccl-required {
    color: #e53935;
    margin-inline-start: 2px;
}

.ccl-input {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid #d8d8d8;
    border-radius: 10px;
    font-size: 14px;
    color: #1a1a1a;
    background: #fff;
    box-sizing: border-box;
    outline: none;
    transition: border-color .15s;
}

.ccl-input:focus {
    border-color: #ff6c00;
}

.ccl-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* ── Next button ── */
.ccl-next-wrap {
    text-align: center;
    margin-top: 20px;
}

.ccl-next-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    min-width: 160px;
    padding: 0 32px;
    background: #ff6c00;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .18s, transform .12s;
}

.ccl-next-btn:hover {
    background: #e56000;
}

.ccl-next-btn:active {
    transform: scale(.97);
}

/* ══════════════════════════════════════════════════════
   DIRECT DEBIT — Terms and Conditions collapsible card
   ══════════════════════════════════════════════════════ */

.dd-lt-card {
    background: #fff;
    border: none;
    border-radius: 15px;
    padding: 22px;
    margin-bottom: 14px;
    box-shadow: 0 0 12px rgba(0, 0, 0, .08);
}

.dd-lt-head {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: start;
    font: inherit;
    color: inherit;
    appearance: none;
    -webkit-appearance: none;
    transition: opacity .15s ease;
}

.dd-lt-head.ccl-info-card-head {
    margin-bottom: 0;
}

.dd-lt-head:hover {
    opacity: .85;
}

.dd-lt-head:focus-visible {
    outline: 2px solid #ff7900;
    outline-offset: 2px;
    border-radius: 8px;
}

[dir="rtl"] .dd-lt-head {
    text-align: right;
}

.dd-lt-head .ccl-check-icon,
.dd-lt-head .ccl-info-title {
    pointer-events: none;
}

.dd-lt-body {
    overflow: hidden;
}

.dd-lt-card.is-open .dd-lt-head {
    margin-bottom: 14px;
}

.dd-lt-content {
    font-size: 13px;
    color: #555;
    line-height: 1.55;
}

.dd-lt-content p {
    margin: 0 0 12px;
}

.dd-lt-content p:last-child {
    margin-bottom: 0;
}

[dir="rtl"] .dd-lt-content {
    text-align: right;
}

.dd-lt-content .qrh-lt-heading {
    margin: 16px 0 8px;
    color: #000;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.dd-lt-content .qrh-lt-heading:first-child {
    margin-top: 0;
}

.dd-lt-content .qrh-lt-bullet {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.dd-lt-content .qrh-lt-bullet-mark {
    flex: 0 0 auto;
    line-height: 1.5;
}

.dd-lt-content .qrh-lt-bullet-text {
    flex: 1 1 auto;
    min-width: 0;
}

.dd-lt-content .qrh-lt-number {
    margin-inline-start: 1.25em;
}

.dd-lt-content .qrh-lt-number.is-nested {
    margin-inline-start: 2.6em;
}

/* ══════════════════════════════════════════════════════
   CARD-LINKED STATE  ——  Summary view
   ══════════════════════════════════════════════════════ */

/* ── Info card (match .qrh-form-card / .rcd-step-card) ── */
.ccl-info-card {
    background: #fff;
    border: none;
    border-radius: 15px;
    padding: 22px;
    margin-bottom: 14px;
    box-shadow: 0 0 12px rgba(0, 0, 0, .08);
}

.ccl-info-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.ccl-check-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ccl-check-icon svg {
    width: 18px;
    height: 18px;
}

.ccl-check-icon .rcd-done-check {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
}

.ccl-info-title {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .05em;
    color: #1a1a1a;
    margin: 0;
    text-transform: uppercase;
}

.ccl-info-meta {
    font-size: 13px;
    color: #555;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 24px;
    margin: 0;
}

.ccl-info-meta .ccl-meta-label {
    color: #888;
}

.ccl-info-meta .ccl-meta-val {
    font-weight: 700;
    color: #1a1a1a;
}

/* ── Linked-card card (match .qrh-form-card / .rcd-step-card) ── */
.ccl-linked-card {
    background: #fff;
    border: none;
    border-radius: 15px;
    padding: 22px;
    margin-bottom: 24px;
    box-shadow: 0 0 12px rgba(0, 0, 0, .08);
}

.ccl-linked-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.ccl-linked-head-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ccl-replace-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #ff6c00;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: opacity .15s;
}

.ccl-replace-btn:hover {
    opacity: .75;
}

.ccl-replace-btn svg {
    width: 16px;
    height: 16px;
}

.ccl-linked-msg {
    font-size: 13px;
    color: #555;
    margin: 0;
}

.ccl-linked-msg strong {
    font-weight: 700;
    color: #1a1a1a;
}

/* ── Deactivate button ── */
.ccl-deactivate-wrap {
    text-align: center;
    margin-top: 8px;
}

.ccl-deactivate-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 46px;
    padding: 0 28px;
    background: transparent;
    color: #e53935;
    border: 1.5px solid #e53935;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .18s, color .18s, transform .12s;
}

.ccl-deactivate-btn:hover {
    background: #e53935;
    color: #fff;
}

.ccl-deactivate-btn:active {
    transform: scale(.97);
}

.ccl-deactivate-btn svg {
    width: 16px;
    height: 16px;
}

/* ── Confirm / Deactivate Modal ── */
.ccl-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: none;
    align-items: center;
    justify-content: center;
}

.ccl-modal-overlay.is-open {
    display: flex;
}

.ccl-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);
}

.ccl-modal {
    position: relative;
    background: #fff;
    border-radius: 18px;
    padding: 32px 28px 24px;
    width: 92%;
    max-width: 380px;
    text-align: center;
    box-shadow: 0 12px 48px rgba(0,0,0,.18);
    z-index: 1;
}

.ccl-modal-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #ffeee5;
    color: #ff6c00;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.ccl-modal-icon.is-red {
    background: #fdecea;
    color: #e53935;
}

.ccl-modal-icon svg {
    width: 26px;
    height: 26px;
}

.ccl-modal-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px;
}

.ccl-modal-text {
    font-size: 13px;
    color: #666;
    margin: 0 0 22px;
    line-height: 1.6;
}

.ccl-modal-text strong {
    font-weight: 700;
    color: #1a1a1a;
}

.ccl-modal-actions {
    display: flex;
    gap: 10px;
}

.ccl-modal-btn {
    flex: 1;
    height: 44px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: opacity .15s;
}

.ccl-modal-btn:hover { opacity: .85; }

.ccl-modal-btn-cancel {
    background: #f2f2f2;
    color: #555;
}

.ccl-modal-btn-orange {
    background: #ff6c00;
    color: #fff;
}

.ccl-modal-btn-red {
    background: #e53935;
    color: #fff;
}

.ccl-modal--reason {
    max-width: 480px;
    text-align: center;
}

.ccl-modal--reason .rcp-textarea:focus {
    border-color: #ff6c00;
    box-shadow: 0 0 0 3px rgba(255, 108, 0, .15);
}

/* ── Desktop padding (match .rcd-step-card / .qrh-form-card) ── */
@media (min-width: 768px) {
    .ccl-info-card,
    .ccl-linked-card,
    .dd-lt-card {
        padding: 28px 48px;
        border-radius: 15px;
    }

    .ccl-step-card {
        border-radius: 15px;
    }

    .ccl-step-header {
        padding: 28px 48px 20px;
    }

    .ccl-step-body {
        padding: 0 48px 36px;
    }

    .ccl-warning-banner {
        padding: 22px 48px 24px;
        border-radius: 15px;
    }
}

/* ── Responsive ── */
@media (max-width: 640px) {
    .ccl-page {
        padding: 20px 12px 40px;
    }
}

@media (max-width: 500px) {
    .ccl-field-row { grid-template-columns: 1fr; }
    .ccl-info-meta { flex-direction: column; gap: 4px; }
}

/* Align with directDebit/index (.qrh-page / .qrh-shell-wrap / .qrh-form-card) */
.rcd-page {
    background: #f5f5f5;
    min-height: calc(100vh - 180px);
    padding: 28px 16px 48px;
}

.rcd-shell {
    max-width: 720px;
    width: 100%;
    margin: 0 auto;
}

.rcd-page-label {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 700;
    color: #000000;
}

.rcd-warning-banner {
    background: #f3f3f3;
    border: 1px solid #f2a1a1;
    border-radius: 15px;
    padding: 18px 22px 20px;
    margin-bottom: 14px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.04);
}

.rcd-warning-head {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 8px;
}

.rcd-warning-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #f4b400;
}

.rcd-warning-title {
    margin: 0;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 700;
    color: #ef3b2d;
}

.rcd-warning-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}

.rcd-warning-text strong {
    font-weight: 700;
    color: #151515;
}

.rcd-step-card {
    background: #fff;
    border: none;
    border-radius: 15px;
    margin-bottom: 14px;
    overflow: hidden;
    box-shadow: 0 0 12px rgba(0, 0, 0, .08);
}

/* Terms step: checkbox row spacing inside accordion body */
.rcd-terms-row {
    margin: 0;
    padding-top: 4px;
    padding-bottom: 8px;
}

.rcd-step-card.is-collapsed {
    box-shadow: 0 0 12px rgba(0, 0, 0, .08);
}

.rcd-step-card.is-done {
    border: 1px solid #e6e6e6;
}

.rcd-step-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 22px 22px 18px;
}

.rcd-step-card.is-done .rcd-step-header {
    padding-bottom: 12px;
}

.rcd-step-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.rcd-step-title-wrap {
    min-width: 0;
}

.rcd-done-check {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: block;
}

.rcd-step-card.is-done .rcd-step-title {
    letter-spacing: .02em;
}

.rcd-edit-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    background: transparent;
    color: #ef6d00;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    flex-shrink: 0;
}

.rcd-edit-btn svg {
    width: 16px;
    height: 16px;
}

.rcd-edit-btn:hover {
    color: #d85f00;
}

.rcd-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding: 0 22px 22px;
}

.rcd-summary-item {
    min-width: 0;
}

.rcd-summary-label {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: #9a9a9a;
    margin-bottom: 4px;
}

.rcd-summary-label .rcd-required {
    color: #ef3b2d;
}

.rcd-summary-value {
    display: block;
    font-size: 8px;
    font-weight: 700;
    color: #111;
    word-break: break-word;
}

.rcd-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #ef6d00;
    background: #ef6d00;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
    /* Keep Western digits (1,2,3) even when UI language is Arabic */
    direction: ltr;
    unicode-bidi: isolate;
    font-variant-numeric: lining-nums;
}

.rcd-step-card.is-collapsed .rcd-step-num,
.rcd-collapsed-card .rcd-step-num {
    border-color: #bcbcbc;
    background: #fff;
    color: #8c8c8c;
}

.rcd-step-title {
    font-size: 15px;
    font-weight: 700;
    color: #111;
    margin: 0;
}

.rcd-step-chevron {
    width: 20px;
    height: 20px;
    color: #1e1e1e;
    flex-shrink: 0;
}

.rcd-step-body {
    padding: 0 22px 28px;
}

.rcd-field {
    margin-bottom: 16px;
}

.rcd-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.rcd-label {
    display: block;
    margin-bottom: 8px;
    font-size: 10px;
    font-weight: 700;
    color: #000000;
}

.rcd-label .rcd-required {
    color: #ef3b2d;
    margin-inline-start: 2px;
}

.rcd-input {
    width: 100%;
    height: 40px;
    padding: 0 20px;
    border: 1px solid #a9a9a9;
    border-radius: 999px;
    background: #fff;
    box-sizing: border-box;
    outline: none;
    font-size: 10px;
    color: #1a1a1a;
    font-family: inherit;
    transition: border-color .15s, box-shadow .15s;
}

.rcd-input:focus {
    border-color: #ef6d00;
    box-shadow: 0 0 0 3px rgba(255, 121, 0, .12);
}

.rcd-input::placeholder {
font-size: 12px;
}

.rcd-input.is-error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, .12);
}

.rcd-next-wrap {
    display: flex;
    justify-content: center;
    padding-top: 10px;
}

.rcd-next-btn {
    min-width: 160px;
    max-width: 360px;
    width: 100%;
    height: auto;
    padding: 15px 24px;
    border: none;
    border-radius: 999px;
    background: #ef6d00;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s ease, transform .12s ease;
}

.rcd-next-btn:hover {
    background: #e66d00;
}

.rcd-next-btn:active {
    transform: scale(.98);
}

.rcd-collapsed-card {
    background: #fff;
    border: none;
    border-radius: 15px;
    margin-bottom: 14px;
    box-shadow: 0 0 12px rgba(0, 0, 0, .08);
}

.rcd-collapsed-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 22px;
}

.rcd-collapsed-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

@media (min-width: 768px) {
    .rcd-step-header {
        padding: 28px 48px 20px;
    }

    .rcd-step-card.is-done .rcd-step-header {
        padding-bottom: 14px;
    }

    .rcd-step-body {
        padding: 0 48px 36px;
    }

    .rcd-summary {
        padding: 0 48px 28px;
        gap: 24px;
    }

    .rcd-summary-label {
        font-size: 12px;
    }

    .rcd-summary-value {
        font-size: 10px;
    }

    .rcd-collapsed-head {
        padding: 28px 48px;
    }

    .rcd-warning-banner {
        padding: 22px 48px 24px;
    }

    .rcd-label {
        font-size: 14px;
    }

    .rcd-input {
        padding: 0 22px;
        font-size: 15px;
    }

    .rcd-next-btn {
        width: auto;
        padding: 16px 28px;
        font-size: 16px;
    }
}

@media (max-width: 640px) {
    .rcd-field-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .rcd-summary {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .rcd-page {
        padding: 20px 12px 40px;
    }
}

/* =====================================================
   Verify Mobile Page  —  vmo- namespace
   ===================================================== */

/* ── Page shell ── */
.vmo-page {
    background: #f5f5f5;
    min-height: calc(100vh - 120px);
    padding: 40px 16px 60px;
}

.vmo-shell {
    max-width: 620px;
    margin: 0 auto;
}

/* ── Section label ── */
.vmo-section-label {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #1a1a1a;
    margin: 0 0 14px 4px;
}

/* ── White card ── */
.vmo-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 18px;
    padding: 40px 32px 36px;
    box-shadow: 0 4px 24px rgba(0,0,0,.07);
    text-align: center;
}

/* ── Card title ── */
.vmo-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px;
}

/* ── Description text ── */
.vmo-desc {
    font-size: 13px;
    color: #777;
    line-height: 1.6;
    margin: 0 auto 28px;
    max-width: 400px;
}

/* ── OTP check icon (hidden by default, shown when all filled) ── */
.vmo-check-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.qvm-check {
    display: none;
    width: 36px;
    height: 36px;
}

.qvm-check.is-show {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.qvm-check-icon {
    width: 36px;
    height: 36px;
}

/* ── OTP boxes row ── */
.vmo-otp-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.vmo-otp-box {
    width: 58px;
    height: 58px;
    border: 1.5px solid #d0d0d0;
    border-radius: 12px;
    background: #fff;
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
    -moz-appearance: textfield;
    caret-color: #ff6c00;
}

.vmo-otp-box::-webkit-inner-spin-button,
.vmo-otp-box::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

.vmo-otp-box:focus {
    border-color: #ff6c00;
    box-shadow: 0 0 0 3px rgba(255, 108, 0, .15);
}

.vmo-otp-box.is-filled {
    border-color: #ff6c00;
}

.vmo-otp-box.is-error {
    border-color: #e53935;
    box-shadow: 0 0 0 3px rgba(229, 57, 53, .12);
}

/* ── Error message ── */
.vmo-error-msg {
    font-size: 13px;
    color: #e53935;
    margin: -14px 0 14px;
    min-height: 18px;
    display: none;
}

.vmo-error-msg.is-show {
    display: block;
}

/* ── Continue / Submit button ── */
.vmo-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    width: 100%;
    max-width: 220px;
    border: none;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .18s, transform .12s;
    background: #d0d0d0;
    color: #fff;
    margin-bottom: 20px;
}

.vmo-submit-btn:not(:disabled) {
    background: #ff6c00;
    cursor: pointer;
}

.vmo-submit-btn:not(:disabled):hover {
    background: #e56000;
}

.vmo-submit-btn:not(:disabled):active {
    transform: scale(.97);
}

.vmo-submit-btn:disabled {
    cursor: not-allowed;
    opacity: 1;
}

/* ── Timer display ── */
.vmo-timer {
    font-size: 14px;
    font-weight: 600;
    color: #555;
    margin: 0 0 8px;
    text-align: center;
    font-variant-numeric: tabular-nums;
    letter-spacing: .04em;
}

/* ── Resend row ── */
.vmo-resend-row {
    font-size: 13px;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
}

/* Resend button — styled as an inline link */
.vmo-resend-btn {
    background: none;
    border: none;
    padding: 0;
    font-size: 13px;
    font-weight: 600;
    color: #ff6c00;
    cursor: pointer;
    text-decoration: none;
    transition: opacity .15s;
}

.vmo-resend-btn:disabled {
    color: #ccc;
    cursor: not-allowed;
}

.vmo-resend-btn:not(:disabled):hover {
    opacity: .75;
}

/* ── Back link ── */
.vmo-back-link {
    display: inline-block;
    margin-top: 18px;
    font-size: 13px;
    color: #888;
    text-decoration: none;
    transition: color .15s;
}

.vmo-back-link:hover {
    color: #ff6c00;
}

/* ── Responsive ── */
@media (max-width: 480px) {
    .vmo-card { padding: 32px 20px 28px; }
    .vmo-otp-box { width: 48px; height: 48px; font-size: 18px; border-radius: 10px; }
    .vmo-otp-row { gap: 8px; }
}

@media (max-width: 820px) {
    .oj-footer {
        padding: 22px 0;
    }
    .oj-footer-inner {
        width: calc(100% - 32px);
        grid-template-columns: 1fr 34px;
        row-gap: 20px;
        column-gap: 16px;
    }
    .oj-footer-copy {
        grid-column: 1;
        grid-row: 2;
    }
    .oj-footer-links {
        grid-column: 1 / -1;
        grid-row: 1;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 16px 24px;
    }
    .oj-footer-scroll-top {
        grid-column: 2;
        grid-row: 2;
        justify-self: end;
    }
}

@media (max-width: 520px) {
    .oj-footer-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 12px;
    }
    .oj-footer-copy {
        font-size: 11px;
        white-space: normal;
    }
    .oj-footer-link {
        font-size: 11px;
        white-space: normal;
        line-height: 1.3;
    }
    .oj-footer-inner {
        width: calc(100% - 24px);
    }
}

/* ==========================================================================
   Header — `ojh-*`
   Used in: views/quickPay/_header.gsp
   Figma: 1920×215 (48px banner + 167px white header)
   ========================================================================== */

:root {
    --ojh-logo-offset: clamp(20px, 7.083vw, 136px);
    --ojh-right-offset: clamp(20px, 2.5vw, 48px);
    --ojh-logo-size: clamp(50px, 4.167vw, 80px);
    --ojh-logo-gap: clamp(18px, 3.125vw, 60px);
    --ojh-main-height: clamp(116px, 8.646vw, 166px);
    --ojh-title-height: clamp(58px, 3.854vw, 74px);
    --ojh-header-font: "Helvetica Neue", Helvetica, Arial, sans-serif;
    --ojh-header-font-ar: "Helvetica Neue Arabic", "Helvetica Neue", Arial, sans-serif;
    --ojh-line-color: #b8b8b8;
    --ojh-orange: #f16e00;
}

/* ── Secure banner ── */
.ojh-secure-banner,
.ojh-secure-banner * {
    font-family: var(--ojh-header-font) !important;
}
.ojh-secure-banner {
    background: #000000;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(8px, 0.625vw, 12px);
    height: clamp(32px, 2.5vw, 48px);
    padding: 0 clamp(12px, 1.25vw, 24px);
    box-sizing: border-box;
}
.ojh-secure-icon {
    width: clamp(18px, 1.25vw, 24px);
    height: clamp(18px, 1.25vw, 24px);
    flex-shrink: 0;
}
.ojh-secure-text {
    font-size: clamp(12px, 0.833vw, 16px);
    font-weight: 700;
    line-height: 1;
}
.ojh-header {
    background: #ffffff;
    border-bottom: 1px solid #b8b8b8;
    width: 100%;
    box-sizing: border-box;
}
.ojh-shell {
    max-width: 1920px;
    margin: 0 auto;
}

/* ── Grid: logo (col 1) | content (col 2) ── */
.ojh-grid {
    display: grid;
    grid-template-columns: var(--ojh-logo-size) minmax(0, 1fr);
    grid-template-rows: var(--ojh-title-height) 1px minmax(0, 1fr);
    column-gap: var(--ojh-logo-gap);
    row-gap: 0;
    min-height: var(--ojh-main-height);
    padding: 0 var(--ojh-right-offset) 0 var(--ojh-logo-offset);
    box-sizing: border-box;
}

/* Logo spans title + nav rows; crosses the middle divider */
.ojh-logo {
    grid-column: 1;
    grid-row: 1 / 4;
    align-self: center;
    display: inline-flex;
    text-decoration: none;
    line-height: 0;
}
.ojh-logo-img {
    width: var(--ojh-logo-size);
    height: var(--ojh-logo-size);
    display: block;
    object-fit: contain;
}

/* Title row */
.ojh-title-row {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(12px, 1.25vw, 24px);
    min-width: 0;
}
.ojh-gateway-label {
    font-size: clamp(13px, 0.885vw, 17px);
    font-weight: 700;
    line-height: 1.4;
    color: #000000;
    white-space: nowrap;
}
.ojh-lang-btn,
.ojh-lang-btn span {
    font-family: var(--ojh-header-font);
}
.ojh-lang-btn {
    display: inline-flex;
    align-items: center;
    padding: 0;
    background: none;
    border: none;
    color: #000000;
    font-size: clamp(12px, 0.729vw, 14px);
    font-weight: 400;
    line-height: 24px;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}
.ojh-lang-btn:hover { color: #000000; }

/* Middle divider — content column only, starts at logo's right edge */
.ojh-divider {
    grid-column: 2;
    grid-row: 2;
    height: 0;
    border-top: 1px solid var(--ojh-line-color);
    margin: 0;
}

/* Nav row — between middle line and bottom border */
.ojh-portal {
    grid-column: 2;
    grid-row: 3;
    display: flex;
    align-items: center;
    align-self: start;
    gap: clamp(20px, 2.5vw, 48px);
    padding-top: clamp(18px, 1.354vw, 26px);
}
.ojh-portal-link {
    font-size: clamp(12px, 0.833vw, 16px);
    font-weight: 400;
    line-height: 22px;
    color: #000000;
    text-decoration: none;
    white-space: nowrap;
}
.ojh-portal-link:hover { color: #000000; }
.ojh-portal-link.is-active {
    color: var(--ojh-orange);
    font-weight: 700;
}
.ojh-portal-link.is-active:hover { color: var(--ojh-orange); }

/* Inner pages (no portal nav) */
.ojh-header:not(.has-portal-nav) .ojh-grid {
    grid-template-rows: clamp(76px, 6.354vw, 122px);
    min-height: clamp(76px, 6.354vw, 122px);
}
.ojh-header:not(.has-portal-nav) .ojh-logo {
    grid-row: 1;
}
.ojh-header:not(.has-portal-nav) .ojh-gateway-label {
    display: none;
}
@media (min-width: 480px) {
    .ojh-header:not(.has-portal-nav) .ojh-gateway-label { display: block; }
}

/* RTL */
.ojh-rtl .ojh-secure-banner,
.ojh-rtl .ojh-secure-banner *,
.ojh-rtl .ojh-header,
.ojh-rtl .ojh-header * {
    font-family: var(--ojh-header-font-ar) !important;
}
.ojh-rtl .ojh-grid { direction: rtl; }
.ojh-rtl .ojh-logo { direction: ltr; }
.ojh-rtl .ojh-title-row { direction: rtl; }
.ojh-rtl .ojh-portal { direction: rtl; }

@media (max-width: 639px) {
    :root {
        --ojh-logo-offset: 20px;
        --ojh-right-offset: 20px;
        --ojh-logo-size: 50px;
        --ojh-logo-gap: 18px;
    }
    .ojh-grid {
        grid-template-rows: 58px 1px 57px;
        min-height: 116px;
    }
    .ojh-gateway-label {
        font-size: 13px;
        line-height: 17px;
        white-space: normal;
    }
    .ojh-lang-btn { font-size: 12px; }
    .ojh-portal { gap: 20px; padding-top: 18px; }
    .ojh-portal-link { font-size: 12px; line-height: 17px; }
    .ojh-header:not(.has-portal-nav) .ojh-grid {
        grid-template-rows: 76px;
        min-height: 76px;
    }
}

@media (max-width: 399px) {
    :root {
        --ojh-logo-offset: 12px;
        --ojh-right-offset: 12px;
        --ojh-logo-size: 44px;
        --ojh-logo-gap: 12px;
    }
    .ojh-title-row { gap: 10px; }
    .ojh-gateway-label { font-size: 12px; }
    .ojh-portal { gap: 12px; }
}

/* ==========================================================================
   QuickPay Home (Recharge / Pay Bills selector) — `qrh-*`
   Used in: views/quickPay/index.gsp
   ========================================================================== */
.oj-app-body {
    background: #f5f5f5;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.oj-app-body > main {
    flex: 1 0 auto;
}

.qrh-page {
    background: #f5f5f5;
    min-height: calc(100vh - 180px);
    padding: 20px 12px 40px;
    box-sizing: border-box;
    width: 100%;
    overflow-x: hidden;
}
@media (min-width: 768px) {
    .qrh-page { padding: 28px 16px 48px; }
}
.qrh-shell-wrap {
    max-width: 720px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}
.qrh-shell {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border: none;
    padding: 0;
}
@media (min-width: 768px) {
    .qrh-shell { border-radius: 0; padding: 0; }
}

.qrh-topbar {
    display: block;
    margin-bottom: 16px;
}
@media (min-width: 768px) {
    .qrh-topbar { margin-bottom: 20px; }
}
.qrh-page-title {
    margin: 0 0 14px;
    font-size: 15px;
    font-weight: 700;
    font-style: normal;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.3;
    text-align: start;
}
@media (min-width: 768px) {
    .qrh-page-title { font-size: 16px; margin-bottom: 10px; }
}

.qrh-tabs {
    display: flex;
    padding: 5px;
    background: #ededed;
    border-radius: 999px;
    border: none;
    gap: 4px;
    width: 100%;
    max-width: 420px;
    margin: 0 auto 28px;
}
.qrh-tabs::-webkit-scrollbar {
    display: none;
}
.qrh-tab {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 999px;
    background: transparent;
    border: none;
    color: #000000;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
@media (min-width: 768px) {
    .qrh-tab { padding: 13px 26px; font-size: 15px; }
}
.qrh-tab:hover { color: #000000; }
.qrh-tab.is-active {
    background: #ef6d00;
    color: #ffffff;
    box-shadow: none;
}
.qrh-tab img { width: 16px; height: 16px; opacity: 1; transition: opacity 0.2s ease; }
.qrh-tab-icon { width: 16px; height: 16px; opacity: 1; transition: opacity 0.2s ease; }
.qrh-tab-icon1 { width: 18px; height: 18px; opacity: 1; transition: opacity 0.2s ease; }
.qrh-tab.is-active svg { opacity: 1; color: #ffffff; }

/* Home page transaction type toggle (Recharge / Pay Bills) — index.gsp only */
.qrh-tabs--transaction {
    display: flex;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 4px;
    background: #f0f0f0;
    border-radius: 9999px;
    gap: 0;
    margin: 0 0 24px;
}
.qrh-tabs--transaction .qrh-tab {
    flex: 1 1 0;
    min-width: 0;
    min-height: 44px;
    padding: 12px 10px;
    gap: 6px;
    border-radius: 9999px;
    font-weight: 500;
    font-size: 13px;
    line-height: 1.2;
    color: #000000;
    background: transparent;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
@media (min-width: 768px) {
    .qrh-tabs--transaction .qrh-tab {
        min-height: 44px;
        padding: 14px 28px;
        gap: 10px;
        font-size: 14px;
    }
}
.qrh-tabs--transaction .qrh-tab:hover:not(.is-active) {
    color: #000000;
    background: transparent;
}
.qrh-tabs--transaction .qrh-tab.is-active {
    background: #ef6d00;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(255, 121, 0, 0.28);
}
.qrh-tabs--transaction #qrh-tab-paybill .qrh-tab-icon {
    filter: brightness(0);
    transition: filter 0.2s ease;
}
.qrh-tabs--transaction #qrh-tab-paybill.is-active .qrh-tab-icon {
    filter: none;
}
.qrh-tabs--transaction #qrh-tab-recharge .qrh-tab-icon {
    filter: brightness(0);
    transition: filter 0.2s ease;
}
.qrh-tabs--transaction #qrh-tab-recharge.is-active .qrh-tab-icon {
    filter: brightness(0) invert(1);
}
.qrh-tabs--transaction .qrh-tab svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: currentColor;
}
@media (min-width: 768px) {
    .qrh-tabs--transaction .qrh-tab svg {
        width: 18px;
        height: 18px;
    }
}
.qrh-tabs--transaction .qrh-tab span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}
.qrh-tabs--transaction .qrh-tab.is-active svg {
    color: #ffffff;
}

.qrh-form-wrap {
    max-width: 100%;
    margin: 0 auto;
}
.qrh-form-card {
    background: #ffffff;
    border: none;
    border-radius: 15px;
    padding: 28px 22px 32px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.08);
}
@media (min-width: 768px) {
    .qrh-form-card { border-radius: 15px; padding: 36px 48px 40px; }
}
.qrh-form,
.prepaid-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
@media (min-width: 768px) {
    .qrh-form,
    .prepaid-form { gap: 22px; }
}

/* QuickPay index: horizontal product / service picker (prepaid + pay bills) */
.qrh-product-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.qrh-product-strip {
    display: flex;
    justify-content: center;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 2px 4px;
    width: 100%;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.qrh-product-strip::-webkit-scrollbar {
    display: none;
}
@media (min-width: 768px) {
    .qrh-product-strip { gap: 14px; }
}
.qrh-product-strip-inner {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    min-width: min-content;
}
@media (min-width: 768px) {
    .qrh-product-strip-inner { gap: 12px; }
}
.qrh-product-strip-inner .qrh-product {
    flex: 0 0 auto;
}
.qrh-scroll-btn {
    top: 50%;
    transform: translateY(-50%);
    color: #f97316;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.qrh-scroll-btn.left { left: 0; }
.qrh-scroll-btn.right { right: 0; }
.qrh-scroll-btn:hover { background-color: #ea580c; }

.qrh-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px 4px;
    font-size: 9px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: capitalize;
}
@media (min-width: 768px) {
    .qrh-label { font-size: 10px; }
}
.qrh-label svg { width: 11px; height: 11px; color: #ef6d00; }

.qrh-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
@media (min-width: 768px) {
    .qrh-product-grid { gap: 14px; }
}
.qrh-product {
    position: relative;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 14px;
    border: 1px solid #dcdcdc;
    background: #ffffff;
    color: #000000;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}
@media (min-width: 768px) {
    .qrh-product { padding: 12px 24px; font-size: 14px; }
}
.qrh-product:hover {
    border-color: #bdbdbd;
    background: #fafafa;
}
.qrh-product.is-active {
    border-color: #000000;
    background: #000000;
    color: #ffffff;
}
.qrh-product-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}
.qrh-product-icon svg { width: 16px; height: 16px; }
.qrh-product-logo {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
    transition: filter 0.2s ease;
}
.qrh-product.is-active .qrh-product-logo {
    filter: brightness(0) invert(1);
}
.qrh-product-icon-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.qrh-product.is-active .qrh-product-icon {
    color: #ffffff;
}
.qrh-product-label {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    transition: color 0.2s ease;
}
.qrh-product.is-active .qrh-product-label { color: #ffffff; }

.qrh-service-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}
@media (min-width: 640px) {
    .qrh-service-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
.qrh-service-tile {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid #f3f4f6;
    background: #ffffff;
    color: #1a1a1a;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: start;
}
.qrh-service-tile:hover {
    border-color: #ffd5b0;
    background: #fffaf5;
}
.qrh-service-tile.is-active {
    border-color: #ef6d00;
    background: #fff7ed;
    box-shadow: 0 0 0 1px #ef6d00;
}
.qrh-service-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid #f3f4f6;
    background: #fafafa;
    color: #9ca3af;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.qrh-service-icon svg { width: 20px; height: 20px; }
.qrh-service-tile.is-active .qrh-service-icon {
    background: #ef6d00;
    border-color: #ef6d00;
    color: #ffffff;
}
.qrh-service-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: flex-start;
    flex: 1 1 auto;
    min-width: 0;
}
.qrh-service-label {
    font-size: 11px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
}
.qrh-service-meta {
    font-size: 9px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
}
.qrh-service-check {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 2px solid #d1d5db;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: #ffffff;
    flex-shrink: 0;
}
.qrh-service-check svg {
    width: 11px;
    height: 11px;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.qrh-service-tile.is-active .qrh-service-check {
    background: #ef6d00;
    border-color: #ef6d00;
}
.qrh-service-tile.is-active .qrh-service-check svg {
    opacity: 1;
}

.qrh-input-wrap { position: relative; }
.qrh-input-wrap--captcha {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}
.qrh-input {
    width: 100%;
    min-height: 48px;
    height: auto;
    box-sizing: border-box;
    padding: 14px 44px 14px 18px;
    background: #ffffff;
    border: 1px solid #a9a9a9;
    border-radius: 999px;
    font-size: 16px; /* 16px prevents iOS input zoom */
    font-weight: 400;
    color: #1a1a1a;
    outline: none;
    font-family: inherit;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}
@media (min-width: 768px) {
    .qrh-input {
        min-height: 45px;
        padding: 15px 48px 15px 22px;
        font-size: 15px;
    }
}
.qrh-input::placeholder { color: #b0b0b0; }
.qrh-input:focus {
    background: #ffffff;
    border-color: #ef6d00;
    box-shadow: 0 0 0 3px rgba(255, 121, 0, 0.12);
}

/* Shared text field used by prepaid / postpaid home forms */
.qrh-textFieldInput {
    width: 100%;
    max-width: 100%;
    min-height: 48px;
    height: auto;
    box-sizing: border-box;
    padding: 14px 44px 14px 18px;
    background: #ffffff;
    border: 1px solid #a9a9a9;
    border-radius: 999px;
    font-size: 16px; /* 16px prevents iOS input zoom */
    font-weight: 400;
    color: #1a1a1a;
    outline: none;
    font-family: inherit;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}
@media (min-width: 768px) {
    .qrh-textFieldInput {
        min-height: 45px;
        padding: 14px 44px 14px 20px;
        font-size: 15px;
    }
}
.qrh-textFieldInput::placeholder { color: #656565; font-size: inherit; font-weight: 500;}
.qrh-textFieldInput:focus {
    background: #ffffff;
    border-color: #ef6d00;
    box-shadow: 0 0 0 3px rgba(255, 121, 0, 0.12);
}
.qrh-input.is-error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}
.qrh-input-icon {
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    display: none;
    align-items: center;
    justify-content: center;
}
.qrh-input-wrap--captcha .qrh-input-icon {
    top: 22px;
}
.qrh-input-icon.is-show { display: inline-flex; }
.qrh-input-icon-ok {
    width: 24px;
    height: 24px;
    background: none;
    border-radius: 0;
}
.qrh-input-icon-ok svg { width: 16px; height: 16px; }
.qrh-input-icon-ok img { width: 24px; height: 24px; display: block; }
.qrh-input-icon-err svg { width: 24px; height: 24px; color: #ef4444; }

.qrh-error-msg {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    font-style: normal;
    color: #ef4444;
    display: none;
    text-align: center;
}
.qrh-error-msg.is-show { display: block; }

.qrh-captcha-canvas-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}
@media (min-width: 768px) {
    .qrh-captcha-canvas-wrap { gap: 16px; }
}

.qrh-captcha-box {
    flex: 0 0 auto;
    height: 52px;
    background: transparent;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-shadow: none;
}
@media (min-width: 768px) {
    .qrh-captcha-box { height: 60px; }
}

.qrh-captcha-box canvas,
.qrh-captcha-box .qrh-captcha-image {
    display: block;
    max-width: 100%;
    height: 100%;
    width: auto;
    object-fit: contain;
}
.qrh-captcha-refresh {
    flex-shrink: 0;
}
.qrh-captcha-refresh-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.qrh-captcha-refresh:hover {
    background: #f3f4f6;
}
span.qrh-captcha-refresh {
    pointer-events: none;
}
.qrh-captcha-input {
    max-width: 280px;
}
@media (min-width: 768px) {
    .qrh-captcha-input { padding: 14px 22px; font-size: 15px; max-width: 300px; }
}
.qrh-captcha-input::placeholder { color: #b0b0b0; text-transform: none; }
.qrh-captcha-input:focus {
    background: #ffffff;
    border-color: #ef6d00;
    box-shadow: 0 0 0 3px rgba(255, 121, 0, 0.12);
}
.qrh-captcha-input.is-error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.16);
}
.qrh-captcha-hint {
    margin: 0;
    font-size: 11px;
    color: #9a9a9a;
    font-weight: 400;
    font-style: normal;
}

.qrh-cta {
    width: 100%;
    max-width: 360px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 24px;
    border: none;
    border-radius: 999px;
    background: #c4c4c4;
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.2s ease, opacity 0.2s ease;
}
@media (min-width: 768px) {
    .qrh-cta { padding: 16px 28px; font-size: 16px; }
}
.qrh-cta:not(:disabled) {
    background: #ef6d00;
    box-shadow: none;
}
.qrh-cta:hover:not(:disabled) {
    background: #e66d00;
    box-shadow: none;
    transform: none;
}
.qrh-cta:active:not(:disabled) { transform: none; }
.qrh-cta:disabled { background: #c4c4c4; cursor: not-allowed; box-shadow: none; }
.qrh-cta svg {
    width: 14px; height: 14px;
    transition: transform 0.2s ease;
}
.qrh-cta:hover svg { transform: translateX(4px); }

.qrh-cta-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-top: 8px;
}

.qrh-terms-row {
    margin: 4px 4px 16px;
}

.qrh-terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.qrh-terms-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #ff7900;
    cursor: pointer;
    flex-shrink: 0;
}

.qrh-terms-label {
    font-size: 13px;
    color: #222222;
    line-height: 1.5;
}

.qrh-terms-link {
    color: #ef6d00;
    font-weight: 600;
    text-decoration: none;
}

.qrh-terms-link:hover {
    text-decoration: underline;
}

.qrh-legal {
    margin: 16px 4px 0;
    text-align: center;
    font-size: 12px;
    font-weight: 400;
    color: #6b6b6b;
    line-height: 1.65;
}
.qrh-legal a {
    text-decoration: none;
    color: #ef6d00;
    font-weight: 600;
}
.qrh-legal a:hover {
    text-decoration: underline;
}

/* ── New form layout helpers (matching screenshot design) ── */

/* Subtitle text above the form */
.qrh-subtitle {
    margin: 0 0 18px;
    text-align: center;
    font-size: 14px;
    color: #000000;
    line-height: 1.5;
    font-weight: 400;
}
@media (min-width: 768px) {
    .qrh-subtitle { font-size: 15px; margin-bottom: 26px; }
}

/* Required asterisk */
.qrh-required {
    color: #000000;
    margin-inline-start: 1px;
}

/* Label-left / input-right field row */
.qrh-field-row {
    display: flex;
    flex-direction: column;
}
@media (min-width: 540px) {
    .qrh-field-row {
        flex-direction: row;
        align-items: center;
    }
    .qrh-field-row .qrh-input-wrap {
        flex: 1;
    }
    .qrh-field-row--captcha {
        align-items: flex-start;
    }
    .qrh-field-row--captcha .qrh-field-label {
        padding-top: 14px;
    }
}

.qrh-field-label {
    font-size: 13px;
    font-weight: 700;
    color: #000000;
    white-space: nowrap;
    min-width: 0;
    flex-shrink: 0;
}
@media (min-width: 540px) {
    .qrh-field-label {
        min-width: 120px;
    }
}
@media (min-width: 768px) {
    .qrh-field-label { font-size: 14px; min-width: 140px; }
}

/* Captcha image + icon buttons row */
.qrh-captcha-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-inline-start: 0;
}
@media (min-width: 540px) {
    .qrh-captcha-row {
        margin-left: calc(120px + 20px);
    }
}
@media (min-width: 768px) {
    .qrh-captcha-row {
        margin-left: calc(140px + 20px);
        gap: 12px;
    }
}

.qrh-captcha-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #cfcfcf;
    background: #ffffff;
    color: #555555;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    flex-shrink: 0;
    padding: 0;
}
.qrh-captcha-icon-btn svg {
    width: 15px;
    height: 15px;
}
.qrh-captcha-icon-btn:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
    color: #1a1a1a;
}
/* Prepaid home form — index.gsp `_prepaidForm.gsp` only */
.qrh-form--prepaid {
    gap: 20px;
}
@media (min-width: 768px) {
    .qrh-form--prepaid { gap: 24px; }
}

.qrh-form--prepaid .qrh-required {
    color: #ef6d00;
    margin-inline-start: 1px;
}
@media (min-width: 540px) {
    .qrh-form--prepaid .qrh-field-row {
        flex-direction: row;
        align-items: center;
    }
    .qrh-form--prepaid .qrh-field-row .qrh-input-wrap {
        flex: 1;
        min-width: 0;
    }
    .qrh-form--prepaid .qrh-field-row--captcha {
        align-items: flex-start;
    }
    .qrh-form--prepaid .qrh-field-row--captcha .qrh-field-label {
        padding-top: 15px;
    }
}

.qrh-form--prepaid .qrh-field-label {
    font-size: 14px;
    font-weight: 600;
    color: #000000;
    min-width: 128px;
}
@media (min-width: 768px) {
    .qrh-form--prepaid .qrh-field-label {
        font-size: 12px;
        min-width: 120px;
    }
}

.qrh-form--prepaid .qrh-input-wrap:not(.qrh-input-wrap--captcha) {
    width: 100%;
}
.qrh-form--prepaid #subscriberIdentifier.qrh-input,
.qrh-form--prepaid #subscriberIdentifier.qrh-textFieldInput {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 48px;
    padding: 14px 44px 14px 18px;
    border: 1px solid #bebebe;
    border-radius: 9999px;
    font-size: 16px;
    font-weight: 400;
    color: #656565;
    background: #ffffff;
}

@media (min-width: 768px) {
    .qrh-form--prepaid #subscriberIdentifier.qrh-input,
    .qrh-form--prepaid #subscriberIdentifier.qrh-textFieldInput {
        min-height: 45px;
        padding: 15px 48px 15px 22px;
        font-size: 15px;
    }
}
.qrh-form--prepaid .qrh-input::placeholder {
    color: #656565;
}
.qrh-form--prepaid .qrh-input:focus {
    border-color: #ef6d00;
    box-shadow: 0 0 0 3px rgba(255, 121, 0, 0.1);
}

.qrh-form--prepaid .qrh-captcha-row--visual {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-inline-start: 0;
}
@media (min-width: 540px) {
    .qrh-form--prepaid .qrh-captcha-row--visual {
        /* Match the label column so CAPTCHA starts exactly under the phone input. */
        margin-left: 128px;
    }
}
@media (min-width: 768px) {
    .qrh-form--prepaid .qrh-captcha-row--visual {
        margin-left: 120px;
        gap: 12px;
    }
}

/* Pay Bills CAPTCHA uses the same input-column alignment. */
@media (min-width: 540px) {
    .qrh-form--postpaid .qrh-captcha-row {
        margin-inline-start: 128px;
    }
}
@media (min-width: 768px) {
    .qrh-form--postpaid .qrh-captcha-row {
        margin-left: 120px;
    }
}

.qrh-form--prepaid .qrh-captcha-box {
    flex: 0 1 auto;
    height: auto;
    min-height: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
    cursor: pointer;
}
.qrh-form--prepaid .qrh-captcha-box .qrh-captcha-image {
    display: block;
    width: auto;
    height: 48px;
    max-width: 100%;
    object-fit: contain;
}

.qrh-form--prepaid .qrh-captcha-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.qrh-form--prepaid .qrh-captcha-icon-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #d1d1d1;
    background: #ffffff;
    color: #666666;
}
.qrh-form--prepaid .qrh-captcha-icon-btn svg {
    width: 16px;
    height: 16px;
}
.qrh-form--prepaid .qrh-captcha-icon-btn:hover {
    background: #fafafa;
    border-color: #bdbdbd;
    color: #333333;
}

.qrh-form--prepaid .qrh-input-wrap--captcha {
    gap: 8px;
    width: 100%;
    align-items: flex-start;
}

.qrh-form--prepaid .qrh-captcha-input {
    width: 100%;
    max-width: 100%;
    min-height: 48px;
    height: auto;
    box-sizing: border-box;
    padding: 14px 18px;
    border: 1px solid #aeaeae;
    border-radius: 9999px;
    font-size: 16px;
    color: #000000;
    background: #ffffff;
}
@media (min-width: 540px) {
    .qrh-form--prepaid .qrh-captcha-input {
        max-width: 45%;
    }
}
@media (min-width: 768px) {
    .qrh-form--prepaid .qrh-captcha-input {
        padding: 15px 22px;
        font-size: 15px;
        max-width: 40%;
        min-height: 45px;
        height: auto;
    }
}
.qrh-form--prepaid .qrh-captcha-input::placeholder {
    color: #656565;
    font-size: 12px;
    font-weight: 500;
}
.qrh-form--prepaid .qrh-captcha-input:focus {
    border-color: #ef6d00;
    box-shadow: 0 0 0 3px rgba(255, 121, 0, 0.1);
}

.qrh-form--prepaid .qrh-captcha-hint {
    font-size: 9px;
    color: #9a9a9a;
    line-height: 1;
}

.qrh-form--prepaid .qrh-cta-wrap {
    margin-top: 12px;
    width: 100%;
}
.qrh-form--prepaid .qrh-cta {
    width: 100%;
    max-width: 100%;
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 9999px;
    background: #c4c4c4;
    color: #ffffff;
}
@media (min-width: 768px) {
    .qrh-form--prepaid .qrh-cta {
        width: 30%;
        min-width: 200px;
        font-size: 13px;
    }
}
.qrh-form--prepaid .qrh-cta:not(:disabled) {
    background: #ef6d00;
}
.qrh-form--prepaid .qrh-cta:hover:not(:disabled) {
    background: #e66d00;
}
.qrh-form--prepaid .qrh-cta:disabled {
    background: #c4c4c4;
    cursor: not-allowed;
}

.qrh-form--prepaid .qrh-legal {
    margin: 18px 0 0;
    font-size: 12px;
    color: #6b6b6b;
    line-height: 1.6;
}
.qrh-form--prepaid .qrh-legal a {
    color: #ef6d00;
    font-weight: 600;
    text-decoration: none;
}
.qrh-form--prepaid .qrh-legal a:hover {
    text-decoration: underline;
}

.qrh-form--prepaid .qrh-error-msg {
    text-align: center;
    font-size: 12px;
}

/* =============================================================
   RESPONSIVE POLISH — QuickPay Home (index.gsp + prepaid/postpaid forms)
   Small phones (<= 539px): keep everything inside the card, readable,
   and tap-friendly. Larger screens use the mobile-first rules above.
   ============================================================= */
@media (max-width: 539px) {
    .qrh-page { padding: 16px 10px 36px; }
    .qrh-form-card {
        padding: 20px 14px 24px;
        border-radius: 12px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.07);
    }
    .qrh-form,
    .prepaid-form,
    .qrh-form--prepaid { gap: 16px; }

    .qrh-tabs--transaction {
        margin-bottom: 18px;
        padding: 3px;
    }
    .qrh-tabs--transaction .qrh-tab {
        min-height: 44px;
        padding: 10px 8px;
        font-size: 13px;
        gap: 5px;
    }
    .qrh-tabs--transaction .qrh-tab-icon {
        width: 15px;
        height: 15px;
    }

    /* Full-width, stacked fields on phones */
    .qrh-form--prepaid .qrh-field-label {
        min-width: 0;
        font-size: 13px;
        margin-bottom: 6px;
    }
    .qrh-form--prepaid .qrh-captcha-input,
    .qrh-captcha-input {
        max-width: 100%;
        width: 100%;
        min-height: 48px;
        font-size: 16px;
    }
    .qrh-form--prepaid .qrh-captcha-hint {
        font-size: 11px;
    }

    /* Captcha image + action buttons should wrap instead of overflowing */
    .qrh-captcha-row,
    .qrh-form--prepaid .qrh-captcha-row--visual {
        flex-wrap: wrap;
        margin-inline-start: 0 !important;
        gap: 10px;
        width: 100%;
    }
    .qrh-form--prepaid .qrh-captcha-box .qrh-captcha-image {
        height: 44px;
        max-width: min(200px, 100%);
    }
    .qrh-form--prepaid .qrh-captcha-icon-btn {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .qrh-form--prepaid .qrh-cta,
    .qrh-cta {
        max-width: 100%;
        min-height: 48px;
        width: 100%;
        font-size: 15px;
    }
    .qrh-form--prepaid .qrh-legal,
    .qrh-legal {
        font-size: 11px;
        padding: 0 4px;
    }

    /* Product/service picker: allow horizontal scroll from the start
       so tiles are never clipped when there are many of them */
    .qrh-product-strip { justify-content: flex-start; }
    .qrh-product-strip-inner {
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 8px;
    }
    .qrh-product {
        padding: 10px 14px;
        font-size: 13px;
        min-height: 44px;
    }
    .qrh-product-label { font-size: 13px; }
}

.qrh-product-empty {
    flex: 1 1 100%;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0;
    padding: 28px 20px;
    text-align: center;
    background: #fff8f3;
    border: 1px dashed #fdba74;
    border-radius: 12px;
}

.qrh-product-empty.is-error {
    background: #fef2f2;
    border-color: #fca5a5;
}

.qrh-product-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    color: #ef6d00;
    box-shadow: 0 1px 4px rgba(239, 109, 0, 0.12);
}

.qrh-product-empty.is-error .qrh-product-empty-icon {
    color: #ef4444;
    box-shadow: 0 1px 4px rgba(239, 68, 68, 0.12);
}

.qrh-product-empty-icon svg {
    width: 22px;
    height: 22px;
}

.qrh-product-empty-title {
    margin: 0;
    max-width: 320px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    color: #1a1a1a;
}

.qrh-product-empty.is-error .qrh-product-empty-title {
    color: #b91c1c;
}

.qrh-product-strip-inner:has(.qrh-product-empty) {
    width: 100%;
    min-width: 100%;
}

@media (max-width: 539px) {
    .qrh-product-empty {
        padding: 22px 14px;
        border-radius: 10px;
        gap: 8px;
    }
    .qrh-product-empty-icon {
        width: 40px;
        height: 40px;
    }
    .qrh-product-empty-title {
        font-size: 13px;
    }
}

/* Topbar layout adjustment for new wider tabs */
.qrh-topbar {
    display: block;
    margin-bottom: 16px;
}
@media (min-width: 600px) {
    .qrh-topbar {
        margin-bottom: 20px;
    }
}

.qrh-promos {
    max-width: 520px;
    margin: 28px auto 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
@media (min-width: 768px) {
    .qrh-promos { gap: 22px; margin-top: 40px; }
}
.qrh-promo {
    background: #ffffff;
    border: 1px solid #f3f4f6;
    border-radius: 18px;
    padding: 18px;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
@media (min-width: 768px) {
    .qrh-promo { border-radius: 24px; padding: 26px; }
}
.qrh-promo:hover {
    border-color: #ffd5b0;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
}
.qrh-promo-eyebrow {
    margin: 0 0 10px 0;
    font-size: 10px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
}
.qrh-promo-text {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.35;
    transition: color 0.2s ease;
}
@media (min-width: 768px) {
    .qrh-promo-text { font-size: 15px; }
}
.qrh-promo:hover .qrh-promo-text { color: #ef6d00; }

[dir="rtl"] .qrh-tab,
[dir="rtl"] .qrh-cta,
[dir="rtl"] .qrh-product-label { }
[dir="rtl"] .qrh-input { padding: 16px 18px 16px 56px; }
[dir="rtl"] .qrh-input-icon { right: auto; left: 18px; }
[dir="rtl"] .qrh-cta:hover svg { transform: translateX(-4px); }

/* ==========================================================================
   QuickPay Recharge bundle picker — `qrc-*`
   Used in: views/quickPay/quickRefill.gsp
   ========================================================================== */
.qrc-page {
    background: #f5f5f5;
    min-height: calc(100vh - 80px);
    padding: 28px 16px 64px;
}
.qrc-shell-wrap {
    max-width: 1180px;
    margin: 0 auto;
}
.qrc-shell {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 32px 64px -16px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(243, 244, 246, 0.7);
    padding: 28px 24px;
}
@media (min-width: 768px) {
    .qrc-shell {
        border-radius: 40px;
        padding: 44px 48px;
    }
}

.qrc-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}
.qrc-page-title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    font-style: normal;
    color: #1a1a1a;
}
@media (min-width: 768px) {
    .qrc-page-title { font-size: 28px; }
}
.qrc-cancel-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 999px;
    border: 1px solid #fecaca;
    background: rgba(254, 242, 242, 0.5);
    color: #ef4444;
    font-weight: 700;
    font-size: 11px;
    text-transform: none;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}
.qrc-cancel-btn:hover { background: #fef2f2; }
.qrc-cancel-x {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    color: #ef4444;
}

.qrc-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
}
@media (min-width: 1024px) {
    .qrc-grid {
        grid-template-columns: 1fr 380px;
        gap: 48px;
    }

}

.qrc-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.qrc-section-head-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.qrc-back-btn {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    color: #1a1a1a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.qrc-back-btn:hover {
    background: #ffffff;
    border-color: #f3f4f6;
}
.qrc-back-btn svg { width: 18px; height: 18px; }
.qrc-section-title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
}
@media (min-width: 768px) {
    .qrc-section-title { font-size: 24px; }
}

.qrc-cat-badge-wrap {
    display: inline-flex;
    padding: 4px;
    background: #fafafa;
    border: 1px solid #f3f4f6;
    border-radius: 18px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}
.qrc-cat-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 22px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    color: #ef6d00;
    font-weight: 700;
    font-size: 11px;
    text-transform: none;
}
.qrc-cat-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ef6d00;
    animation: qrc-pulse 1.6s ease-in-out infinite;
}
@keyframes qrc-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.5; transform: scale(1.2); }
}
.qrc-cat-tabs {
    display: inline-flex;
    padding: 4px;
    background: #fafafa;
    border: 1px solid #f3f4f6;
    border-radius: 18px;
    gap: 2px;
    flex-wrap: wrap;
}
.qrc-cat-tab {
    padding: 9px 22px;
    border-radius: 14px;
    background: transparent;
    border: 1px solid transparent;
    color: #9ca3af;
    font-weight: 700;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.qrc-cat-tab.is-active {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    color: #ef6d00;
}

.qrc-results {
    font-weight: 700;
    font-size: 13px;
    color: #9ca3af;
    margin: 0 0 28px 4px;
}

.qrc-bundles {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}
@media (min-width: 640px) {
    .qrc-bundles { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1280px) {
    .qrc-bundles { grid-template-columns: repeat(2, 1fr); }
}

.qrc-bundle {
    position: relative;
    cursor: pointer;
    border-radius: 22px;
    padding: 26px 24px;
    background: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.qrc-bundle:hover {
    border-color: #e5e7eb;
}
.qrc-bundle.is-selected {
    border-color: #ef6d00;
    box-shadow: 0 0 0 1px #ef6d00, 0 8px 24px -8px rgba(255, 121, 0, 0.18);
}

.qrc-bundle-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}
.qrc-bundle-name {
    margin: 0 0 6px 0;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
}
.qrc-bundle-price {
    display: inline-flex;
    flex-direction: row;
    align-items: baseline;
    gap: 4px;
    direction: ltr;
    unicode-bidi: isolate;
}
.qrc-bundle-price .qp-money {
    color: #ef6d00;
    font-size: 26px;
    font-weight: 700;
}
.qrc-bundle-price .qp-money-cur {
    font-size: 11px;
}
.qrc-bundle-price-num {
    font-size: 26px;
    font-weight: 700;
    color: #ef6d00;
}
.qrc-bundle-price-jd {
    font-size: 11px;
    font-weight: 700;
    color: #ef6d00;
}

.qrc-bundle-radio {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 2.5px solid #d1d5db;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease;
    flex-shrink: 0;
    box-sizing: border-box;
}
.qrc-bundle.is-selected .qrc-bundle-radio {
    background: #ffffff;
    border-color: #ff7900;
}
.qrc-bundle-radio-inner {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #ff7900;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.qrc-bundle.is-selected .qrc-bundle-radio-inner { opacity: 1; }

.qrc-bundle-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 22px;
}
.qrc-stat-box {
    background: #fafafa;
    border: 1px solid #f3f4f6;
    border-radius: 14px;
    padding: 12px 14px;
}
.qrc-stat-label {
    margin: 0 0 4px 0;
    font-size: 9px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
}
.qrc-stat-val {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.25;
}

.qrc-bundle-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    border-top: 1px solid #f3f4f6;
}
.qrc-bundle-validity-label {
    font-size: 10px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
}
.qrc-bundle-validity-val {
    font-size: 12px;
    font-weight: 700;
    color: #1a1a1a;
}

.qrc-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px 16px;
    color: #9ca3af;
    font-weight: 700;
    font-size: 14px;
    background: #fafafa;
    border: 1px dashed #e5e7eb;
    border-radius: 16px;
}

.qrc-summary {
    background: #ffffff;
    border: 1px solid #f3f4f6;
    border-radius: 22px;
    padding: 26px 22px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
@media (min-width: 768px) {
    .qrc-summary { padding: 30px 26px; }
}

.qrc-summary-title {
    margin: 0 0 14px 0;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
}

.qrc-user-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: #fafafa;
    border: 1px solid #f3f4f6;
    border-radius: 14px;
}
.qrc-user-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #f3f4f6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ef6d00;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    flex-shrink: 0;
}
.qrc-user-icon svg { width: 18px; height: 18px; }
.qrc-user-meta { display: flex; flex-direction: column; gap: 2px; }
.qrc-user-label {
    margin: 0;
    font-size: 9px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: capitalize;
}
.qrc-user-num {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
}
.qrc-user-bundle {
    margin: 0;
    font-size: 10px;
    font-weight: 700;
    color: #ef6d00;
    text-transform: uppercase;
    min-height: 12px;
}

.qrc-pm-section-label {
    margin: 0 0 14px 4px;
    font-size: 10px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
}
.qrc-pm-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.qrc-pm {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 16px;
    border-radius: 16px;
    border: 2px solid #f3f4f6;
    background: rgba(249, 250, 251, 0.5);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.qrc-pm:hover {
    background: #ffffff;
    border-color: #e5e7eb;
}
.qrc-pm.is-selected {
    border-color: #ef6d00;
    background: #ffffff;
    box-shadow: 0 0 0 1px #ef6d00;
}
.qrc-pm-left {
    display: flex;
    align-items: center;
    gap: 14px;
}
.qrc-pm-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #d1d5db;
    border: 1px solid #f3f4f6;
    flex-shrink: 0;
}
.qrc-pm-icon svg { width: 18px; height: 18px; }
.qrc-pm-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}
.qrc-pm.is-selected .qrc-pm-icon {
    background: #1a1a1a;
    color: #ffffff;
    border-color: #1a1a1a;
}
.qrc-pm.is-selected .qrc-pm-icon svg { color: #ffffff; }
.qrc-pm-name {
    font-size: 12px;
    font-weight: 700;
    color: #9ca3af;
    transition: color 0.2s ease;
}
.qrc-pm.is-selected .qrc-pm-name { color: #ef6d00; }
.qrc-pm-radio {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    border: 2.5px solid #d1d5db;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #ffffff;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}
.qrc-pm.is-selected .qrc-pm-radio {
    background: #ffffff;
    border-color: #ff7900;
}
.qrc-pm-radio-inner {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #ff7900;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.qrc-pm.is-selected .qrc-pm-radio-inner { opacity: 1; }
.qrc-pm input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

.qrc-total-block {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 22px;
    border-top: 1px solid #f3f4f6;
}
.qrc-total-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
}
.qrc-total-label {
    margin: 0;
    font-size: 10px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
}
.qrc-total-amount {
    display: inline-flex;
    flex-direction: row;
    align-items: baseline;
    gap: 4px;
    direction: ltr;
    unicode-bidi: isolate;
}
.qrc-total-num {
    font-size: 30px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
}
.qrc-total-jd {
    font-size: 13px;
    font-weight: 700;
    color: #ef6d00;
}

.qrc-pay-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 20px;
    border: none;
    border-radius: 16px;
    background: #ef6d00;
    color: #ffffff;
    font-weight: 700;
    font-size: 11px;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(255, 121, 0, 0.18);
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}
.qrc-pay-btn:hover:not(:disabled) {
    background: #e66d00;
    box-shadow: 0 18px 40px rgba(255, 121, 0, 0.28);
    transform: translateY(-1px);
}
.qrc-pay-btn:active:not(:disabled) { transform: translateY(0); }
.qrc-pay-btn:disabled { opacity: 0.45; cursor: not-allowed; box-shadow: none; }
.qrc-pay-btn svg { width: 14px; height: 14px; }

.qrc-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.qrc-modal-overlay.is-open { display: flex; }
.qrc-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.qrc-modal {
    position: relative;
    background: #ffffff;
    width: 100%;
    max-width: 420px;
    border-radius: 32px;
    padding: 36px 30px;
    box-shadow: 0 32px 64px -16px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    gap: 22px;
    text-align: center;
}
.qrc-modal-icon-wrap {
    width: 76px;
    height: 76px;
    margin: 0 auto;
    border-radius: 999px;
    background: #fef2f2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.qrc-modal-icon {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: #fee2e2;
    color: #ef4444;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.qrc-modal-icon svg { width: 22px; height: 22px; }
.qrc-modal-title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    font-style: normal;
    color: #1a1a1a;
}
.qrc-modal-desc {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: #6b7280;
    line-height: 1.55;
}
.qrc-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.qrc-modal-btn-confirm {
    padding: 16px;
    border: none;
    border-radius: 16px;
    background: #1a1a1a;
    color: #ffffff;
    font-weight: 700;
    font-size: 11px;
    cursor: pointer;
    transition: background 0.2s ease;
}
.qrc-modal-btn-confirm:hover { background: #000000; }
.qrc-modal-btn-stay {
    padding: 16px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #f3f4f6;
    color: #ef6d00;
    font-weight: 700;
    font-size: 11px;
    cursor: pointer;
    transition: background 0.2s ease;
}
.qrc-modal-btn-stay:hover { background: #fafafa; }

[dir="rtl"] .qrc-cancel-btn,
[dir="rtl"] .qrc-pay-btn {  }

/* ==========================================================================
   QuickPay Confirm-Recharge — `qrcc-*`
   Used in: views/quickPay/confirmRecharge.gsp
   ========================================================================== */
.qrcc-page {
    background: #f5f5f5;
    min-height: calc(100vh - 80px);
    padding: 28px 16px 64px;
}
.qrcc-shell-wrap { max-width: 1050px; margin: 0 auto; }
.qrcc-shell {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 32px 64px -16px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(243, 244, 246, 0.7);
    padding: 28px 24px;
}
@media (min-width: 768px) {
    .qrcc-shell { border-radius: 40px; padding: 44px 48px; }
}

.qrcc-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}
.qrcc-page-title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    font-style: normal;
    color: #1a1a1a;
}
@media (min-width: 768px) {
    .qrcc-page-title { font-size: 28px; }
}
.qrcc-cancel-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 999px;
    border: 1px solid #fecaca;
    background: rgba(254, 242, 242, 0.5);
    color: #ef4444;
    font-weight: 700;
    font-size: 11px;
    cursor: pointer;
    transition: background 0.2s ease;
}
.qrcc-cancel-btn:hover { background: #fef2f2; }

.qrcc-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
}
@media (min-width: 1024px) {
    .qrcc-grid { grid-template-columns: 1fr 380px; gap: 48px; }
}

.qrcc-confirm-card {
    background: #ffffff;
    border: 1px solid #f3f4f6;
    border-radius: 22px;
    padding: 26px 22px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    gap: 22px;
}
@media (min-width: 768px) {
    .qrcc-confirm-card { padding: 32px 30px; gap: 26px; }
}

.qrcc-confirm-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.qrcc-confirm-head-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.qrcc-back-btn {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    color: #1a1a1a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.qrcc-back-btn:hover {
    background: #fafafa;
    border-color: #f3f4f6;
}
.qrcc-back-btn svg { width: 18px; height: 18px; }

.qrcc-confirm-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    font-style: normal;
    color: #1a1a1a;
}
@media (min-width: 768px) {
    .qrcc-confirm-title { font-size: 18px; }
}

.qrcc-method-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #fafafa;
    border: 1px solid #f3f4f6;
    border-radius: 12px;
}
.qrcc-method-pill-icon {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ef6d00;
    border: 1px solid #f3f4f6;
    overflow: hidden;
}
.qrcc-method-pill-icon svg { width: 13px; height: 13px; }
.qrcc-method-pill-icon img { width: 100%; height: 100%; object-fit: contain; padding: 2px; }
.qrcc-method-pill-name {
    font-size: 11px;
    font-weight: 700;
    color: #1a1a1a;
}

.qrcc-details {
    background: rgba(249, 250, 251, 0.6);
    border: 1px solid #f3f4f6;
    border-radius: 18px;
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
@media (min-width: 768px) {
    .qrcc-details { padding: 28px 30px; gap: 22px; }
}
.qrcc-detail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.qrcc-detail-cell { display: flex; flex-direction: column; gap: 4px; }
.qrcc-detail-cell.is-right { align-items: flex-end; text-align: end; }
.qrcc-detail-label {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    color: #67686a;
    text-transform: uppercase;
}
.qrcc-detail-val {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
}
.qrcc-detail-val.is-orange { color: #ef6d00; }
.qrcc-detail-divider {
    height: 1px;
    background: #f3f4f6;
    border: 0;
    margin: 0;
}

.qrcc-breakdown {
    background: rgba(255, 247, 237, 0.4);
    border: 1px solid rgba(255, 213, 170, 0.4);
    border-radius: 18px;
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
@media (min-width: 768px) {
    .qrcc-breakdown { padding: 26px 28px; gap: 14px; }
}
.qrcc-bd-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 700;
    color: #6b7280;
}
.qrcc-bd-row .qrcc-bd-val { color: #1a1a1a; font-weight: 700; }
.qrcc-bd-divider {
    height: 1px;
    background: rgba(255, 213, 170, 0.5);
    border: 0;
    margin: 4px 0;
}
.qrcc-bd-total-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding-top: 4px;
}
.qrcc-bd-total-label {
    font-size: 16px;
    font-weight: 700;
    font-style: normal;
    color: #1a1a1a;
}
.qrcc-bd-total-val {
    font-size: 26px;
    font-weight: 700;
    color: #ef6d00;
}
.qrcc-bd-total-jd {
    font-size: 12px;
    font-weight: 700;
    color: #ef6d00;
    margin-inline-start: 4px;
}

.qrcc-security {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(239, 246, 255, 0.55);
    border: 1px solid rgba(191, 219, 254, 0.5);
    border-radius: 12px;
}
.qrcc-security svg {
    width: 18px;
    height: 18px;
    color: #4f4c4c;
    flex-shrink: 0;
}
.qrcc-security p {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    color: #4f4c4c;
    line-height: 1.55;
}

.qrcc-summary {
    background: #ffffff;
    border: 1px solid #f3f4f6;
    border-radius: 22px;
    padding: 26px 22px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}
@media (min-width: 768px) {
    .qrcc-summary { padding: 30px 26px; }
}

.qrcc-summary-title {
    margin: 0 0 14px 0;
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
}

.qrcc-user-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: #fafafa;
    border: 1px solid #f3f4f6;
    border-radius: 14px;
}
.qrcc-user-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #f3f4f6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ef6d00;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    flex-shrink: 0;
}
.qrcc-user-icon svg { width: 18px; height: 18px; }
.qrcc-user-meta { display: flex; flex-direction: column; gap: 2px; }
.qrcc-user-label {
    margin: 0;
    font-size: 9px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: capitalize;
}
.qrcc-user-num {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
}
.qrcc-user-bundle {
    margin: 0;
    font-size: 10px;
    font-weight: 700;
    color: #ef6d00;
    text-transform: uppercase;
}

.qrcc-pm-section-label {
    margin: 0 0 12px 4px;
    font-size: 10px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
}
.qrcc-pm {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 16px;
    border-radius: 16px;
    border: 2px solid #ef6d00;
    background: #ffffff;
    box-shadow: 0 0 0 1px #ef6d00;
}
.qrcc-pm-left { display: flex; align-items: center; gap: 14px; }
.qrcc-pm-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #1a1a1a;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.qrcc-pm-icon svg { width: 18px; height: 18px; color: #ffffff; }
.qrcc-pm-icon img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.qrcc-pm-name {
    font-size: 12px;
    font-weight: 700;
    color: #ef6d00;
}
.qrcc-pm-radio {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: #ffffff;
    border: 2.5px solid #ff7900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-sizing: border-box;
}
.qrcc-pm-radio-inner {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #ff7900;
}

.qrcc-total-block {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 22px;
    border-top: 1px solid #f3f4f6;
}
.qrcc-total-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}
.qrcc-total-label {
    margin: 0;
    font-size: 10px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    flex: 1 1 auto;
    min-width: 0;
}
.qrcc-total-amount {
    display: inline-flex;
    flex-direction: row;
    align-items: baseline;
    gap: 4px;
    direction: ltr !important;
    unicode-bidi: isolate;
    flex: 0 0 auto;
    margin-inline-start: auto;
}
.qrcc-total-num {
    font-size: 30px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
    direction: ltr;
    unicode-bidi: isolate;
    white-space: nowrap;
}
.qrcc-total-jd {
    font-size: 13px;
    font-weight: 700;
    color: #ef6d00;
    unicode-bidi: isolate;
}
#qrcc-monthly-plan-subtitle {
    margin: 0 0 14px;
}
#qrcc-monthly-plan-subtitle:empty {
    display: none;
}

.qrcc-pay-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 20px;
    border: none;
    border-radius: 16px;
    background: #ef6d00;
    color: #ffffff;
    font-weight: 700;
    font-size: 11px;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(255, 121, 0, 0.18);
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.qrcc-pay-btn:hover {
    background: #e66d00;
    box-shadow: 0 18px 40px rgba(255, 121, 0, 0.28);
    transform: translateY(-1px);
}
.qrcc-pay-btn:active { transform: translateY(0); }
.qrcc-pay-btn svg { width: 14px; height: 14px; }
.qrcc-pay-btn:disabled,
.qrcc-pay-btn:disabled:hover {
    background: #cccccc;
    color: #ffffff;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* Terms agreement checkbox above "Proceed to Payment" (_confirmTermsAgreement.gsp) */
.qrcc-terms {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 16px 0;
    cursor: pointer;
    user-select: none;
}
.qrcc-terms-input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: #ff7900;
    cursor: pointer;
    flex-shrink: 0;
}
.qrcc-terms-label {
    font-size: 12px;
    color: #222222;
    line-height: 1.5;
}
.qrcc-terms-link {
    display: block;
    margin-top: 2px;
    color: #ff7900;
    text-decoration: underline;
}
.qrcc-terms-link:hover,
.qrcc-terms-link:focus {
    color: #e66d00;
}

.qrcc-modal-overlay {
    position: fixed; inset: 0; z-index: 100;
    display: none;
    align-items: center; justify-content: center;
    padding: 16px;
}
.qrcc-modal-overlay.is-open { display: flex; }
.qrcc-modal-backdrop {
    position: absolute; inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.qrcc-modal {
    position: relative;
    background: #ffffff;
    width: 100%;
    max-width: 420px;
    border-radius: 32px;
    padding: 36px 30px;
    box-shadow: 0 32px 64px -16px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    gap: 22px;
    text-align: center;
}
.qrcc-modal-icon-wrap {
    width: 76px; height: 76px;
    margin: 0 auto;
    border-radius: 999px;
    background: #fef2f2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.qrcc-modal-icon {
    width: 48px; height: 48px;
    border-radius: 999px;
    background: #fee2e2;
    color: #ef4444;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.qrcc-modal-icon svg { width: 22px; height: 22px; }
.qrcc-modal-title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    font-style: normal;
    color: #1a1a1a;
}
.qrcc-modal-desc {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: #6b7280;
    line-height: 1.55;
}
.qrcc-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.qrcc-modal-btn-confirm {
    padding: 16px;
    border: none;
    border-radius: 16px;
    background: #1a1a1a;
    color: #ffffff;
    font-weight: 700;
    font-size: 11px;
    cursor: pointer;
    transition: background 0.2s ease;
}
.qrcc-modal-btn-confirm:hover { background: #000000; }
.qrcc-modal-btn-stay {
    padding: 16px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #f3f4f6;
    color: #ef6d00;
    font-weight: 700;
    font-size: 11px;
    cursor: pointer;
    transition: background 0.2s ease;
}
.qrcc-modal-btn-stay:hover { background: #fafafa; }
.qrcc-modal.qgp-customer-modal {
    text-align: start;
    max-width: 680px;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    gap: 18px;
    padding: 32px 28px 28px;
}
.qgp-customer-head { display: flex; flex-direction: column; gap: 8px; }
.qgp-customer-kicker {
    margin: 0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #ef6d00;
    text-align: start;
}
[dir="rtl"] .qgp-customer-kicker {
    letter-spacing: 0;
    text-transform: none;
}
.qgp-customer-modal .qrcc-modal-title { text-align: start; }
.qgp-customer-modal .qrcc-modal-desc {
    font-weight: 500;
    text-align: start;
}
.qgp-customer-section { display: flex; flex-direction: column; gap: 12px; }
.qgp-customer-section + .qgp-customer-section {
    padding-top: 16px;
    border-top: 1px solid #f3f4f6;
}
.qgp-section-label {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: #111111;
}
.qgp-section-label.is-center {
    text-align: center;
    font-size: 16px;
}
.qgp-customer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.qgp-customer-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}
.qgp-customer-field.is-wide { grid-column: 1 / -1; }
.qgp-customer-field label {
    margin: 0;
    margin-inline-start: 4px;
    font-size: 13px;
    font-weight: 700;
    color: #111111;
    text-align: start;
}
.qgp-req { color: #e24b4a; }
.qgp-customer-field input,
.qgp-customer-field select {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 16px;
    background: rgba(249, 250, 251, 0.5);
    border: 1px solid #ebebeb;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    font-family: inherit;
    outline: none;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.qgp-customer-field input::placeholder { color: #d1d5db; font-weight: 500; }
.qgp-customer-field input:focus,
.qgp-customer-field select:focus {
    background: #ffffff;
    border-color: #ef6d00;
    box-shadow: 0 0 0 3px rgba(255, 121, 0, 0.18);
}
.qgp-customer-field select.qgp-country {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23444444' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 14px;
    padding-right: 40px;
}
[dir="rtl"] .qgp-customer-field select.qgp-country {
    background-position: left 16px center;
    padding-right: 16px;
    padding-left: 40px;
}
.qgp-customer-error {
    display: none;
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    color: #b42318;
}
.qgp-customer-error.is-show { display: block; }
@media (max-width: 520px) {
    .qrcc-modal.qgp-customer-modal { padding: 24px 18px 18px; border-radius: 24px; }
    .qgp-customer-grid { grid-template-columns: 1fr; }
}

/* =====================================================
   Remove Card Process Page — rcp- namespace
   ===================================================== */

/* ── Page shell ── */
.rcp-page {
    background: #f5f5f5;
    min-height: calc(100vh - 120px);
    padding: 40px 16px 60px;
}

.rcp-shell {
    max-width: 580px;
    margin: 0 auto;
}

/* ── Section label ── */
.rcp-section-label {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #1a1a1a;
    margin: 0 0 14px 4px;
}

/* ── White card ── */
.rcp-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 18px;
    padding: 40px 32px 36px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .07);
    text-align: center;
}

/* ── Card title ── */
.rcp-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 10px;
    line-height: 1.3;
}

/* ── Subtitle / description ── */
.rcp-desc {
    font-size: 13px;
    color: #777;
    line-height: 1.6;
    margin: 0 auto 28px;
    max-width: 400px;
}

/* ── Form ── */
.rcp-form {
    text-align: start;
    margin-bottom: 28px;
}

.rcp-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    margin-bottom: 8px;
}

.rcp-textarea {
    width: 100%;
    resize: vertical;
    min-height: 110px;
    padding: 12px 14px;
    font-size: 14px;
    color: #1a1a1a;
    background: #fff;
    border: 1.5px solid #d0d0d0;
    border-radius: 12px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    box-sizing: border-box;
    font-family: inherit;
    line-height: 1.5;
}

.rcp-textarea::placeholder {
    color: #aaa;
}

.rcp-textarea:focus {
    border-color: #ff6c00;
    box-shadow: 0 0 0 3px rgba(255, 108, 0, .15);
}

/* ── Actions row ── */
.rcp-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* ── Buttons ── */
.rcp-btn {
    flex: 1;
    height: 48px;
    border: none;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .18s, transform .12s;
    font-family: inherit;
}

.rcp-btn:active {
    transform: scale(.97);
}

.rcp-btn--cancel {
    background: #f0f0f0;
    color: #444;
    border: 1.5px solid #d0d0d0;
}

.rcp-btn--cancel:hover {
    background: #e5e5e5;
}

.rcp-btn--submit {
    background: #ff6c00;
    color: #fff;
}

.rcp-btn--submit:hover {
    background: #e56000;
}

.rcp-btn--submit:disabled {
    opacity: .65;
    cursor: not-allowed;
}

/* ── Responsive ── */
@media (max-width: 480px) {
    .rcp-card { padding: 32px 20px 28px; }
    .rcp-actions { flex-direction: column; }
}
/* ==========================================================================
   QuickPay Visa-Card details — `qrvc-*`
   Used in: views/quickPay/visaCard.gsp
   ========================================================================== */
.qrvc-page {
    background: #f5f5f5;
    min-height: calc(100vh - 80px);
    padding: 28px 16px 64px;
}
.qrvc-shell-wrap { max-width: 1180px; margin: 0 auto; }
.qrvc-shell {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 32px 64px -16px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(243, 244, 246, 0.7);
    padding: 28px 24px;
}
@media (min-width: 768px) {
    .qrvc-shell { border-radius: 40px; padding: 44px 48px; }
}

.qrvc-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.qrvc-page-title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    font-style: normal;
    color: #1a1a1a;
}
@media (min-width: 768px) {
    .qrvc-page-title { font-size: 28px; }
}
.qrvc-cancel-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 999px;
    border: 1px solid #fecaca;
    background: rgba(254, 242, 242, 0.5);
    color: #ef4444;
    font-weight: 700;
    font-size: 11px;
    cursor: pointer;
    transition: background 0.2s ease;
}
.qrvc-cancel-btn:hover { background: #fef2f2; }

.qrvc-container {
    max-width: 740px;
    margin: 0 auto;
    padding-bottom: 32px;
}

.qrvc-section-head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    margin-bottom: 28px;
}
@media (min-width: 768px) {
    .qrvc-section-head { margin-bottom: 36px; }
}
.qrvc-back-btn {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    color: #1a1a1a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.qrvc-back-btn:hover {
    background: #ffffff;
    border-color: #f3f4f6;
}
.qrvc-back-btn svg { width: 18px; height: 18px; }
.qrvc-section-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    font-style: normal;
    color: #1a1a1a;

}
@media (min-width: 768px) {
    .qrvc-section-title { font-size: 24px; }
}

.qrvc-card-stage {
    display: flex;
    justify-content: center;
    margin: 0 auto 32px;
    perspective: 2000px;
}
/* Preview lives inside the card form (direct entry or after HyperPay injects the form). */
#qrvc-form > .qrvc-card-stage,
form.wpwl-form-card > #qrvc-card-stage-root.qrvc-card-stage,
form.wpwl-form > #qrvc-card-stage-root.qrvc-card-stage {
    margin-top: 0;
}
@media (min-width: 768px) {
    .qrvc-card-stage { margin-bottom: 48px; }
}
.qrvc-card-flipper {
    position: relative;
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1.586 / 1;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), -webkit-transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@media (min-width: 768px) {
    .qrvc-card-flipper { max-width: 400px; }
}
.qrvc-card-flipper.is-flipped {
    transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
}

.qrvc-card-face {
    position: absolute;
    inset: 0;
    border-radius: 18px;
    padding: 22px;
    color: #ffffff;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
@media (min-width: 768px) {
    .qrvc-card-face { border-radius: 20px; padding: 28px; }
}

.qrvc-card-front {
    background: linear-gradient(135deg, #ef6d00 0%, #ef6d00 55%, #1a1a1a 100%);
}
.qrvc-card-front[data-brand="visa"] {
    background: linear-gradient(135deg, #1a1f71 0%, #1a1f71 55%, #0e114a 100%);
}
.qrvc-card-front[data-brand="mastercard"] {
    background: linear-gradient(135deg, #222222 0%, #333333 55%, #000000 100%);
}
.qrvc-card-front[data-brand="amex"] {
    background: linear-gradient(135deg, #016fd0 0%, #016fd0 55%, #00529b 100%);
}

.qrvc-card-front::before {
    content: "";
    position: absolute;
    top: -40px; right: -40px;
    width: 160px; height: 160px;
    background: rgba(255, 255, 255, 0.10);
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
}
.qrvc-card-front::after {
    content: "";
    position: absolute;
    bottom: -40px; left: -40px;
    width: 160px; height: 160px;
    background: rgba(0, 0, 0, 0.20);
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
}

.qrvc-card-row-top {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.qrvc-card-chip {
    width: 42px; height: 32px;
    border-radius: 6px;
    background: linear-gradient(135deg, #fef3c7 0%, #fbbf24 50%, #d97706 100%);
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}
@media (min-width: 768px) {
    .qrvc-card-chip { width: 48px; height: 40px; }
}
.qrvc-card-chip::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
            linear-gradient(transparent 25%, rgba(0,0,0,0.10) 25%, rgba(0,0,0,0.10) 28%, transparent 28%),
            linear-gradient(transparent 50%, rgba(0,0,0,0.10) 50%, rgba(0,0,0,0.10) 53%, transparent 53%),
            linear-gradient(transparent 75%, rgba(0,0,0,0.10) 75%, rgba(0,0,0,0.10) 78%, transparent 78%);
}
.qrvc-card-brand {
    font-size: 22px;
    font-weight: 700;
    font-style: normal;
    opacity: 0.92;
}
@media (min-width: 768px) {
    .qrvc-card-brand { font-size: 26px; }
}

.qrvc-card-row-mid {
    position: relative;
    z-index: 1;
}
.qrvc-card-number {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 14px 0;
    min-height: 26px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.18);
    transition: opacity 0.2s ease;
}
.qrvc-card-number.is-empty {
    opacity: 0.72;
}
.qrvc-card-number.qrvc-card-number--pulse {
    animation: qrvc-card-pan-pulse 0.38s ease;
}
@keyframes qrvc-card-pan-pulse {
    0% {
        opacity: 0.45;
        transform: translateY(3px);
    }
    55% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (min-width: 768px) {
    .qrvc-card-number { font-size: 22px; min-height: 32px; margin-bottom: 22px; }
}

.qrvc-card-row-bot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
}
.qrvc-card-meta { flex: 1; min-width: 0; }
.qrvc-card-meta.is-right { text-align: end; padding: 0 6px; }
.qrvc-card-meta-label {
    font-size: 8px;
    font-weight: 700;
    opacity: 0.6;
    margin: 0 0 4px 0;
    text-transform: uppercase;
}
@media (min-width: 768px) {
    .qrvc-card-meta-label { font-size: 10px; }
}
.qrvc-card-meta-val {
    font-size: 12px;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    text-transform: uppercase;
}
@media (min-width: 768px) {
    .qrvc-card-meta-val { font-size: 14px; }
}
.qrvc-card-brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
}
.qrvc-card-brand-icon-default {
    width: 28px; height: 28px;
    opacity: 0.4;
}

.qrvc-card-back {
    background: linear-gradient(135deg, #222222 0%, #000000 100%);
    transform: rotateY(180deg) translateZ(0);
    -webkit-transform: rotateY(180deg) translateZ(0);
    padding: 0;
    justify-content: flex-start;
}
.qrvc-card-back-stripe {
    width: 100%;
    height: 48px;
    background: #000000;
    margin-top: 28px;
}
.qrvc-card-back-content {
    padding: 16px 24px 22px;
}
.qrvc-card-cvv-strip {
    position: relative;
    width: 100%;
    height: 44px;
    background: #eeeeee;
    border-radius: 4px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 18px;
    overflow: hidden;
}
.qrvc-card-cvv-strip::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(45deg, #000, #000 10px, transparent 10px, transparent 20px);
    opacity: 0.10;
    pointer-events: none;
}
.qrvc-card-cvv-text {
    color: #1a1a1a;
    font-family: monospace;
    font-size: 18px;
    font-weight: 700;
    font-style: normal;

    position: relative;
    z-index: 1;
    margin: 0;
    transition: opacity 0.2s ease;
}
.qrvc-card-cvv-text.is-empty {
    opacity: 0.65;
}
.qrvc-card-cvv-text.qrvc-card-cvv-text--pulse {
    animation: qrvc-card-cvv-pulse 0.38s ease;
}
@keyframes qrvc-card-cvv-pulse {
    0% {
        opacity: 0.45;
        transform: scale(0.96);
    }
    55% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}
.qrvc-card-back-foot {
    margin-top: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0.4;
    color: #ffffff;
    font-size: 7px;
    line-height: 1.55;
}
.qrvc-card-back-sig { max-width: 200px; }
.qrvc-card-back-orange {
    font-size: 10px;
    font-weight: 700;
    font-style: normal;
    color: rgba(255, 255, 255, 0.5);
}

.qrvc-form-card {
    background: #ffffff;
    border: 1px solid #f3f4f6;
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
@media (min-width: 768px) {
    .qrvc-form-card { border-radius: 32px; padding: 40px; }
}
.qrvc-form-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
@media (min-width: 768px) {
    .qrvc-form-grid { gap: 32px; }
}

.qrvc-form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 768px) {
    .qrvc-form-row { grid-template-columns: 1fr 200px; gap: 24px; }
}

.qrvc-field { display: flex; flex-direction: column; gap: 6px; }
.qrvc-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 9px;
    font-weight: 700;
    color: #9ca3af;
    margin: 0 0 4px 4px;
    text-transform: capitalize;
}
@media (min-width: 768px) {
    .qrvc-label { font-size: 10px; }
}
.qrvc-label svg {
    width: 11px; height: 11px;
    color: #ef6d00;
}

.qrvc-input {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 16px;
    text-align: start;
    background: rgba(249, 250, 251, 0.5);
    border: 1px solid #ebebeb;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    outline: none;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
}
@media (min-width: 768px) {
    .qrvc-input { padding: 14px 22px; border-radius: 16px; font-size: 16px; }
}
.qrvc-input::placeholder { color: #e5e7eb; }
.qrvc-input:focus {
    background: #ffffff;
    border-color: #ef6d00;
    box-shadow: 0 0 0 3px rgba(255, 121, 0, 0.18);
}
.qrvc-input.is-center { text-align: center; }

.qrvc-name-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.qrvc-name-grid .qrvc-input { font-size: 13px; }

.qrvc-cvv-wrap { position: relative; }
.qrvc-cvv-help {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #9ca3af;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}
.qrvc-cvv-help:hover { background: #fafafa; }

.qrvc-billing {
    padding-top: 24px;
    border-top: 1px solid #f3f4f6;
}
@media (min-width: 768px) {
    .qrvc-billing { padding-top: 32px; }
}
.qrvc-billing-label {
    display: block;
    margin: 0 0 18px 4px;
    font-size: 10px;
    font-weight: 700;
    color: #9ca3af;
}
.qrvc-billing-box {
    background: rgba(249, 250, 251, 0.5);
    border: 1px solid #ebebeb;
    border-radius: 16px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.qrvc-select {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 18px;
    padding-inline-end: 40px;
    background: #ffffff;
    border: 1px solid #ebebeb;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23ccc'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
}
.qrvc-select:focus {
    border-color: #ef6d00;
    box-shadow: 0 0 0 3px rgba(255, 121, 0, 0.18);
}

.qrvc-grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}
@media (min-width: 640px) {
    .qrvc-grid-3 { grid-template-columns: repeat(3, 1fr); }
}
.qrvc-input-sm {
    padding: 11px 18px;
    background: #ffffff;
    border: 1px solid #ebebeb;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
}
.qrvc-input-sm::placeholder { color: #d1d5db; }
.qrvc-input-sm:focus {
    border-color: #ef6d00;
    box-shadow: 0 0 0 3px rgba(255, 121, 0, 0.18);
}

.qrvc-footer {
    padding-top: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}
.qrvc-footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 16px;
    flex-wrap: wrap;
}
.qrvc-orange-mark {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.qrvc-orange-square {
    width: 44px;
    height: 44px;
    background: #ef6d00;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 26px;
}
.qrvc-orange-divider {
    height: 32px;
    width: 1px;
    background: #f3f4f6;
}
.qrvc-register-btn {
    padding: 15px 42px;
    background: #28a745;
    color: #ffffff;
    border: none;
    border-radius: 16px;
    font-weight: 700;
    font-size: 11px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.25);
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.qrvc-register-btn:hover {
    background: #218838;
    box-shadow: 0 15px 35px rgba(40, 167, 69, 0.35);
    transform: translateY(-1px);
}
.qrvc-register-btn:active { transform: translateY(0); }

.qrvc-security {
    position: relative;
    width: 100%;
    background: rgba(254, 242, 242, 0.5);
    border: 1px solid rgba(254, 202, 202, 0.5);
    border-radius: 22px;
    padding: 22px;
    text-align: center;
}
.qrvc-security-info {
    position: absolute;
    top: 14px;
    right: 14px;
    color: #ef4444;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 2px;
    transition: color 0.15s ease;
}
.qrvc-security-info:hover { color: #dc2626; }
.qrvc-security-info svg { width: 16px; height: 16px; }
.qrvc-security-title {
    margin: 0 0 6px 0;
    color: #ef4444;
    font-size: 11px;
    font-weight: 700;
    font-style: normal;
}
.qrvc-security-text {
    margin: 0;
    color: #ef4444;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.85;
}

.qrvc-modal-overlay {
    position: fixed; inset: 0; z-index: 100;
    display: none;
    align-items: center; justify-content: center;
    padding: 16px;
}
.qrvc-modal-overlay.is-open { display: flex; }
.qrvc-modal-backdrop {
    position: absolute; inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.qrvc-modal {
    position: relative;
    background: #ffffff;
    width: 100%;
    max-width: 420px;
    border-radius: 32px;
    padding: 36px 30px;
    box-shadow: 0 32px 64px -16px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    gap: 22px;
    text-align: center;
}
.qrvc-modal-icon-wrap {
    width: 76px; height: 76px;
    margin: 0 auto;
    border-radius: 999px;
    background: #fef2f2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.qrvc-modal-icon {
    width: 48px; height: 48px;
    border-radius: 999px;
    background: #fee2e2;
    color: #ef4444;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.qrvc-modal-icon svg { width: 22px; height: 22px; }
.qrvc-modal-title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    font-style: normal;
    color: #1a1a1a;

}
.qrvc-modal-desc {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: #6b7280;
    line-height: 1.55;
}
.qrvc-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.qrvc-modal-btn-confirm {
    padding: 16px;
    border: none;
    border-radius: 16px;
    background: #1a1a1a;
    color: #ffffff;
    font-weight: 700;
    font-size: 11px;

    cursor: pointer;
    transition: background 0.2s ease;
}
.qrvc-modal-btn-confirm:hover { background: #000000; }
.qrvc-modal-btn-stay {
    padding: 16px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #f3f4f6;
    color: #ef6d00;
    font-weight: 700;
    font-size: 11px;
    cursor: pointer;
    transition: background 0.2s ease;
}
.qrvc-modal-btn-stay:hover { background: #fafafa; }

/* ==========================================================================
   QuickPay Pay Bills (service info) — `qrb-*`
   Used in: views/quickPay/payBills.gsp
   ========================================================================== */
.qrb-page {
    background: #f5f5f5;
    min-height: calc(100vh - 80px);
    padding: 28px 16px 64px;
}
.qrb-shell-wrap { max-width: 1180px; margin: 0 auto; }
.qrb-shell {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 32px 64px -16px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(243, 244, 246, 0.7);
    padding: 28px 24px;
}
@media (min-width: 768px) {
    .qrb-shell { border-radius: 40px; padding: 44px 48px; }
}

.qrb-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.qrb-page-title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    font-style: normal;
    color: #1a1a1a;
}
@media (min-width: 768px) {
    .qrb-page-title { font-size: 28px; }
}
.qrb-cancel-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 999px;
    border: 1px solid #fecaca;
    background: rgba(254, 242, 242, 0.5);
    color: #ef4444;
    font-weight: 700;
    font-size: 11px;
    cursor: pointer;
    transition: background 0.2s ease;
}
.qrb-cancel-btn:hover { background: #fef2f2; }

.qrb-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
}
@media (min-width: 1024px) {
    .qrb-grid { grid-template-columns: 1fr 380px; gap: 48px; }

}

.qrb-section-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}
.qrb-service-info-head {
    margin-bottom: 22px;
}
.qrb-back-btn {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    color: #1a1a1a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.qrb-back-btn:hover {
    background: #ffffff;
    border-color: #f3f4f6;
}
.qrb-back-btn svg { width: 18px; height: 18px; }
.qrb-section-title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    font-style: normal;
    color: #1a1a1a;
}
@media (min-width: 768px) {
    .qrb-section-title { font-size: 24px; }
}

.qrb-info-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #f3f4f6;
    border-radius: 22px;
    padding: 24px 26px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    margin-bottom: 18px;
}
@media (min-width: 768px) {
    .qrb-info-card { padding: 32px 34px; border-radius: 26px; }
}
.qrb-info-card::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -10px;
    transform: translateY(-50%);
    width: 220px;
    height: 220px;
    background: radial-gradient(circle at center, rgba(255, 121, 0, 0.06) 0%, rgba(255, 121, 0, 0) 65%);
    pointer-events: none;
}
.qrb-info-row { position: relative; z-index: 1; }
.qrb-info-row + .qrb-info-row { margin-top: 22px; }

.qrb-info-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px 0;
    font-size: 9px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
}
@media (min-width: 768px) {
    .qrb-info-label { font-size: 10px; }
}
.qrb-info-label svg { width: 11px; height: 11px; color: #ef6d00; }

.qrb-info-value-lg {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
}
@media (min-width: 768px) {
    .qrb-info-value-lg { font-size: 30px; }
}

.qrb-balance-row {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #fafafa;
    border: 1px solid #f3f4f6;
    border-radius: 14px;
}
.qrb-balance-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #fff7ed;
    border: 1px solid #ffedd5;
    color: #ef6d00;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.qrb-balance-icon svg { width: 18px; height: 18px; }
.qrb-balance-meta { display: flex; flex-direction: column; gap: 2px; }
.qrb-balance-meta .qrb-info-label { margin: 0; }
.qrb-balance-amount {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
}
.qrb-balance-amount-num {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
}
.qrb-balance-amount-jod {
    font-size: 11px;
    font-weight: 700;
    color: #9ca3af;
}

.qrb-inputs-card {
    background: rgba(249, 250, 251, 0.5);
    border: 1px dashed #ebebeb;
    border-radius: 22px;
    padding: 18px;
}
@media (min-width: 768px) {
    .qrb-inputs-card { padding: 22px; border-radius: 26px; }
}
.qrb-inputs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
@media (min-width: 640px) {
    .qrb-inputs-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
}

.qrb-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.qrb-field-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 4px 4px;
    font-size: 9px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
}
@media (min-width: 768px) {
    .qrb-field-label { font-size: 10px; }
}
.qrb-field-input-wrap {
    position: relative;
    display: flex;
    align-items: stretch;
    background: #ffffff;
    border: 1px solid #ebebeb;
    border-radius: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.qrb-field-input-wrap.is-focused {
    border-color: #ef6d00;
    box-shadow: 0 0 0 3px rgba(255, 121, 0, 0.18);
}
.qrb-field-input-wrap.is-valid {
    border-color: #28a745;
}
.qrb-field-input-wrap.is-error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.16);
}
.qrb-field-input {
    flex: 1;
    min-width: 0;
    padding: 14px 18px;
    border: none;
    outline: none;
    background: transparent;
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    font-family: inherit;
    border-radius: 14px;
}
@media (min-width: 768px) {
    .qrb-field-input { padding: 15px 20px; font-size: 16px; }
}
.qrb-field-input::placeholder { color: #d1d5db; }
.qrb-field-suffix {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    background: #1a1a1a;
    border-radius: 12px;
    margin: 6px;
}
.qrb-field-check {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #e7f7ef;
    color: #28a745;
    display: none;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.qrb-field-check svg { width: 12px; height: 12px; }
.qrb-field-input-wrap.is-valid .qrb-field-check { display: inline-flex; }

.qrb-cta-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 22px;
}
.qrb-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    border: none;
    border-radius: 18px;
    background: #ef6d00;
    color: #ffffff;
    font-weight: 700;
    font-size: 11px;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(255, 121, 0, 0.18);
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}
.qrb-cta:hover:not(:disabled) {
    background: #e66d00;
    box-shadow: 0 18px 40px rgba(255, 121, 0, 0.28);
    transform: translateY(-1px);
}
.qrb-cta:active:not(:disabled) { transform: translateY(0); }
.qrb-cta:disabled { opacity: 0.45; cursor: not-allowed; box-shadow: none; }
.qrb-cta svg { width: 14px; height: 14px; transition: transform 0.2s ease; }
.qrb-cta:hover:not(:disabled) svg { transform: translateX(4px); }

.qrb-summary {
    background: #ffffff;
    border: 1px solid #f3f4f6;
    border-radius: 22px;
    padding: 26px 22px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}
@media (min-width: 768px) {
    .qrb-summary { padding: 30px 26px; }
}

.qrb-summary-title {
    margin: 0 0 14px 0;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
}

.qrb-user-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: #fafafa;
    border: 1px solid #f3f4f6;
    border-radius: 14px;
}
.qrb-user-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #f3f4f6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ef6d00;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    flex-shrink: 0;
}
.qrb-user-icon svg { width: 18px; height: 18px; }
.qrb-user-meta { display: flex; flex-direction: column; gap: 2px; }
.qrb-user-label {
    margin: 0;
    font-size: 9px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: capitalize;
}
.qrb-user-num {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
}

.qrb-pm-section-label {
    margin: 0 0 14px 4px;
    font-size: 10px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
}
.qrb-pm-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;

}
.qrb-pm {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 13px 16px;
    border-radius: 16px;
    border: 2px solid #f3f4f6;
    background: rgba(249, 250, 251, 0.5);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}
.qrb-pm-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
}
.qrb-pm-extra {
    display: none !important;
    width: 100%;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #ececec;
    cursor: default;
}
.qrb-pm.is-selected .qrb-pm-extra,
.qrb-pm:has(input[type="radio"]:checked) .qrb-pm-extra {
    display: block !important;
}
.qrb-pm-extra.qrcc-cliq-wrap {
    margin-top: 10px;
    padding: 10px 0 0;
    border: 0;
    border-top: none;
    border-radius: 0;
    background: transparent;
    min-width: 0;
    max-width: 100%;
}
.qrb-pm:hover {
    background: #ffffff;
    border-color: #e5e7eb;
}
.qrb-pm.is-selected {
    border-color: #ef6d00;
    background: #ffffff;
    box-shadow: 0 0 0 1px #ef6d00;
}
.qrb-pm-left { display: flex; align-items: center; gap: 14px; }
.qrb-pm-icon {
    width: 38px;
    height: 38px;
}
.qrb-pm-icon svg { width: 18px; height: 18px; }
.qrb-pm.is-selected .qrb-pm-icon svg { color: #ffffff; }
.qrb-pm-name {
    font-size: 12px;
    font-weight: 700;
    color: #9ca3af;
    transition: color 0.2s ease;
}
.qrb-pm.is-selected .qrb-pm-name { color: #ef6d00; }
.qrb-pm-radio {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    border: 2.5px solid #d1d5db;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #ffffff;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}
.qrb-pm.is-selected .qrb-pm-radio {
    background: #ffffff;
    border-color: #ff7900;
}
.qrb-pm-radio-inner {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #ff7900;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.qrb-pm.is-selected .qrb-pm-radio-inner { opacity: 1; }
.qrb-pm input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

.qrb-modal-overlay {
    position: fixed; inset: 0; z-index: 100;
    display: none;
    align-items: center; justify-content: center;
    padding: 16px;
}
.qrb-modal-overlay.is-open { display: flex; }
.qrb-modal-backdrop {
    position: absolute; inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.qrb-modal {
    position: relative;
    background: #ffffff;
    width: 100%;
    max-width: 420px;
    border-radius: 32px;
    padding: 36px 30px;
    box-shadow: 0 32px 64px -16px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    gap: 22px;
    text-align: center;
}
.qrb-modal-icon-wrap {
    width: 76px; height: 76px;
    margin: 0 auto;
    border-radius: 999px;
    background: #fef2f2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.qrb-modal-icon {
    width: 48px; height: 48px;
    border-radius: 999px;
    background: #fee2e2;
    color: #ef4444;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.qrb-modal-icon svg { width: 22px; height: 22px; }
.qrb-modal-title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    font-style: normal;
    color: #1a1a1a;
}
.qrb-modal-desc {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: #6b7280;
    line-height: 1.55;
}
.qrb-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.qrb-modal-btn-confirm {
    padding: 16px;
    border: none;
    border-radius: 16px;
    background: #1a1a1a;
    color: #ffffff;
    font-weight: 700;
    font-size: 11px;
    cursor: pointer;
    transition: background 0.2s ease;
}
.qrb-modal-btn-confirm:hover { background: #000000; }
.qrb-modal-btn-stay {
    padding: 16px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #f3f4f6;
    color: #ef6d00;
    font-weight: 700;
    font-size: 11px;
    cursor: pointer;
    transition: background 0.2s ease;
}
.qrb-modal-btn-stay:hover { background: #fafafa; }

/* ==========================================================================
   QuickPay Payment Success — `qrs-*`
   Used in: views/quickPay/success.gsp
   ========================================================================== */
.qrs-page {
    background: #f5f5f5;
    min-height: calc(100vh - 80px);
    padding: 28px 16px 64px;
}
.qrs-shell-wrap { max-width: 1180px; margin: 0 auto; }
.qrs-shell {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 32px 64px -16px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(243, 244, 246, 0.7);
    padding: 28px 24px;
}
@media (min-width: 768px) {
    .qrs-shell { border-radius: 40px; padding: 44px 48px; }
}

.qrs-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 0 8px;
}
@media (min-width: 768px) {
    .qrs-stage { padding: 32px 0 12px; }
}

.qrs-card {
    width: 100%;
    max-width: 540px;
    background: #ffffff;
    border: 1px solid #f3f4f6;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    animation: qrs-pop 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@media (min-width: 768px) {
    .qrs-card { border-radius: 32px; padding: 40px; }
}

@keyframes qrs-pop {
    0%   { opacity: 0; transform: scale(0.94); }
    100% { opacity: 1; transform: scale(1); }
}

.qrs-check-circle {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    background: #e7f7ef;
    color: #28a745;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 1px rgba(40, 167, 69, 0.10),
    0 1px 2px rgba(0, 0, 0, 0.03);
}
@media (min-width: 768px) {
    .qrs-check-circle {
        width: 96px;
        height: 96px;
        margin-bottom: 32px;
        border-width: 4px;
    }
}
.qrs-check-circle svg { width: 32px; height: 32px; }
@media (min-width: 768px) {
    .qrs-check-circle svg { width: 48px; height: 48px; }
}

@keyframes qrs-draw {
    0%   { stroke-dashoffset: 100; }
    100% { stroke-dashoffset: 0; }
}
.qrs-check-path {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: qrs-draw 0.6s ease-out 0.25s forwards;
}

.qrs-title {
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
}
@media (min-width: 768px) {
    .qrs-title { font-size: 28px; margin-bottom: 16px; }
}

.qrs-desc {
    margin: 0 auto 24px;
    max-width: 360px;
    font-size: 11px;
    font-weight: 700;
    color: #6b7280;
    line-height: 1.65;
}
@media (min-width: 768px) {
    .qrs-desc { font-size: 13px; margin-bottom: 36px; max-width: 380px; }
}
.qrs-desc strong { font-weight: 700; color: #1a1a1a; }

.qrs-details {
    width: 100%;
    box-sizing: border-box;
    background: #fafafa;
    border: 1px solid #f3f4f6;
    border-radius: 14px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}
@media (min-width: 768px) {
    .qrs-details {
        border-radius: 20px;
        padding: 28px 32px;
        gap: 18px;
        margin-bottom: 36px;
    }
}
.qrs-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    gap: 12px;
}
@media (min-width: 768px) {
    .qrs-detail-row { font-size: 13px; }
}
.qrs-detail-row + .qrs-detail-row {
    padding-top: 12px;
    border-top: 1px solid #f3f4f6;
}
@media (min-width: 768px) {
    .qrs-detail-row + .qrs-detail-row { padding-top: 18px; }
}
.qrs-detail-label {
    color: #9ca3af;
    font-weight: 700;
}
.qrs-detail-value {
    color: #1a1a1a;
    font-weight: 700;
    text-align: end;
}
.qrs-detail-value.is-orange { color: #ef6d00; }

.qrs-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}
@media (min-width: 768px) {
    .qrs-actions { gap: 22px; }
}

.qrs-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 14px;
    background: #ef6d00;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(255, 121, 0, 0.18);
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
@media (min-width: 768px) {
    .qrs-cta { padding: 18px 22px; font-size: 16px; border-radius: 16px; }
}
.qrs-cta:hover {
    background: #e66d00;
    box-shadow: 0 18px 40px rgba(255, 121, 0, 0.28);
    transform: translateY(-1px);
    color: #ffffff;
}
.qrs-cta:active { transform: translateY(0); }
.qrs-cta svg { width: 16px; height: 16px; }

.qrs-receipt-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    color: #ef6d00;
    font-weight: 700;
    font-size: 11px;
    line-height: 1;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
    transition: color 0.15s ease, text-decoration 0.15s ease;
}
@media (min-width: 768px) {
    .qrs-receipt-link { font-size: 13px; }
}
.qrs-receipt-link:hover {
    color: #e66d00;
    text-decoration: underline;
}
.qrs-receipt-link svg { width: 14px; height: 14px; }
@media (min-width: 768px) {
    .qrs-receipt-link svg { width: 16px; height: 16px; }
}

.qrs-help-row {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0;
    animation: qrs-fade 0.5s ease-out 0.5s forwards;
}
@keyframes qrs-fade {
    0%   { opacity: 0; transform: translateY(6px); }
    100% { opacity: 1; transform: translateY(0); }
}
.qrs-help-text {
    margin: 0;
    font-size: 12px;
    color: #9ca3af;
    font-weight: 700;
}
.qrs-help-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}
.qrs-help-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #ffffff;
    border: 1px solid #f3f4f6;
    border-radius: 999px;
    color: #6b7280;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease;
}
.qrs-help-pill:hover {
    color: #ef6d00;
    border-color: #ffd5b0;
}
.qrs-help-pill svg { width: 14px; height: 14px; }

.qrs-confetti-host {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}
@keyframes qrs-confetti-fall {
    0%   { transform: translate3d(0, -10vh, 0) rotate(0deg);  opacity: 1; }
    100% { transform: translate3d(0, 110vh, 0) rotate(720deg); opacity: 0; }
}
.qrs-confetti {
    position: absolute;
    top: -20px;
    width: 8px;
    height: 12px;
    border-radius: 2px;
    animation: qrs-confetti-fall 3.6s ease-out forwards;
}

.pulse-spinner {
    position: relative;
    width: 128px;
    height: 128px;
}

.main-square {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.pulse-spinner-logo {
    display: block;
    width: 64px;
    height: 64px;
    object-fit: contain;
}

/* Dots ring rotates; logo stays fixed in .main-square */
.orbit-dots {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    -webkit-animation: orbit-spin 3s linear infinite;
    animation: orbit-spin 3s linear infinite;
}

.dot {
    position: absolute;
    width: 16px;
    height: 16px;
    background: rgba(255, 121, 0, 0.4);
    top: 50%;
    left: 50%;
    margin: -8px;
}

.d-1 { transform: rotate(0deg) translateX(60px); }
.d-2 { transform: rotate(90deg) translateX(60px); }
.d-3 { transform: rotate(180deg) translateX(60px); }
.d-4 { transform: rotate(270deg) translateX(60px); }

.loading-message {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    width: auto !important;
    height: auto !important;
}

@media (max-width: 767px) {
    .pulse-spinner {
        transform: scale(0.72);
        transform-origin: center;
    }
}

@-webkit-keyframes orbit-spin {
    from { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
    to { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}

@keyframes orbit-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.product-name-box {
    display: inline-block;
    padding: 6px 14px;
    color: #f97316;              /* main orange text */
    font-size: 14px;
    font-weight: 700;
}

.tab-btn {
    background-color: transparent;
    color: #9a3412;                 /* muted orange */
    border: none;
    border-bottom: 2px solid transparent;  /* key for tab effect */
    padding: 8px 16px;
    cursor: pointer;
    font-weight: 700;
    font-size: 13px;
    transition: all 0.2s ease;
}

/* hover */
.tab-btn:hover {
    color: #f97316;
}

/* selected tab */
.tab-btn.active {
    color: #f97316;
    border-bottom: 3px solid #f97316;  /* THIS is the tab indicator */
    font-weight: 700;
}
.tab-container {
    display: flex;
    gap: 12px;
    border-bottom: 1px solid #e5e7eb;
}

/* ---------- Page wrapper ---------- */
.ddc-page {
    background: #f5f5f5;
    min-height: calc(100vh - 80px);
    padding: 36px 16px 64px;
    display: flex;
    justify-content: center;
}
.ddc-shell-wrap { width: 100%; max-width: 1080px; }

.ddc-shell {
    background: #ffffff;
    border-radius: 24px;
    padding: 28px 22px 36px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(243, 244, 246, 0.6);
    animation: ddc-fadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (min-width: 768px) {
    .ddc-shell { border-radius: 32px; padding: 40px 48px 56px; }
}

@keyframes ddc-fadeUp {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Brand title ---------- */
.ddc-page-title {
    margin: 0 0 28px 0;
    font-size: 24px;
    font-weight: 700;
    font-style: normal;
    color: #1a1a1a;
}
@media (min-width: 768px) {
    .ddc-page-title { font-size: 28px; margin-bottom: 36px; }
}

/* ---------- Step header (← Link Service) ---------- */
.ddc-step-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    max-width: 560px;
    margin: 0 0 28px 0;
}
@media (min-width: 768px) {
    .ddc-step-row { margin-bottom: 36px; }
}
.ddc-back-btn {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    color: #9ca3af;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    flex-shrink: 0;
}
.ddc-back-btn:hover {
    background: #f9fafb;
    color: #1a1a1a;
}
.ddc-back-btn svg { width: 16px; height: 16px; }

.ddc-step-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    font-style: normal;
    color: #1a1a1a;
}
@media (min-width: 768px) {
    .ddc-step-title { font-size: 22px; }
}

/* ---------- Inner form card ---------- */
.ddc-card {
    max-width: 560px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #f3f4f6;
    border-radius: 22px;
    padding: 22px 18px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
@media (min-width: 768px) {
    .ddc-card { padding: 36px 40px; border-radius: 24px; }
}

.ddc-form-inner {
    max-width: 460px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 26px;
}
@media (min-width: 768px) {
    .ddc-form-inner { gap: 36px; }
}

/* ---------- Generic field ---------- */
.ddc-field { display: flex; flex-direction: column; gap: 12px; }
.ddc-field-label {
    display: block;
    margin: 0 0 0 4px;
    font-size: 9px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: capitalize;
}
@media (min-width: 768px) {
    .ddc-field-label { font-size: 10px; }
}

.ddc-input-wrap { position: relative; }
.ddc-input {
    width: 100%;
    padding: 14px 18px;
    background: #f9fafb;
    border: 1px solid #ebebeb;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    font-family: inherit;
    outline: none;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}
@media (min-width: 768px) {
    .ddc-input {
        padding: 18px 26px;
        font-size: 18px;
        border-radius: 18px;
    }
}
.ddc-input::placeholder {
    color: #d1d5db;
    font-weight: 700;
}
.ddc-input:focus {
    background: #ffffff;
    border-color: #ef6d00;
    box-shadow: 0 0 0 3px rgba(255, 121, 0, 0.18);
}
.ddc-input.is-error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.18) !important;
}
.ddc-input:disabled { opacity: 0.55; cursor: not-allowed; }

.ddc-error-msg {
    margin: 6px 0 0 4px;
    font-size: 12px;
    font-weight: 700;
    color: #ef4444;
    min-height: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.ddc-error-msg:empty { display: none; }
.ddc-error-msg svg { width: 12px; height: 12px; flex-shrink: 0; }

/* ---------- Captcha block ---------- */
.ddc-captcha {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ddc-captcha-canvas-hit {
    position: relative;
    width: 100%;
    height: 56px;
    border-radius: 14px;
    background: #000000;
    border: 1px solid #f3f4f6;
    overflow: hidden;
    cursor: pointer;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
    transition: transform 0.15s ease;
}
@media (min-width: 768px) {
    .ddc-captcha-canvas-hit { height: 64px; border-radius: 16px; }
}
.ddc-captcha-canvas-hit:hover { transform: translateY(-1px); }
.ddc-captcha-canvas {
    display: block;
    width: 100%;
    height: 100%;
}
.ddc-captcha-refresh-hint {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.55);
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.ddc-captcha-refresh-hint svg { width: 9px; height: 9px; }

.ddc-captcha-hint {
    margin: 0 0 0 4px;
    font-size: 10px;
    font-weight: 700;
    font-style: normal;
    color: #9ca3af;
    text-transform: capitalize;
}

/* ---------- Continue (orange) button ---------- */
.ddc-continue {
    width: 100%;
    padding: 16px;
    margin-top: 6px;
    border: none;
    border-radius: 16px;
    background: #ef6d00;
    color: #ffffff;
    font-weight: 700;
    font-size: 11px;
    text-transform: capitalize;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 15px 35px rgba(255, 121, 0, 0.25);
    transition: background 0.2s ease, box-shadow 0.2s ease,
    transform 0.15s ease, opacity 0.2s ease;
}
@media (min-width: 768px) {
    .ddc-continue { padding: 18px; border-radius: 20px; font-size: 12px; }
}
.ddc-continue:hover:not(:disabled) {
    background: #e66d00;
    box-shadow: 0 20px 45px rgba(255, 121, 0, 0.35);
    transform: translateY(-1px);
}
.ddc-continue:active:not(:disabled) { transform: translateY(0); }
.ddc-continue:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}
.ddc-continue svg { width: 14px; height: 14px; transition: transform 0.2s ease; }
.ddc-continue:hover:not(:disabled) svg { transform: translateX(4px); }
.ddc-continue.is-loading svg { display: none; }

.ddc-spinner {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #ffffff;
    border-radius: 999px;
    display: none;
    animation: ddc-spin 0.7s linear infinite;
}
.ddc-continue.is-loading .ddc-spinner { display: inline-block; }

@keyframes ddc-spin { to { transform: rotate(360deg); } }

.ddc-legal-inline {
    margin: 6px 0 0;
    font-size: 10px;
    font-weight: 700;
    color: #9ca3af;
    text-align: center;
    line-height: 1.6;
}
.ddc-legal-link {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    color: #ef6d00;
    font: inherit;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}
.ddc-legal-link:hover { color: #e66d00; }

/* ---------- Modal: shared bits ---------- */
.ddc-modal-overlay {
    position: fixed; inset: 0; z-index: 100;
    display: none;
    align-items: center; justify-content: center;
    padding: 16px;
}
.ddc-modal-overlay.is-open { display: flex; }
.ddc-modal-backdrop {
    position: absolute; inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: ddc-fade-in 0.2s ease both;
}
.ddc-modal {
    position: relative;
    background: #ffffff;
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 32px 64px -16px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: ddc-pop-in 0.25s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes ddc-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes ddc-pop-in {
    from { opacity: 0; transform: scale(0.94) translateY(16px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

body.ddc-modal-open { overflow: hidden; }

/* ---------- Access modal ---------- */
.ddc-access-modal { max-width: 420px; padding: 32px 24px; text-align: center; }
@media (min-width: 768px) {
    .ddc-access-modal { padding: 40px 36px; }
}
.ddc-access-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    border-radius: 999px;
    background: #fff7ed;
    border: 1px solid #ffedd5;
    color: #ef6d00;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
@media (min-width: 768px) {
    .ddc-access-icon { width: 80px; height: 80px; margin-bottom: 32px; }
}
.ddc-access-icon svg { width: 30px; height: 30px; }
@media (min-width: 768px) {
    .ddc-access-icon svg { width: 38px; height: 38px; }
}
.ddc-access-title {
    margin: 0 0 12px 0;
    font-size: 20px;
    font-weight: 700;
    font-style: normal;
    color: #1a1a1a;
}
@media (min-width: 768px) {
    .ddc-access-title { font-size: 24px; }
}
.ddc-access-text {
    margin: 0 0 32px 0;
    font-size: 13px;
    font-weight: 700;
    color: #6b7280;
    line-height: 1.55;
}
@media (min-width: 768px) {
    .ddc-access-text { margin-bottom: 40px; font-size: 14px; }
}
.ddc-certify {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    text-align: start;
    background: rgba(249, 250, 251, 0.5);
    border: 2px solid #f3f4f6;
    border-radius: 18px;
    padding: 16px;
    margin: 0 0 28px 0;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    font: inherit;
    color: inherit;
    width: 100%;
    box-sizing: border-box;
}
@media (min-width: 768px) {
    .ddc-certify { padding: 22px; margin-bottom: 36px; }
}
.ddc-certify:hover {
    border-color: #f3f4f6;
    background: rgba(249, 250, 251, 0.8);
}
.ddc-certify.is-on {
    border-color: #ef6d00;
    background: rgba(255, 247, 237, 0.5);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.ddc-certify-radio {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 2.5px solid #d1d5db;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    flex-shrink: 0;
    margin-top: 1px;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}
.ddc-certify.is-on .ddc-certify-radio {
    border-color: #ff7900;
    background: #ffffff;
}
.ddc-certify-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #ff7900;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.ddc-certify.is-on .ddc-certify-dot { opacity: 1; }
.ddc-certify-text {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    color: #6b7280;
    line-height: 1.5;
    transition: color 0.2s ease;
}
@media (min-width: 768px) {
    .ddc-certify-text { font-size: 13px; }
}
.ddc-certify.is-on .ddc-certify-text { color: #431407; }
.ddc-certify-num { color: #1a1a1a; font-weight: 700; }

.ddc-modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.ddc-btn-gray, .ddc-btn-orange {
    padding: 14px;
    border: none;
    border-radius: 14px;
    font-weight: 700;
    font-size: 10px;
    text-transform: capitalize;
    cursor: pointer;
    transition: background 0.2s ease, opacity 0.2s ease;
}
.ddc-btn-gray {
    background: #f3f4f6;
    color: #6b7280;
}
.ddc-btn-gray:hover { background: #e5e7eb; }
.ddc-btn-orange {
    background: #ef6d00;
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(255, 121, 0, 0.22);
}
.ddc-btn-orange:hover:not(:disabled) {
    background: #e66d00;
    box-shadow: 0 12px 24px rgba(255, 121, 0, 0.3);
}
.ddc-btn-orange:disabled { opacity: 0.5; cursor: not-allowed; box-shadow: none; }

/* ---------- Legal modal (wide) ---------- */
.ddc-legal-modal {
    max-width: 640px;
    max-height: 80vh;
}
.ddc-legal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px;
    border-bottom: 1px solid #f3f4f6;
    background: #ffffff;
    flex-shrink: 0;
}
@media (min-width: 768px) {
    .ddc-legal-head { padding: 28px 32px; }
}
.ddc-legal-head-left { display: flex; align-items: center; gap: 14px; }
.ddc-legal-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #fff7ed;
    border: 1px solid #ffedd5;
    color: #ef6d00;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ddc-legal-icon svg { width: 18px; height: 18px; }
.ddc-legal-title {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
}
@media (min-width: 768px) {
    .ddc-legal-title { font-size: 20px; }
}
.ddc-legal-sub {
    margin: 2px 0 0;
    font-size: 9px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
}
.ddc-legal-close {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: none;
    background: transparent;
    color: #9ca3af;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    transition: background 0.15s ease, color 0.15s ease;
    flex-shrink: 0;
}
.ddc-legal-close:hover { background: #f9fafb; color: #1a1a1a; }

.ddc-legal-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px 24px 12px;
}
@media (min-width: 768px) {
    .ddc-legal-body { padding: 32px 40px 16px; }
}
.ddc-legal-section + .ddc-legal-section { margin-top: 22px; }
.ddc-legal-section-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}
.ddc-legal-section-num {
    width: 22px;
    height: 22px;
    border-radius: 7px;
    background: #1a1a1a;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    flex-shrink: 0;
}
.ddc-legal-section-title {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
}
.ddc-legal-section-text {
    margin: 0;
    padding-inline-start: 34px;
    font-size: 13px;
    line-height: 1.6;
    color: #6b7280;
    font-weight: 700;
}
.ddc-legal-foot {
    margin: 28px 0 8px;
    padding: 18px 22px;
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 700;
    color: #9ca3af;
    text-align: center;
    font-style: normal;
}
.ddc-legal-foot p { margin: 0; }
.ddc-legal-bar {
    padding: 18px 22px;
    border-top: 1px solid #f3f4f6;
    background: rgba(249, 250, 251, 0.5);
    flex-shrink: 0;
}
@media (min-width: 768px) {
    .ddc-legal-bar { padding: 22px 28px; }
}
.ddc-legal-ok {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 14px;
    background: #1a1a1a;
    color: #ffffff;
    font-weight: 700;
    font-size: 11px;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
    transition: background 0.2s ease;
}
.ddc-legal-ok:hover { background: #000000; }

.qrcc-denominations-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}
@media (min-width: 480px) {
    .qrcc-denominations-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 12px;
    }
}
@media (min-width: 768px) {
    .qrcc-denominations-grid { gap: 16px; }
}

.qrcc-den-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 16px;
    border-radius: 16px;
    border: 2px solid #f3f4f6;
    background: rgba(249, 250, 251, 0.5);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.qrcc-den-item:hover {
    background: #ffffff;
    border-color: #e5e7eb;
}
.qrcc-den-item.is-active {
    border-color: #ef6d00;
    background: #ffffff;
    box-shadow: 0 0 0 1px #ef6d00;
}
.qrcc-den-item input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}

.qrcc-den-radio {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 2.5px solid #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #ffffff;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}
.qrcc-den-item.is-active .qrcc-den-radio {
    background: #ffffff;
    border-color: #ff7900;
}
.qrcc-den-radio-inner {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #ff7900;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.qrcc-den-item.is-active .qrcc-den-radio-inner { opacity: 1; }

.qrcc-den-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.qrcc-den-name {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #656565;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.qrcc-den-amount {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #ef6d00;
    text-transform: uppercase;
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 2px;
    direction: ltr;
}
[dir="rtl"] .qrcc-den-amount {
    flex-direction: row;
    direction: ltr;
}
.qrcc-den-amount .qp-money {
    color: inherit;
    font-weight: inherit;
    font-size: inherit;
}
.qrcc-den-currency,
.qrcc-den-amount .qp-money-cur {
    font-size: 12px;
}

/*
 * Money LTR isolate; DOM order from QuickPayService.currencyAfterAmount / QP_MONEY
 * (true: amount then currency → "3.000 د.أ" / "3.000 JD").
 */
.qp-money {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: baseline;
    gap: 4px;
    direction: ltr !important;
    unicode-bidi: isolate;
    white-space: nowrap;
}
.qp-product-money {
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: baseline;
    gap: 6px;
    unicode-bidi: isolate;
    white-space: nowrap;
}
.qp-product-money[dir="rtl"] { direction: rtl; }
.qp-product-money[dir="ltr"] { direction: ltr; }
.qp-product-money-name {
    unicode-bidi: isolate;
    flex: 0 0 auto;
}
.qrcc-total-amount {
    display: inline-flex !important;
    flex-direction: row !important;
    direction: ltr !important;
    align-items: baseline;
    gap: 4px;
    unicode-bidi: isolate;
}
@media (min-width: 768px) {
    .qrcc-den-name { font-size: 16px; }
    .qrcc-den-amount { font-size: 22px; }
    .qrcc-den-amount .qp-money-cur { font-size: 13px; }
}

.qrcc-confirm-product {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 3px;
    background: rgba(249, 250, 251, 0.6);
    border-radius: 16px;
    border: 1px solid #f3f4f6;
    gap: 2px;
}
@media (min-width: 768px) {
    .qrcc-confirm-product { padding: 4px; border-radius: 24px; }
}

.qrcc-product-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    padding: 7px 12px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    color: #ef6d00;
    font-weight: 700;
    font-size: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-transform: uppercase;
    cursor: default;
    transition: all 0.2s ease;
}

.qrcc-cliq-wrap {
    margin-top: 14px;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    width: 100%;
    min-width: 0;
    max-width: 100%;
}
.qrcc-cliq-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    min-width: 0;
}
/* One CliQ mode enabled (Scan QR only, or Enter Alias only) — keep the same pill shape, full width */
.qrcc-cliq-toggle.is-single {
    grid-template-columns: 1fr;
}
.qrcc-cliq-unavailable {
    margin: 0;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    color: #4b5563;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
    text-align: start;
}
.qrcc-cliq-wrap.is-unavailable {
    padding-top: 2px;
}
.qrcc-cliq-alias-panel {
    margin-top: 18px;
}
.qrcc-cliq-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 44px;
    height: auto;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid #d0d0d0;
    background: #ffffff;
    color: #8a8a8a;
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
    line-height: 1.2;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
    text-align: start;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.qrcc-cliq-btn:focus-visible {
    outline: 2px solid #ef6d00;
    outline-offset: 2px;
}
.qrcc-cliq-btn-radio {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2.5px solid #d1d5db;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}
.qrcc-cliq-btn-radio-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: transparent;
    transition: background 0.2s ease;
}
.qrcc-cliq-btn-label {
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.qrcc-cliq-btn-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    object-fit: contain;
    opacity: 0.55;
    filter: brightness(0);
}
.qrcc-cliq-btn.is-active {
    border-color: #1a1a1a;
    background: #1a1a1a;
    color: #ffffff;
    box-shadow: none;
}
.qrcc-cliq-btn.is-active .qrcc-cliq-btn-radio {
    border-color: #ff7900;
    background: #ffffff;
}
.qrcc-cliq-btn.is-active .qrcc-cliq-btn-radio-dot {
    background: #ff7900;
}
.qrcc-cliq-btn.is-active .qrcc-cliq-btn-icon {
    opacity: 1;
    filter: brightness(0) invert(1);
}
@media (hover: hover) and (pointer: fine) {
    .qrcc-cliq-btn:not(.is-active):hover {
        border-color: #bdbdbd;
        background: #fafafa;
    }
}

/* CLIQ Scan QR / Enter Alias — phones & small tablets */
@media (max-width: 767px) {
    .qrcc-cliq-wrap {
        margin-top: 10px;
    }
    .qrcc-cliq-toggle {
        gap: 8px;
    }
    .qrcc-cliq-btn {
        min-height: 48px;
        padding: 10px 12px;
        gap: 6px;
        font-size: 11px;
        border-radius: 999px;
    }
    .qrcc-cliq-btn-radio {
        width: 18px;
        height: 18px;
        border-width: 2px;
    }
    .qrcc-cliq-btn-radio-dot {
        width: 8px;
        height: 8px;
    }
    .qrcc-cliq-btn-label {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        line-height: 1.25;
        word-break: break-word;
        overflow-wrap: anywhere;
    }
    .qrcc-cliq-btn-icon {
        width: 16px;
        height: 16px;
    }
}

/* Narrow phones: stack so EN/AR labels stay fully readable */
@media (max-width: 480px) {
    .qrcc-cliq-toggle {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .qrcc-cliq-btn {
        min-height: 48px;
        padding: 12px 14px;
        gap: 8px;
        font-size: 13px;
    }
    .qrcc-cliq-btn-radio {
        width: 20px;
        height: 20px;
    }
    .qrcc-cliq-btn-radio-dot {
        width: 9px;
        height: 9px;
    }
    .qrcc-cliq-btn-icon {
        width: 18px;
        height: 18px;
    }
}
.qrcc-cliq-body { margin-top: 12px; }
.qrcc-cliq-label {
    margin: 0 0 6px;
    color: #9ca3af;
    font-size: 11px;
    font-weight: 700;
}
.qrcc-cliq-input {
    width: 100%;
    height: 42px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    padding: 0 12px;
    color: #1f2937;
    font-size: 13px;
    font-weight: 700;
    outline: none;
}
.qrcc-cliq-input:focus {
    border-color: #ef6d00;
    box-shadow: 0 0 0 2px rgba(255, 121, 0, 0.14);
}
.qrcc-cliq-note {
    margin: 8px 0 0;
    color: #6b7280;
    font-size: 11px;
    font-style: normal;
}

/* Channel notes from OPC inquiry (prepaid confirm + postpaid pay bills) */
.qp-channel-notes {
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid #ffedd5;
    background: #fffbf5;
    color: #431407;
}
.qp-channel-notes-title {
    margin: 0 0 10px 0;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: #c2410c;
}
.qp-channel-notes-list {
    margin: 0;
    padding: 0 0 0 1.1em;
    list-style: disc;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.55;
    color: #57534e;
}
[dir="rtl"] .qp-channel-notes-list {
    padding: 0 1.1em 0 0;
}
.qp-channel-notes-item + .qp-channel-notes-item {
    margin-top: 8px;
}

/* "Important Information" box under the Summary card (confirmRecharge.gsp) */
.qp-channel-notes--summary {
    margin-top: 20px;
    padding: 18px 20px;
    border: none;
    border-radius: 16px;
    background: #fcf2e9;
    color: #333333;
}
.qp-channel-notes--summary .qp-channel-notes-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.qp-channel-notes--summary .qp-channel-notes-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: #333333;
    flex-shrink: 0;
}
.qp-channel-notes--summary .qp-channel-notes-icon svg {
    width: 17px;
    height: 17px;
}
.qp-channel-notes--summary .qp-channel-notes-title {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    text-transform: none;
    color: #333333;
    line-height: 1.2;
}
.qp-channel-notes--summary .qp-channel-notes-list {
    margin: 0;
    padding: 0 0 0 1.2em;
    list-style: disc;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.55;
    color: #333333;
}
[dir="rtl"] .qp-channel-notes--summary .qp-channel-notes-list {
    padding: 0 1.2em 0 0;
}
.qp-channel-notes--summary .qp-channel-notes-item::marker {
    color: #333333;
}
.qp-channel-notes--summary .qp-channel-notes-item + .qp-channel-notes-item {
    margin-top: 10px;
}

/* direct debit */
/* ---------- Page wrapper ---------- */
.dds-page {
    background: #f5f5f5;
    min-height: calc(100vh - 80px);
    padding: 36px 16px 64px;
    display: flex;
    justify-content: center;
}
.dds-shell-wrap {
    width: 100%;
    max-width: 1080px;
}

/* ---------- Outer white card ---------- */
.dds-shell {
    background: #ffffff;
    border-radius: 24px;
    padding: 28px 22px 36px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(243, 244, 246, 0.6);
    animation: dds-fadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (min-width: 768px) {
    .dds-shell {
        border-radius: 32px;
        padding: 40px 48px 56px;
    }
}

@keyframes dds-fadeUp {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---------- Title ---------- */
.dds-page-title {
    margin: 0 0 36px 0;
    font-size: 24px;
    font-weight: 700;
    font-style: normal;
    color: #1a1a1a;
}
@media (min-width: 768px) {
    .dds-page-title { font-size: 28px; margin-bottom: 44px; }
}

/* ---------- Inner selector card ---------- */
.dds-selector {
    max-width: 560px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #f3f4f6;
    border-radius: 22px;
    padding: 22px 18px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
@media (min-width: 768px) {
    .dds-selector {
        padding: 32px 40px;
        border-radius: 24px;
    }
}

.dds-selector-label {
    display: block;
    margin: 0 0 22px 0;
    text-align: center;
    font-size: 9px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: capitalize;
}
@media (min-width: 768px) {
    .dds-selector-label { font-size: 10px; margin-bottom: 32px; }
}

/* ---------- Service grid (Mobile / Internet / Fixed) ---------- */
.dds-service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 4px;
}
@media (min-width: 768px) {
    .dds-service-grid { gap: 24px; }
}

.dds-empty-services {
    grid-column: 1 / -1;
    text-align: center;
    padding: 28px 16px 8px;
    border-radius: 16px;
    background: #f9fafb;
    border: 2px dashed #e5e7eb;
}
.dds-empty-services-text {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    color: #6b7280;
}
.dds-empty-services-detail {
    margin: 10px 0 0;
    font-size: 11px;
    color: #9ca3af;
    font-weight: 700;
}

.dds-service-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: none;
    padding: 4px 2px;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease;
}
@media (min-width: 768px) {
    .dds-service-tile { gap: 16px; }
}

.dds-service-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: #f9fafb;
    border: 2px solid #f3f4f6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (min-width: 768px) {
    .dds-service-icon {
        width: 80px;
        height: 80px;
        border-radius: 16px;
    }
}
.dds-service-icon svg {
    width: 22px;
    height: 22px;
    transition: color 0.2s ease;
}
@media (min-width: 768px) {
    .dds-service-icon svg { width: 30px; height: 30px; }
}

.dds-service-tile:hover .dds-service-icon {
    border-color: #ef6d00;
    background: rgba(255, 237, 213, 0.5);
    box-shadow: 0 12px 22px rgba(255, 121, 0, 0.16);
    transform: scale(1.05);
}
.dds-service-tile:hover .dds-service-icon svg { color: #ef6d00; }
.dds-service-tile:active .dds-service-icon { transform: scale(0.98); }

.dds-service-label {
    font-size: 9px;
    font-weight: 700;
    color: #9ca3af;
    transition: color 0.2s ease;
}
@media (min-width: 768px) {
    .dds-service-label { font-size: 11px; }
}
.dds-service-tile:hover .dds-service-label { color: #1a1a1a; }

/* ---------- ToS row ---------- */
.dds-tos-row {
    margin-top: 44px;
    padding-bottom: 8px;
    text-align: center;
}
.dds-tos-text {
    margin: 0;
    font-size: 10px;
    color: #9ca3af;
    font-weight: 700;
}
.dds-tos-link {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    color: #ef6d00;
    font: inherit;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}
.dds-tos-link:hover { color: #e66d00; }

/* ---------- Legal modal ---------- */
.dds-modal-overlay {
    position: fixed; inset: 0; z-index: 100;
    display: none;
    align-items: center; justify-content: center;
    padding: 16px;
}
.dds-modal-overlay.is-open { display: flex; }
.dds-modal-backdrop {
    position: absolute; inset: 0;
    background: rgba(26, 26, 26, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: dds-fade-in 0.2s ease both;
}
.dds-modal {
    position: relative;
    background: #ffffff;
    width: 100%;
    max-width: 640px;
    max-height: 80vh;
    border-radius: 32px;
    box-shadow: 0 32px 64px -16px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: dds-pop-in 0.25s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes dds-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes dds-pop-in {
    from { opacity: 0; transform: scale(0.94) translateY(16px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.dds-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px;
    border-bottom: 1px solid #f3f4f6;
    background: #ffffff;
    flex-shrink: 0;
}
@media (min-width: 768px) {
    .dds-modal-header { padding: 28px 32px; }
}
.dds-modal-head-left {
    display: flex;
    align-items: center;
    gap: 14px;
}
.dds-modal-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #fff7ed;
    border: 1px solid #ffedd5;
    color: #ef6d00;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.dds-modal-icon svg { width: 18px; height: 18px; }
.dds-modal-titles { display: flex; flex-direction: column; gap: 2px; }
.dds-modal-title {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
}
@media (min-width: 768px) {
    .dds-modal-title { font-size: 20px; }
}
.dds-modal-subtitle {
    margin: 0;
    font-size: 9px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
}
.dds-modal-close-btn {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: none;
    background: transparent;
    color: #9ca3af;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    flex-shrink: 0;
}
.dds-modal-close-btn:hover { background: #f9fafb; color: #1a1a1a; }
.dds-modal-close-btn svg { width: 18px; height: 18px; }

.dds-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px 24px 12px;
}
@media (min-width: 768px) {
    .dds-modal-body { padding: 32px 40px 16px; }
}
.dds-modal-section + .dds-modal-section { margin-top: 22px; }
.dds-modal-section-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}
.dds-modal-section-num {
    width: 22px;
    height: 22px;
    border-radius: 7px;
    background: #1a1a1a;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    flex-shrink: 0;
}
.dds-modal-section-title {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
}
.dds-modal-section-text {
    margin: 0;
    padding-inline-start: 34px;
    font-size: 13px;
    line-height: 1.6;
    color: #6b7280;
    font-weight: 700;
}

.dds-modal-disclaimer {
    margin: 28px 0 8px;
    padding: 18px 22px;
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 700;
    color: #9ca3af;
    text-align: center;
    font-style: normal;
}

.dds-modal-footer {
    padding: 18px 22px;
    border-top: 1px solid #f3f4f6;
    background: rgba(249, 250, 251, 0.5);
    flex-shrink: 0;
}
@media (min-width: 768px) {
    .dds-modal-footer { padding: 22px 28px; }
}
.dds-modal-ok {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 14px;
    background: #1a1a1a;
    color: #ffffff;
    font-weight: 700;
    font-size: 11px;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
    transition: background 0.2s ease;
}
.dds-modal-ok:hover { background: #000000; }

body.dds-modal-open { overflow: hidden; }

/* ---------- Page wrapper ---------- */
.dvm-page {
    background: #f5f5f5;
    min-height: calc(100vh - 80px);
    padding: 36px 16px 64px;
    display: flex;
    justify-content: center;
}
.dvm-shell-wrap { width: 100%; max-width: 1080px; }

.dvm-shell {
    background: #ffffff;
    border-radius: 24px;
    padding: 28px 22px 36px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(243, 244, 246, 0.6);
    animation: dvm-fadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (min-width: 768px) {
    .dvm-shell { border-radius: 32px; padding: 40px 48px 56px; }
}

@keyframes dvm-fadeUp {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Brand title ---------- */
.dvm-page-title {
    margin: 0 0 28px 0;
    font-size: 24px;
    font-weight: 700;
    font-style: normal;
    color: #1a1a1a;
}
@media (min-width: 768px) {
    .dvm-page-title { font-size: 28px; margin-bottom: 36px; }
}

/* ---------- Step header (← Verification) ---------- */
.dvm-step-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 460px;
    margin: 0 0 28px 0;
}
@media (min-width: 768px) {
    .dvm-step-row { margin-bottom: 36px; }
}
.dvm-back-btn {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    color: #9ca3af;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
    flex-shrink: 0;
}
.dvm-back-btn:hover { background: #f9fafb; color: #1a1a1a; }
.dvm-back-btn svg { width: 16px; height: 16px; }

.dvm-step-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    font-style: normal;
    color: #1a1a1a;
}
@media (min-width: 768px) {
    .dvm-step-title { font-size: 22px; }
}

/* ---------- Inner card ---------- */
.dvm-card {
    max-width: 460px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #f3f4f6;
    border-radius: 20px;
    padding: 24px 22px 28px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
@media (min-width: 768px) {
    .dvm-card {
        padding: 48px 48px 40px;
        border-radius: 28px;
    }
}

/* ---------- Mobile icon disc ---------- */
.dvm-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #fff7ed;
    border: 1px solid #ffedd5;
    color: #ef6d00;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
@media (min-width: 768px) {
    .dvm-icon {
        width: 64px;
        height: 64px;
        border-radius: 16px;
        margin-bottom: 28px;
    }
}
.dvm-icon svg { width: 22px; height: 22px; }
@media (min-width: 768px) {
    .dvm-icon svg { width: 30px; height: 30px; }
}

/* ---------- Title + target ---------- */
.dvm-title {
    margin: 0 0 6px 0;
    font-size: 18px;
    font-weight: 700;
    font-style: normal;
    color: #1a1a1a;
}
@media (min-width: 768px) {
    .dvm-title { font-size: 24px; margin-bottom: 12px; }
}

.dvm-sub {
    margin: 0 0 22px 0;
    font-size: 9px;
    font-weight: 700;
    color: #9ca3af;
    line-height: 1.6;
}
@media (min-width: 768px) {
    .dvm-sub { font-size: 10px; margin-bottom: 36px; }
}
.dvm-sub-num {
    color: #ef6d00;
    font-weight: 700;
}

/* ---------- OTP boxes ---------- */
.dvm-otp-row {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 0 0 22px 0;
}
@media (min-width: 768px) {
    .dvm-otp-row { gap: 14px; margin-bottom: 36px; }
}

.dvm-otp-input {
    width: 44px;
    height: 56px;
    border-radius: 10px;
    background: #f9fafb;
    border: 2px solid transparent;
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    outline: none;
    font-family: inherit;
    transition: background 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease, transform 0.15s ease;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.03);
    -moz-appearance: textfield;
}
@media (min-width: 768px) {
    .dvm-otp-input {
        width: 56px;
        height: 80px;
        border-radius: 16px;
        font-size: 32px;
    }
}
.dvm-otp-input::-webkit-outer-spin-button,
.dvm-otp-input::-webkit-inner-spin-button {
    -webkit-appearance: none; margin: 0;
}
.dvm-otp-input:focus {
    background: #ffffff;
    border-color: #ef6d00;
    box-shadow: 0 0 0 4px rgba(255, 237, 213, 1);
    transform: scale(1.05);
}
.dvm-otp-input.is-filled {
    background: #ffffff;
    border-color: #ef6d00;
    color: #ef6d00;
}

/* ---------- Error state ---------- */
.dvm-otp-input.is-error {
    background: #fff5f5;
    border-color: #dc2626;
    color: #dc2626;
    animation: dvm-shake 0.35s ease;
}
.dvm-otp-input.is-error:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.15);
}
.dvm-otp-error {
    display: none;
    margin: -10px 0 18px 0;
    color: #dc2626;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
}
.dvm-otp-error.is-visible {
    display: block;
}
@keyframes dvm-shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-4px); }
    40% { transform: translateX(4px); }
    60% { transform: translateX(-3px); }
    80% { transform: translateX(3px); }
}

/* ---------- Continue (orange) button ---------- */
.dvm-cta {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 14px;
    background: #ef6d00;
    color: #ffffff;
    font-weight: 700;
    font-size: 10px;

    text-transform: capitalize;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 14px 30px rgba(255, 121, 0, 0.22);
    transition: background 0.2s ease, transform 0.15s ease,
    box-shadow 0.2s ease, opacity 0.2s ease;
}
@media (min-width: 768px) {
    .dvm-cta {
        padding: 18px;
        border-radius: 20px;
        font-size: 12px;
    }
}
.dvm-cta:hover:not(:disabled) {
    background: #e66d00;
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(255, 121, 0, 0.32);
}
.dvm-cta:active:not(:disabled) { transform: translateY(0); }
.dvm-cta:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    box-shadow: 0 8px 18px rgba(255, 121, 0, 0.15);
}
.dvm-cta svg { width: 14px; height: 14px; transition: transform 0.2s ease; }
.dvm-cta:hover:not(:disabled) svg { transform: translateX(4px); }

/* ---------- Foot: security note + resend ---------- */
.dvm-foot {
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
}
@media (min-width: 768px) {
    .dvm-foot { margin-top: 32px; gap: 14px; }
}

.dvm-foot-note {
    margin: 0;
    font-size: 10px;
    font-weight: 700;
    color: #d1d5db;
    line-height: 1;
}

.dvm-resend {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: #ef6d00;
    font-weight: 700;
    font-size: 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.2s ease, color 0.2s ease;
}
.dvm-resend:hover:not(:disabled) {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.dvm-resend:disabled { opacity: 0.5; cursor: default; }
.dvm-resend svg {
    width: 12px;
    height: 12px;
    transition: transform 0.2s ease;
}
.dvm-resend.is-counting svg { animation: dvm-spin 2.4s linear infinite; }

@keyframes dvm-spin { to { transform: rotate(360deg); } }

/* ---------- Page wrapper ---------- */
.dcl-page {
    background: #f5f5f5;
    min-height: calc(100vh - 80px);
    padding: 36px 16px 64px;
    display: flex;
    justify-content: center;
}
.dcl-shell-wrap { width: 100%; max-width: 1080px; }

.dcl-shell {
    background: #ffffff;
    border-radius: 24px;
    padding: 28px 22px 36px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(243, 244, 246, 0.6);
    animation: dcl-fadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (min-width: 768px) {
    .dcl-shell { border-radius: 32px; padding: 40px 48px 56px; }
}

@keyframes dcl-fadeUp {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Brand title ---------- */
.dcl-page-title {
    margin: 0 0 36px 0;
    font-size: 24px;
    font-weight: 700;
    font-style: normal;
    color: #1a1a1a;
}
@media (min-width: 768px) {
    .dcl-page-title { font-size: 28px; margin-bottom: 44px; }
}

/* ---------- Status card ---------- */
.dcl-card {
    max-width: 480px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #f3f4f6;
    border-radius: 20px;
    padding: 28px 22px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: dcl-pop 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (min-width: 768px) {
    .dcl-card { padding: 40px 36px; border-radius: 22px; }
}

@keyframes dcl-pop {
    from { opacity: 0; transform: scale(0.98); }
    to   { opacity: 1; transform: scale(1); }
}

/* ---------- Status icon disc ---------- */
.dcl-status-icon {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    background: #e7f7ef;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #28a745;
    margin-bottom: 22px;
    border: 4px solid #ffffff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04),
    0 0 0 1px rgba(40, 167, 69, 0.15);
}
@media (min-width: 768px) {
    .dcl-status-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 32px;
    }
}
.dcl-status-icon svg { width: 28px; height: 28px; }
@media (min-width: 768px) {
    .dcl-status-icon svg { width: 38px; height: 38px; }
}

/* (Variant: when no card is linked, swap to orange) */
.dcl-status-icon.is-empty {
    background: #fff7ed;
    color: #ef6d00;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04),
    0 0 0 1px rgba(255, 121, 0, 0.18);
}

/* ---------- Status copy ---------- */
.dcl-status-title {
    margin: 0 0 6px 0;
    font-size: 18px;
    font-weight: 700;
    font-style: normal;
    color: #1a1a1a;
}
@media (min-width: 768px) {
    .dcl-status-title { font-size: 24px; margin-bottom: 6px; }
}

.dcl-status-text {
    margin: 0 0 28px 0;
    font-size: 11px;
    font-weight: 700;
    color: #9ca3af;
    line-height: 1.6;
}
@media (min-width: 768px) {
    .dcl-status-text {
        font-size: 13px;
        margin-bottom: 40px;
    }
}
.dcl-status-text-num {
    color: #ef6d00;
    font-weight: 700;
}

/* ---------- Action stack ---------- */
.dcl-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}
@media (min-width: 768px) {
    .dcl-actions { gap: 14px; }
}

.dcl-primary-btn {
    width: 100%;
    padding: 14px;
    background: #1a1a1a;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 9px;
    text-transform: capitalize;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
@media (min-width: 768px) {
    .dcl-primary-btn {
        padding: 18px;
        border-radius: 18px;
        font-size: 12px;
    }
}
.dcl-primary-btn:hover {
    background: #000000;
    transform: translateY(-1px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}
.dcl-primary-btn:active { transform: translateY(0); }
.dcl-primary-btn svg {
    width: 14px;
    height: 14px;
    color: #ef6d00;
    flex-shrink: 0;
}

.dcl-sec-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
@media (min-width: 768px) {
    .dcl-sec-row { gap: 14px; }
}
.dcl-sec-row.is-single { grid-template-columns: 1fr; }

.dcl-sec-btn {
    padding: 14px;
    border-radius: 12px;
    border: 1px solid;
    font-weight: 700;
    font-size: 8px;
    text-transform: capitalize;
    cursor: pointer;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
@media (min-width: 768px) {
    .dcl-sec-btn {
        padding: 18px;
        border-radius: 18px;
        font-size: 10px;
    }
}
.dcl-sec-btn svg { width: 11px; height: 11px; }

.dcl-sec-btn-danger {
    background: rgba(254, 242, 242, 0.5);
    border-color: #fee2e2;
    color: #ef4444;
}
.dcl-sec-btn-danger:hover { background: #fef2f2; }

.dcl-sec-btn-neutral {
    background: #f9fafb;
    border-color: #f3f4f6;
    color: #9ca3af;
}
.dcl-sec-btn-neutral:hover { background: #f3f4f6; color: #1a1a1a; }

/* ---------- Modal: shared ---------- */
.dcl-modal-overlay {
    position: fixed; inset: 0; z-index: 100;
    display: none;
    align-items: center; justify-content: center;
    padding: 16px;
}
.dcl-modal-overlay.is-open { display: flex; }
.dcl-modal-backdrop {
    position: absolute; inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: dcl-fade-in 0.2s ease both;
}
.dcl-modal {
    position: relative;
    background: #ffffff;
    width: 100%;
    max-width: 480px;
    border-radius: 24px;
    box-shadow: 0 32px 64px -16px rgba(0, 0, 0, 0.25);
    padding: 32px 26px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(243, 244, 246, 0.7);
    animation: dcl-pop-in 0.25s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@media (min-width: 768px) {
    .dcl-modal { padding: 40px 36px; }
}

@keyframes dcl-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes dcl-pop-in {
    from { opacity: 0; transform: scale(0.94) translateY(16px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

body.dcl-modal-open { overflow: hidden; }

.dcl-modal-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
}
@media (min-width: 768px) {
    .dcl-modal-icon-wrap { width: 80px; height: 80px; margin-bottom: 32px; }
}
.dcl-modal-icon-wrap svg { width: 28px; height: 28px; }
@media (min-width: 768px) {
    .dcl-modal-icon-wrap svg { width: 38px; height: 38px; }
}
.dcl-modal-icon-wrap.is-orange {
    background: #fff7ed;
    border: 1px solid #ffedd5;
    color: #ef6d00;
}
.dcl-modal-icon-wrap.is-red {
    background: #fef2f2;
    border: 1px solid #fee2e2;
    color: #dc3545;
}

.dcl-modal-title {
    margin: 0 0 12px 0;
    font-size: 20px;
    font-weight: 700;
    font-style: normal;
    color: #1a1a1a;
}
@media (min-width: 768px) {
    .dcl-modal-title { font-size: 24px; }
}
.dcl-modal-text {
    margin: 0 0 28px 0;
    font-size: 13px;
    font-weight: 700;
    color: #6b7280;
    line-height: 1.6;
}
@media (min-width: 768px) {
    .dcl-modal-text { margin-bottom: 36px; font-size: 14px; }
}
.dcl-modal-text-num {
    color: #1a1a1a;
    font-weight: 700;
}

.dcl-modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
}
@media (min-width: 768px) {
    .dcl-modal-actions { gap: 16px; }
}
.dcl-modal-btn {
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 11px;
    text-transform: capitalize;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}
@media (min-width: 768px) {
    .dcl-modal-btn { padding: 16px; }
}
.dcl-modal-btn-cancel {
    background: #f3f4f6;
    color: #6b7280;
}
.dcl-modal-btn-cancel:hover { background: #e5e7eb; }

.dcl-modal-btn-orange {
    background: #ef6d00;
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(255, 121, 0, 0.22);
}
.dcl-modal-btn-orange:hover {
    background: #e66d00;
    box-shadow: 0 12px 24px rgba(255, 121, 0, 0.3);
}

.dcl-modal-btn-red {
    background: #dc3545;
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(220, 53, 69, 0.22);
}
.dcl-modal-btn-red:hover {
    background: #c82333;
    box-shadow: 0 12px 24px rgba(220, 53, 69, 0.3);
}

/* ---------- Page wrapper ---------- */
.dpi-page {
    background: #f5f5f5;
    min-height: calc(100vh - 80px);
    padding: 36px 16px 64px;
    display: flex;
    justify-content: center;
}
.dpi-shell-wrap { width: 100%; max-width: 1080px; }

.dpi-shell {
    background: #ffffff;
    border-radius: 24px;
    padding: 28px 22px 36px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(243, 244, 246, 0.6);
    animation: dpi-fadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (min-width: 768px) {
    .dpi-shell { border-radius: 32px; padding: 40px 48px 56px; }
}

@keyframes dpi-fadeUp {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Brand title ---------- */
.dpi-page-title {
    margin: 0 0 28px 0;
    font-size: 24px;
    font-weight: 700;
    font-style: normal;
    color: #1a1a1a;
}
@media (min-width: 768px) {
    .dpi-page-title { font-size: 28px; margin-bottom: 36px; }
}

/* ---------- Step header (← Customer Details) ---------- */
.dpi-step-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 460px;
    margin: 0 0 28px 0;
}
@media (min-width: 768px) {
    .dpi-step-row { margin-bottom: 36px; }
}
.dpi-back-btn {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    color: #9ca3af;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
    flex-shrink: 0;
}
.dpi-back-btn:hover { background: #f9fafb; color: #1a1a1a; }
.dpi-back-btn svg { width: 16px; height: 16px; }

.dpi-step-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    font-style: normal;
    color: #1a1a1a;
}
@media (min-width: 768px) {
    .dpi-step-title { font-size: 22px; }
}

/* ---------- Inner form card ---------- */
.dpi-card {
    max-width: 700px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #f3f4f6;
    border-radius: 22px;
    padding: 22px 18px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
@media (min-width: 768px) {
    .dpi-card { padding: 36px 40px; border-radius: 28px; }
}

.dpi-form-inner {
    max-width: 520px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 22px;
}
@media (min-width: 768px) {
    .dpi-form-inner { gap: 36px; }
}

/* ---------- Field stack ---------- */
.dpi-field-group {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
@media (min-width: 768px) {
    .dpi-field-group { gap: 22px; }
}

.dpi-field { display: flex; flex-direction: column; gap: 8px; }

.dpi-field-label {
    display: block;
    margin: 0 0 0 4px;
    font-size: 9px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: capitalize;
}
@media (min-width: 768px) {
    .dpi-field-label { font-size: 10px; }
}

.dpi-input {
    width: 100%;
    padding: 12px 16px;
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    font-family: inherit;
    outline: none;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}
@media (min-width: 768px) {
    .dpi-input {
        padding: 16px 28px;
        font-size: 17px;
        border-radius: 16px;
    }
}
.dpi-input::placeholder { color: #d1d5db; font-weight: 700; }
.dpi-input:focus {
    background: #ffffff;
    border-color: #ef6d00;
    box-shadow: 0 0 0 3px rgba(255, 121, 0, 0.18);
}

/* ---------- Consent box ---------- */
.dpi-consent-block { display: flex; flex-direction: column; gap: 14px; }

.dpi-consent {
    display: flex;
    gap: 14px;
    text-align: start;
    background: rgba(249, 250, 251, 0.5);
    border: 2px solid #f3f4f6;
    border-radius: 16px;
    padding: 16px;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    font: inherit;
    color: inherit;
    width: 100%;
    box-sizing: border-box;
}
@media (min-width: 768px) {
    .dpi-consent { padding: 22px; gap: 20px; border-radius: 22px; }
}
.dpi-consent.is-on {
    border-color: #ef6d00;
    background: rgba(255, 247, 237, 0.4);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.dpi-consent-radio {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    border: 2.5px solid #d1d5db;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    flex-shrink: 0;
    margin-top: 1px;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}
@media (min-width: 768px) {
    .dpi-consent-radio { width: 22px; height: 22px; }
}
.dpi-consent.is-on .dpi-consent-radio {
    border-color: #ff7900;
    background: #ffffff;
}
.dpi-consent-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #ff7900;
    opacity: 0;
    transition: opacity 0.2s ease;
}
@media (min-width: 768px) {
    .dpi-consent-dot { width: 10px; height: 10px; }
}
.dpi-consent.is-on .dpi-consent-dot { opacity: 1; }

.dpi-consent-body { display: flex; flex-direction: column; gap: 4px; }
.dpi-consent-label {
    margin: 0;
    font-size: 9px;
    font-weight: 700;
    color: #ef6d00;
    text-transform: capitalize;
}
@media (min-width: 768px) {
    .dpi-consent-label { font-size: 10px; }
}
.dpi-consent-text {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    color: #6b7280;
    line-height: 1.5;
    transition: color 0.2s ease;
}
@media (min-width: 768px) {
    .dpi-consent-text { font-size: 12px; }
}
.dpi-consent.is-on .dpi-consent-text { color: #431407; }

.dpi-policy-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-inline-start: 4px;
    background: none;
    border: none;
    padding: 0;
    color: #9ca3af;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.2s ease;
    width: fit-content;
}
.dpi-policy-btn:hover { color: #ef6d00; }
.dpi-policy-btn svg { width: 12px; height: 12px; }

/* ---------- Continue (black) button ---------- */
.dpi-continue {
    width: 100%;
    padding: 16px;
    margin-top: 6px;
    border: none;
    border-radius: 14px;
    background: #1a1a1a;
    color: #ffffff;
    font-weight: 700;
    font-size: 10px;

    text-transform: capitalize;
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
    transition: background 0.2s ease, transform 0.15s ease,
    box-shadow 0.2s ease, opacity 0.2s ease;
}
@media (min-width: 768px) {
    .dpi-continue {
        padding: 18px;
        border-radius: 18px;
        font-size: 12px;
    }
}
.dpi-continue:hover:not(:disabled) {
    background: #000000;
    transform: translateY(-1px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}
.dpi-continue:active:not(:disabled) { transform: translateY(0); }
.dpi-continue:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

/* ---------- Policy modal ---------- */
.dpi-modal-overlay {
    position: fixed; inset: 0; z-index: 100;
    display: none;
    align-items: center; justify-content: center;
    padding: 16px;
}
.dpi-modal-overlay.is-open { display: flex; }
.dpi-modal-backdrop {
    position: absolute; inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: dpi-fade-in 0.2s ease both;
}
.dpi-modal {
    position: relative;
    background: #ffffff;
    width: 100%;
    max-width: 640px;
    max-height: 80vh;
    border-radius: 24px;
    box-shadow: 0 32px 64px -16px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: dpi-pop-in 0.25s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes dpi-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes dpi-pop-in {
    from { opacity: 0; transform: scale(0.94) translateY(16px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

body.dpi-modal-open { overflow: hidden; }

.dpi-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px;
    border-bottom: 1px solid #f3f4f6;
    flex-shrink: 0;
}
@media (min-width: 768px) {
    .dpi-modal-head { padding: 28px 32px; }
}
.dpi-modal-head-left { display: flex; align-items: center; gap: 14px; }
.dpi-modal-head-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #fff7ed;
    border: 1px solid #ffedd5;
    color: #ef6d00;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.dpi-modal-head-icon svg { width: 18px; height: 18px; }
.dpi-modal-head-title {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
}
@media (min-width: 768px) {
    .dpi-modal-head-title { font-size: 20px; }
}
.dpi-modal-head-sub {
    margin: 2px 0 0;
    font-size: 9px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
}
.dpi-modal-close {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: none;
    background: transparent;
    color: #9ca3af;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    transition: background 0.15s ease, color 0.15s ease;
    flex-shrink: 0;
}
.dpi-modal-close:hover { background: #f9fafb; color: #1a1a1a; }

.dpi-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px 24px 12px;
}
@media (min-width: 768px) {
    .dpi-modal-body { padding: 32px 40px 16px; }
}
.dpi-modal-section + .dpi-modal-section { margin-top: 22px; }
.dpi-modal-section-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}
.dpi-modal-section-num {
    width: 22px;
    height: 22px;
    border-radius: 7px;
    background: #1a1a1a;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    flex-shrink: 0;
}
.dpi-modal-section-title {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
}
.dpi-modal-section-text {
    margin: 0;
    padding-inline-start: 34px;
    font-size: 13px;
    line-height: 1.6;
    color: #6b7280;
    font-weight: 700;
}
.dpi-modal-foot {
    margin: 28px 0 8px;
    padding: 18px 22px;
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 700;
    color: #9ca3af;
    text-align: center;
    font-style: normal;
}
.dpi-modal-foot p { margin: 0; }
.dpi-modal-bar {
    padding: 18px 22px;
    border-top: 1px solid #f3f4f6;
    background: rgba(249, 250, 251, 0.5);
    flex-shrink: 0;
}
@media (min-width: 768px) {
    .dpi-modal-bar { padding: 22px 28px; }
}
.dpi-modal-ok {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 14px;
    background: #1a1a1a;
    color: #ffffff;
    font-weight: 700;
    font-size: 11px;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
    transition: background 0.2s ease;
}
.dpi-modal-ok:hover { background: #000000; }

/* direct debit */

/* mobile phones */
@media (max-width: 767px) {
    .qrcc-cancel-btn {
        padding: 6px 12px;
        font-size: 10px;
        gap: 6px;
    }

    .qrcc-confirm-title {
        margin: 0;
        font-size: 15px;
        font-weight: 700;
        font-style: normal;
        color: #1a1a1a;
    }

    .qrh-tabs {
        display: inline-flex;
        padding: 4px;
        background: rgba(249, 250, 251, 0.6);
        border-radius: 20px;
        border: 1px solid #f3f4f6;
        gap: 2px;
        margin-inline-start: 20px;
    }

    .grh-margin {
        margin-inline-start: 40px;
    }

    .qrh-captcha-canvas-wrap {
        flex-direction: column;
        align-items: stretch;
    }
    .qrh-captcha-refresh {
        width: 100%;

    }
    .qrcc-product-badge {
        padding: 5px 10px;
        border-radius: 18px;
        font-size:8px;

        max-width: none;
        overflow: visible;
        white-space: nowrap;
        text-overflow: clip;

    }

    .qrcc-confirm-product {
        display: inline-flex;
        align-items: center;
        max-width: 100%;
        padding: 3px;
        background: rgba(249, 250, 251, 0.6);
        border-radius: 16px;
        border: 1px solid #f3f4f6;
        gap: 2px;
        margin-inline-end: 20px;
    }

    .qrh-product-label {
        font-size: 8px;
        font-weight: 700;
        color: #9ca3af;
        text-align: center;
        line-height: 1.2;
        transition: color 0.2s ease;

        max-width: none;
        overflow: visible;
        white-space: nowrap;
        text-overflow: clip;
    }
}
/* mobile phones */

/* -------------------------------------------------------------------------
   HyperPay (wpwl) inside Visa-card QuickPay shell — payWithCard.gsp (.hpwp-*)
   ------------------------------------------------------------------------- */
.hpwp-page .hpwp-form-card.qrvc-form-card.payment-form-container {
    width: 100%;
    max-width: 100%;
}

.hpwp-total-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f3f4f6;
}

.hpwp-total-row .hpwp-total-label {
    margin-bottom: 0 !important;
}

.hpwp-total-amount {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
}

.hpwp-hint {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.55;
    margin-bottom: 22px;
}

.hpwp-form-card form.paymentWidgets,
.hpwp-form-card .wpwl-container {
    margin: 0;
    padding: 0;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    max-width: 100%;
}

.hpwp-form-card .wpwl-form {
    margin: 0;
    padding: 0;
}

.hpwp-form-card .wpwl-group {
    margin-bottom: 18px;
}

.hpwp-form-card .wpwl-group-brand,
.hpwp-form-card .wpwl-group-card {
    margin-bottom: 22px;
}

.hpwp-form-card .wpwl-sup-wrapper {
    margin-bottom: 12px;
}

.hpwp-form-card .wpwl-group-billing {
    padding-top: 22px;
    margin-top: 4px;
    border-top: 1px solid #f3f4f6;
}

.hpwp-form-card .wpwl-label-billing,
.hpwp-form-card .wpwl-label-registration {
    font-size: 10px !important;
    font-weight: 700 !important;
    color: #9ca3af !important;
    text-transform: uppercase;
    margin-bottom: 14px;
    display: block;
}

.hpwp-form-card .wpwl-button-pay,
.hpwp-form-card button.wpwl-button-pay {
    width: 100%;
    margin-top: 28px;
}

.hpwp-form-card .wpwl-button-pay.qrvc-register-btn,
.hpwp-form-card button.wpwl-button-pay.qrvc-register-btn {
    max-width: 100%;
    justify-content: center;
}

.hpwp-payment-error {
    margin-top: 18px;
    font-size: 13px;
    font-weight: 700;
}

.hpwp-loading-overlay {
    backdrop-filter: blur(4px);
    background: rgba(255, 255, 255, 0.9);
}

.hpwp-card-stage {
    pointer-events: none;
}

.hpwp-form-card.rtl .wpwl-wrapper,
.hpwp-form-card.rtl .wpwl-sup-wrapper {
    direction: rtl;
}

.hpwp-form-card.rtl .wpwl-control-cardNumber,
.hpwp-form-card.rtl .wpwl-control-cvv {
    direction: ltr;
    text-align: end;
}

/* --- HyperPay fields: match visaCard.gsp qrvc form (fixed labels, grid rows, iframes) --- */
.hpwp-form-card .hpwp-wpwl-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
@media (min-width: 768px) {
    .hpwp-form-card .hpwp-wpwl-grid { gap: 32px; }
}

.hpwp-form-card .hpwp-wpwl-grid > .qrvc-form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: flex-start;
}
@media (min-width: 768px) {
    .hpwp-form-card .hpwp-wpwl-grid > .qrvc-form-row.hpwp-row-card-num-exp,
    .hpwp-form-card .hpwp-wpwl-grid > .qrvc-form-row.hpwp-row-holder-cvv {
        grid-template-columns: 1fr 200px;
        gap: 24px;
    }
}

.hpwp-form-card .hpwp-wpwl-grid .wpwl-group {
    margin-bottom: 0 !important;
}

.hpwp-form-card .wpwl-group-cardNumber,
.hpwp-form-card .wpwl-group-expiry,
.hpwp-form-card .wpwl-group-cardHolder,
.hpwp-form-card .wpwl-group-cvv,
.hpwp-form-card .wpwl-group-givenName,
.hpwp-form-card .wpwl-group-surname,
.hpwp-form-card .wpwl-group-email {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    min-width: 0;
}

.hpwp-form-card .wpwl-sup-wrapper,
.hpwp-form-card .wpwl-wrapper {
    width: 100%;
    min-width: 0;
    margin-bottom: 0 !important;
}

.hpwp-form-card .wpwl-label,
.hpwp-form-card .hpwp-wpwl-label.wpwl-label {
    position: static !important;
    transform: none !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    opacity: 1 !important;
    margin: 0 0 4px 4px !important;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    font-size: 9px !important;
    font-weight: 700 !important;
    color: #9ca3af !important;
    line-height: 1.2 !important;
    text-transform: capitalize;
}
@media (min-width: 768px) {
    .hpwp-form-card .wpwl-label,
    .hpwp-form-card .hpwp-wpwl-label.wpwl-label { font-size: 10px !important; }
}

.hpwp-form-card .hpwp-label-svg {
    width: 11px;
    height: 11px;
    flex-shrink: 0;
    color: #ef6d00;
}

.hpwp-form-card .wpwl-wrapper-cardNumber,
.hpwp-form-card .wpwl-wrapper-expiry,
.hpwp-form-card .wpwl-wrapper-cardHolder,
.hpwp-form-card .wpwl-wrapper-cvv {
    min-height: 52px;
    display: flex;
    align-items: stretch;
}

.hpwp-form-card .wpwl-wrapper-cardNumber iframe,
.hpwp-form-card .wpwl-wrapper-expiry iframe,
.hpwp-form-card .wpwl-wrapper-cvv iframe,
.hpwp-form-card .wpwl-wrapper-cardHolder iframe {
    height: 52px !important;
    min-height: 52px !important;
    border-radius: 16px !important;
    border: 1px solid #ebebeb !important;
    box-sizing: border-box;
    background: rgba(249, 250, 251, 0.5);
}

.hpwp-form-card .wpwl-group-brand {
    margin-bottom: 12px !important;
}

.hpwp-form-card .card-number-icons {
    display: none !important;
}

.hpwp-form-card .hpwp-row-customer-names {
    grid-template-columns: 1fr !important;
}

.hpwp-form-card .hpwp-wpwl-name-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
}

.hpwp-form-card .hpwp-row-email {
    grid-template-columns: 1fr !important;
}

.hpwp-billing-shell {
    margin-top: 4px;
}

.hpwp-form-card .wpwl-clearfix {
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.hpwp-form-card .expiry-cvv-flex-wrapper {
    display: contents;
}
.dvm-otp-row{
    direction:ltr;
    justify-content:center;
}

.dvm-otp-input{
    direction:ltr;
    text-align:center;
}

.gn-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(2px);
}

.gn-alert-modal {
    background: #FFFFFF;
    width: 90%;
    max-width: 380px;
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    animation: gnModalPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gn-alert-icon {
    display: flex;
    justify-content: center;
}

.gn-alert-title {
    color: #ec3e4b;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;

}

.gn-alert-message {
    color: #1a1a1a;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.gn-alert-btn-close {
    width: 100%;
    background-color: #ff6600;
    color: #FFFFFF;
    border: none;
    border-radius: 7px;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gn-alert-btn-close:hover {
    background-color: #e65c00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.3);
}

[dir="rtl"] .qrh-cta-arrow {
    transform: scaleX(-1);
}

[dir="rtl"] .qrh-cta:hover .qrh-cta-arrow {
    transform: scaleX(-1);
}

.qrcc-search-wrap {
    position: relative;
    margin-bottom: 16px;
}

.qrcc-input {
    width: 100%;
    height: 44px;
    padding: 0 16px;
    border: 1px solid #d9dee7;
    border-radius: 10px;
    background: #ffffff;
    font-size: 14px;
    font-weight: 700;
    color: #2d3748;
    outline: none;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.qrcc-input::placeholder {
    color: #94a3b8;
}

.qrcc-input:hover {
    border-color: #b8c2d1;
}

.qrcc-input:focus {
    border-color: #e65c00;
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.3);
}

.qrcc-search-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    stroke: #94a3b8;
    fill: none;
    stroke-width: 2;
    pointer-events: none;
}

/* ==========================================================================
   Pay Bills confirmation — reference layout
   Shared card, payment-method, summary, information and CTA sizing comes
   directly from the confirmRecharge component classes.
   ========================================================================== */

.qrb-reference-service-grid {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    align-items: end;
    gap: 34px;
}

.qrb-reference-due {
    min-height: 80px;
    padding: 14px;
    box-sizing: border-box;
    border-radius: 13px;
    background: #f7f7f7;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    text-align: center;
}

.qrb-reference-due > span {
    color: #6f6f6f;
    font-size: 12px;
    font-weight: 600;
}

.qrb-reference-due strong {
    color: #f36f00;
    font-size: 18px;
    line-height: 1;
}

.qrb-reference-due small {
    font-size: 10px;
    font-weight: 700;
}

.qrb-reference-amount label {
    display: block;
    margin: 0 0 4px;
    color: #111111;
    font-size: 13px;
    font-weight: 600;
}

.qrb-reference-amount label span {
    color: #f36f00;
}

.qrb-reference-amount > p {
    margin: 0 0 7px;
    color: #777777;
    font-size: 10px;
    line-height: 1.3;
}

.qrb-reference-amount .qrb-field-input-wrap {
    height: 44px;
    border-color: #bdbdbd;
    border-radius: 18px;
}

.qrb-reference-amount .qrb-field-input {
    padding: 0 18px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 18px;
}

.qrb-reference-amount .qrb-field-suffix {
    margin: 0;
    padding: 0 18px 0 10px;
    color: #111111;
    background: transparent;
    border-radius: 0;
    font-size: 10px;
}

.qrb-reference-extra {
    margin-top: 10px;
}

.qrb-reference-summary > .qrcc-pay-btn {
    margin-top: 12px;
}

.qrb-reference-summary > .qrcc-pay-btn:disabled {
    background: #cccccc;
    color: #ffffff;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

@media (max-width: 767px) {
    .qrb-reference-service-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .qrb-reference-due {
        width: 130px;
    }
}

.qrcc-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    gap: 12px;
}

.qrcc-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #e5e7eb;
    border-top: 3px solid #e65c00;
    border-radius: 50%;
    animation: qrccSpin 0.8s linear infinite;
}

@keyframes qrccSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Empty states reuse .qrh-product-empty (same look as “No products available”). */
.qrcc-denominations-grid > .qrh-product-empty,
.qrb-pm-list > .qrh-product-empty {
    grid-column: 1 / -1;
    width: 100%;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
    color: #1a1a1a;
}

/* ==========================================================================
   Quick Recharge card redesign — confirmRecharge.gsp plan-selection section
   (scoped to .qrcc-confirm-card so it never affects other pages)
   ========================================================================== */
.qrcc-confirm-card {
    border: none;
    border-radius: 24px;
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.12);
    padding: 28px 24px;
    gap: 28px;
}
@media (min-width: 768px) {
    .qrcc-confirm-card {
        padding: 40px 44px;
        gap: 32px;
    }
}

.qrcc-confirm-card .qrcc-confirm-head {
    align-items: center;
    flex-wrap: nowrap;
}
.qrcc-confirm-card .qrcc-confirm-head-left {
    gap: 14px;
}

.qrcc-step-badge {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #ef6d00;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    /* Keep Western digits (1,2) even when UI language is Arabic */
    direction: ltr;
    unicode-bidi: isolate;
    font-variant-numeric: lining-nums;
}

.qrcc-confirm-card .qrcc-confirm-title {
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-size: 16px;
}
@media (min-width: 768px) {
    .qrcc-confirm-card .qrcc-confirm-title { font-size: 16px; }
}

.qrcc-collapse-btn {
    width: 34px;
    height: 34px;
    border: none;
    background: transparent;
    color: #1a1a1a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 999px;
    flex-shrink: 0;
    transition: background 0.15s ease;
}
.qrcc-collapse-btn:hover { background: #f5f5f5; }
.qrcc-collapse-btn svg { width: 20px; height: 20px; transition: transform 0.2s ease; }
.qrcc-collapse-btn.is-collapsed svg { transform: rotate(180deg); }

.qrcc-card-body {
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.qrcc-card-body.is-collapsed { display: none; }

/* Plan-type tabs — full width; black active state for all tabs */
.qrcc-confirm-card .qrh-tabs--recharge {
    display: flex;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 6px;
    gap: 4px;
    background: #ededed;
    border: none;
    border-radius: 999px;
    overflow-x: auto;
}
.qrcc-confirm-card .qrh-tabs--recharge .qrh-tab {
    flex: 1 1 auto;
    min-width: max-content;
    height: 46px;
    padding: 12px 20px;
    border-radius: 999px;
    background: transparent;
    color: #1a1a1a;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    box-shadow: none;
}
@media (min-width: 768px) {
    .qrcc-confirm-card .qrh-tabs--recharge {
        padding: 4px;
        gap: 4px;
    }
    .qrcc-confirm-card .qrh-tabs--recharge .qrh-tab {
        height: 45px;
        min-height: 0;
        padding: 8px 18px;
        font-size: 13px;
    }
}
.qrcc-confirm-card .qrh-tabs--recharge .qrh-tab:hover {
    color: #1a1a1a;
    background: transparent;
}
.qrcc-confirm-card .qrh-tabs--recharge .qrh-tab.is-active {
    background: #111111;
    color: #ffffff;
    box-shadow: none;
}
.qrcc-confirm-card .qrh-tabs--recharge #smartRefillTab.is-active {
    background: #111111;
    color: #ffffff;
}

/* Mobile dropdown selector for plan-type tabs */
.qrh-mobile-select-wrapper {
    display: none;
    position: relative;
    width: 100%;
    margin: 0 0 20px;
}
.qrh-mobile-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 48px;
    padding: 0 24px;
    font-size: 15px;
    font-weight: 700;
    color: #ef6d00;
    border: 1.2px solid #cccccc;
    border-radius: 24px;
    background: #ffffff;
    cursor: pointer;
    outline: none;
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.qrh-mobile-select-trigger:focus {
    border-color: #ef6d00;
}
.qrh-mobile-select-chevron {
    width: 14px;
    height: 14px;
    color: #000000;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}
.qrh-mobile-select-dropdown {
    display: none;
    position: absolute;
    top: 54px;
    left: 0;
    width: 100%;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 8px 0;
    box-sizing: border-box;
}
.qrh-mobile-select-wrapper.is-open .qrh-mobile-select-dropdown {
    display: block;
}
.qrh-mobile-select-wrapper.is-open .qrh-mobile-select-chevron {
    transform: rotate(180deg);
}
.qrh-mobile-select-option {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
    text-align: start;
    transition: background 0.2s ease, color 0.2s ease;
}
.qrh-mobile-select-option:hover {
    background: #f9fafb;
}
.qrh-mobile-select-option.is-selected {
    color: #ef6d00;
    background: #fffcf9;
}
[dir="rtl"] .qrh-mobile-select-option {
    text-align: right;
}

.qrcc-plan-subtitle {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    color: #1a1a1a;
    line-height: 1.5;
}
@media (min-width: 768px) {
    .qrcc-plan-subtitle { font-size: 15px; }
}

/* Search plan input — pill */
.qrcc-search-wrap { margin: 0; }
.qrcc-input--search {
    height: 42px;
    padding: 0 22px;
    border: 1px solid #bebebe;
    border-radius: 999px;
    background: #ffffff;
    font-size: 12px;
    font-weight: 400;
    color: #1a1a1a;
}
.qrcc-input--search::placeholder { color: #3f3f3f; font-weight: 500; }
.qrcc-input--search:hover { border-color: #bdbdbd; }
.qrcc-input--search:focus {
    border-color: #ef6d00;
    box-shadow: 0 0 0 3px rgba(255, 121, 0, 0.12);
}

/* Denomination / plan cards — name top-left, radio top-right, price below */
.qrcc-confirm-card .qrcc-den-item {
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 6px;
    min-height: 68px;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: none;
}
.qrcc-confirm-card .qrcc-den-item:hover {
    background: #ffffff;
    border-color: #d1d5db;
}
.qrcc-confirm-card .qrcc-den-item.is-active {
    border-color: #ef6d00;
    background: #ffffff;
    box-shadow: none;
}
.qrcc-confirm-card .qrcc-den-info {
    padding-inline-end: 30px;
    gap: 4px;
}
.qrcc-confirm-card .qrcc-den-radio {
    position: absolute;
    top: 12px;
    right: 14px;
}
.qrcc-confirm-card .qrcc-den-item.is-active .qrcc-den-radio {
    background: #ffffff;
    border-color: #ff7900;
}
.qrcc-confirm-card .qrcc-den-item.is-active .qrcc-den-radio-inner {
    background: #ff7900;
    box-shadow: none;
    opacity: 1;
}

/* =============================================================
   Denominations grid (confirmRecharge) — 3 per row + vertical scroll
   ============================================================= */
.qrcc-confirm-card .qrcc-denominations-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
@media (min-width: 768px) {
    .qrcc-confirm-card .qrcc-denominations-grid { gap: 14px; }
}

/* Scrollable area: search box stays fixed above, plans scroll vertically.
   Height is sized to show ~2.5 rows so the scroll always engages when there
   are more plans (matches the reference design). */
#qrcc-den-wrapper {
    height: 290px;
    max-height: 290px;
    overflow-y: scroll;
    overflow-x: hidden;
    padding: 4px 8px 4px 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #d1d5db transparent;
}
#qrcc-den-wrapper::-webkit-scrollbar { width: 8px; }
#qrcc-den-wrapper::-webkit-scrollbar-track { background: transparent; }
#qrcc-den-wrapper::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 999px;
}
#qrcc-den-wrapper::-webkit-scrollbar-thumb:hover { background: #b0b4ba; }

/* Adjust scroll area height on very small screens */
@media (max-width: 479px) {
    #qrcc-den-wrapper { max-height: 250px; }
}

/* Smart Refill (Recommended) card — matches Quick Recharge Figma */
#qrcc-den-wrapper.is-smart-refill {
    height: auto;
    max-height: none;
    overflow: visible;
    padding: 0;
}
#qrcc-plan-extras {
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.qrcc-smart-refill {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
    margin: 0;
    padding: 20px 22px 18px;
    border: 1.5px solid #ff7900;
    border-radius: 16px;
    background: #ffffff;
    box-sizing: border-box;
    cursor: pointer;
    position: relative;
}
.qrcc-smart-refill input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}
.qrcc-smart-refill-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}
.qrcc-smart-refill-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    flex: 1;
}
.qrcc-smart-refill-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}
.qrcc-smart-refill-icon img {
    width: 24px;
    height: 24px;
    display: block;
    object-fit: contain;
}
.qrcc-smart-refill-icon svg {
    width: 24px;
    height: 24px;
}
.qrcc-smart-refill-titles {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.qrcc-smart-refill-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.qrcc-smart-refill-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
}
.qrcc-smart-refill-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 10px;
    border-radius: 20px;
    background: #028602;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
}
.qrcc-smart-refill-subtitle {
    margin: 0;
    font-size: 13px;
    font-weight: 400;
    color: #6b7280;
    line-height: 1.45;
}
.qrcc-smart-refill-radio {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 2.5px solid #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #ffffff;
    margin-top: 2px;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}
.qrcc-smart-refill.is-active .qrcc-smart-refill-radio {
    border-color: #ff7900;
}
.qrcc-smart-refill-radio-inner {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: transparent;
    transition: background 0.15s ease;
}
.qrcc-smart-refill.is-active .qrcc-smart-refill-radio-inner {
    background: #ff7900;
}
.qrcc-smart-refill-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 2px;
}
.qrcc-smart-refill-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
}
.qrcc-smart-refill-label {
    font-size: 14px;
    font-weight: 400;
    color: #6b7280;
    line-height: 1.4;
}
.qrcc-smart-refill-value {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    text-align: end;
    line-height: 1.4;
    white-space: nowrap;
}
.qrcc-smart-refill-footer {
    border-top: 1px solid #e5e7eb;
    padding-top: 14px;
    margin-top: 2px;
}
.qrcc-smart-refill-price {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #ff7900;
    line-height: 1.2;
    letter-spacing: -0.01em;
}
.qrcc-smart-refill-amount {
    display: inline-flex;
    flex-direction: row;
    align-items: baseline;
    gap: 4px;
    direction: ltr;
}
.qrcc-smart-refill-price .qp-money,
.qrcc-smart-refill-amount .qp-money {
    color: inherit;
    font-weight: inherit;
    font-size: inherit;
}
@media (min-width: 768px) {
    .qrcc-smart-refill {
        padding: 22px 24px 20px;
        gap: 20px;
        border-radius: 18px;
    }
    .qrcc-smart-refill-title { font-size: 17px; }
    .qrcc-smart-refill-subtitle { font-size: 14px; }
    .qrcc-smart-refill-price { font-size: 24px; }
}
[dir="rtl"] .qrcc-smart-refill-row {
    flex-direction: row;
}
[dir="rtl"] .qrcc-smart-refill-label {
    text-align: right;
}
[dir="rtl"] .qrcc-smart-refill-value {
    text-align: left;
}
[dir="rtl"] .qrcc-smart-refill-amount,
[dir="rtl"] .qrcc-smart-refill-price {
    display: inline-flex;
    flex-direction: row;
    direction: ltr;
}
[dir="rtl"] .qrcc-smart-refill-footer {
    text-align: start;
}
[dir="rtl"] .qrcc-smart-refill-head {
    text-align: right;
}
[dir="rtl"] .qrcc-smart-refill-title-row {
    flex-direction: row;
}

/* =============================================================
   SUMMARY CARD SIZE CONTROL — confirmRecharge page only
   Scoped via .qrcc-grid--confirm so other pages are unaffected.
   ============================================================= */

/* ---- DESKTOP (screens >= 1024px) ----
   The 2nd value is the summary column WIDTH. Increase it (e.g. 420px)
   to make the summary card wider, decrease it (e.g. 320px) to shrink. */
@media (min-width: 1024px) {
    .qrcc-grid--confirm {
        grid-template-columns: minmax(0, 1fr) 340px;
        gap: 28px;
        box-shadow: 0 0 0 0 rgba(0, 0.12, 0.12, 0.12);
    }
}

/* ---- MOBILE / TABLET (screens < 1024px) ----
   The summary stacks full-width by default. Cap its width with
   max-width and it will be centered. Set to none for full width. */
@media (max-width: 1023px) {
    .qrcc-grid--confirm .qrcc-col-side {
        width: 100%;
        max-width: 100%;      /* e.g. 480px to make it narrower */
        margin-inline-start: auto;
        margin-inline-end: auto;
    }
}

/* Compact summary card: shown before a denomination is selected (confirmRecharge.gsp) */
.qrcc-summary-compact {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 18px 20px;
}
.qrcc-summary-avatar {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: #ef6d00;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.qrcc-summary-avatar svg {
    width: 30px;
    height: 30px;
}
.qrcc-summary-compact-meta {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

/* Summary "Recharging for / Phone Number / Bundle" card (confirmRecharge.gsp) */
.qrcc-summary-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 2px 20px;
}
.qrcc-summary-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 16px 0;
}
.qrcc-summary-item-label {
    margin: 0;
    font-size: 10px;
    font-weight: 400;
    color: #9a9a9a;
    line-height: 1.2;
}
.qrcc-summary-item-val {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    word-break: break-word;
}
/* Phone / LTR-only values: isolate digits without yanking the row to the left in RTL */
.qrcc-summary-item-val[dir="ltr"] {
    direction: ltr;
    unicode-bidi: isolate;
    text-align: start;
}
[dir="rtl"] .qrcc-summary-item-val[dir="ltr"],
[dir="rtl"] #selected-bundle-name,
[dir="rtl"] .qp-product-deno-val {
    text-align: right !important;
}
/* Amount inside summary prose: "18.000 د.أ" stays number-then-currency */
.qrcc-summary-item-val bdi[dir="ltr"] {
    unicode-bidi: isolate;
}
.qrcc-summary-subscriber-name-text {
    display: inline-block;
    white-space: pre;
    unicode-bidi: isolate-override;
}
.qrcc-summary-subscriber-name-text[dir="ltr"] {
    direction: ltr;
}
.qrcc-summary-subscriber-name-text[dir="rtl"] {
    direction: rtl;
}
.qrcc-summary-item-divider {
    height: 1.2px;
    background: #e1e1e1;
}

/* Left column: stack Step 1 (plan) + Step 2 (payment) — Figma gap: 32px */
.qrcc-col-main {
    display: flex;
    flex-direction: column;
    gap: 32px;
    min-width: 0;
}

/* Step 2 Payment Method card (reuses .qrcc-confirm-card chrome) */
.qrcc-pay-card .qrcc-card-body { gap: 12px; }

.qrcc-pay-card .qrb-pm-list { gap: 10px; }
.qrcc-pay-card .qrb-pm {
    min-height: 54px;
    padding: 7px 14px;
    box-sizing: border-box;
    border: 1px solid #ececec;
    border-radius: 12px;
    background: #f6f6f6;
    box-shadow: none;
}
.qrcc-pay-card .qrb-pm.is-selected.is-expandable {
    padding-bottom: 14px;
}
.qrcc-pay-card .qrb-pm-extra .qrh-label {
    margin-bottom: 8px;
}
.qrcc-pay-card .qrb-pm-extra .qrh-input {
    width: 100%;
    box-sizing: border-box;
}

/* Orange Money wallet field inside payment-method card (matches design) */
.qrb-pm-extra--om {
    border-top: none;
    padding-top: 10px;
    margin-top: 4px;
}
.qrb-pm-extra--om .qrom-field--inline {
    width: 100%;
    max-width: 240px;
    margin: 0;
}
.qrb-pm-extra--om .qrom-label {
    font-size: 12px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 6px;
}
.qrb-pm-extra--om .qrom-input {
    height: 42px;
    line-height: 42px;
    font-size: 13px;
    border-color: #d0d0d0;
    padding: 0 46px 0 16px;
}
.qrb-pm-extra--om .qrom-submit-btn {
    pointer-events: none;
}
[dir="rtl"] .qrb-pm-extra--om .qrom-input {
    padding: 0 16px 0 46px;
}
[dir="rtl"] .qrb-pm-extra--om .qrom-submit-btn {
    right: auto;
    left: 8px;
}
[dir="rtl"] .qrb-pm-extra--om .qrom-submit-btn svg {
    transform: scaleX(-1);
}
.qrcc-pay-card .qrb-pm:hover {
    background: #f6f6f6;
    border-color: #e0e0e0;
}
.qrcc-pay-card .qrb-pm.is-selected {
    border-color: #ef6d00;
    background: #f6f6f6;
    box-shadow: 0 0 0 1px #ef6d00;
}
.qrcc-pay-card .qrb-pm-left { gap: 14px; }
.qrcc-pay-card .qrb-pm-icon {
    width: 34px;
    height: 34px;
}
.qrcc-pay-card .qrb-pm-icon svg { width: 20px; height: 20px; }
.qrcc-pay-card .qrb-pm-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}
.qrcc-pay-card .qrb-pm.is-selected .qrb-pm-icon svg { color: #ef6d00; }
.qrcc-pay-card .qrb-pm-name {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
}
.qrcc-pay-card .qrb-pm.is-selected .qrb-pm-name { color: #1a1a1a; }
.qrcc-pay-card .qrb-pm-radio {
    width: 22px;
    height: 22px;
    margin-inline-end: 15px;
    border: 2.5px solid #d1d5db;
}
.qrcc-pay-card .qrb-pm-radio-inner {
    width: 10px;
    height: 10px;
}
.qrcc-pay-card .qrb-pm.is-selected .qrb-pm-radio {
    background: #ffffff;
    border-color: #ff7900;
}
.qrcc-pay-card .qrb-pm.is-selected .qrb-pm-radio-inner {
    background: #ff7900;
    box-shadow: none;
    opacity: 1;
}

/* ── Orange Money OTP card — visual match of .qvm-* (otpForm) ── */
.qrom-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 2px 24px rgba(0,0,0,0.07);
    padding: 36px 40px 32px;
    box-sizing: border-box;
    width: 100%;
}
@media (max-width: 600px) {
    .qrom-card { padding: 24px 18px 24px; border-radius: 14px; }
}

.qrom-title {
    text-align: center;
    font-size: 18px;
    font-weight: 800;
    color: #111111;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin: 0 0 20px;
}

.qrom-desc {
    text-align: center;
    font-size: 14px;
    color: #3a3a3a;
    line-height: 1.5;
    margin: 0 0 28px;
}
.qrom-desc strong { color: #111111; font-weight: 800; }

/* ── Verified check badge, floats above the OTP boxes ── */
.qrom-check-wrap {
    display: flex;
    justify-content: center;
    height: 0;
}
.qrom-check {
    display: none;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: transparent;
    transform: translateY(-15px);
}
.qrom-check.is-show { display: flex; }
.qrom-check-icon {
    display: block;
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* ── OTP boxes row ── */
.qrom-otp-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 30px;
}

.qrom-otp-box {
    width: 56px;
    height: 64px;
    box-sizing: border-box;
    border: 1.5px solid #d8d8d8;
    border-radius: 16px;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: #111111;
    outline: none;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}
.qrom-otp-box::-webkit-outer-spin-button,
.qrom-otp-box::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.qrom-otp-box:focus {
    border-color: #ef6d00;
    box-shadow: 0 0 0 3px rgba(255, 121, 0, 0.12);
}
.qrom-otp-box.is-filled {
    margin-top: 20px;
    border-color: #1e9e51;
}
.qrom-otp-box.is-error {
    border-color: #e24b4a;
}

@media (max-width: 420px) {
    .qrom-otp-row { gap: 10px; }
    .qrom-otp-box { width: 54px; height: 54px; font-size: 20px; }
}

.qrom-error-msg {
    text-align: center;
    font-size: 12px;
    color: #e24b4a;
    margin: -8px 0 18px;
    display: none;
}
.qrom-error-msg.is-show { display: block; }

/* ── Change method link ── */
.qrom-change-link {
    display: block;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #ef6d00;
    cursor: pointer;
    background: none;
    border: none;
    padding: 6px 0 0;
    text-decoration: none;
    margin-top: 4px;
}
.qrom-change-link:hover { color: #ef6d00; text-decoration: underline; }

/* Legacy pill-input helpers still used by confirm/payBills wallet fields */
.qrom-field {
    width: 100%;
    max-width: 240px;
    margin: 0 auto 20px;
}
.qrom-label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 6px;
    line-height: 1.3;
}
.qrom-required { color: #ef6d00; font-weight: 700; }
.qrom-input-wrap { position: relative; }
.qrom-input {
    width: 100%;
    box-sizing: border-box;
    height: 44px;
    padding: 0 46px 0 16px;
    border: 1px solid #a8a8a8;
    border-radius: 999px;
    background: #ffffff;
    font-size: 12px;
    font-weight: 400;
    color: #1a1a1a;
    line-height: 44px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}
.qrom-input:focus {
    border-color: #ef6d00;
    box-shadow: 0 0 0 3px rgba(255, 121, 0, 0.12);
}
.qrom-input::placeholder { color: #b0b0b0; }
.qrom-input[readonly] { color: #1a1a1a; font-weight: 600; background: #ffffff; cursor: default; }
.qrom-submit-btn {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: #14141a;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, opacity 0.2s ease;
    padding: 0;
}
.qrom-submit-btn:hover { background: #2a2a33; }
.qrom-submit-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.qrom-submit-btn1 {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.2s ease;
    padding: 0;
    overflow: hidden;
}
.qrom-submit-btn1-icon {
    display: block;
    width: 30px;
    height: 30px;
    object-fit: contain;
}
.qrom-submit-btn1:disabled,
.qrom-submit-btn1.is-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
[dir="rtl"] .qrom-submit-btn1 {
    right: auto;
    left: 8px;
}
[dir="rtl"] .qrom-submit-btn1-icon {
    transform: scaleX(-1);
}

.ppay-page {
    min-height: 100vh;
    background: #f5f5f5;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 32px 16px 48px;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.ppay-wrap {
    width: 100%;
    max-width: 952px;
    display: grid;
    grid-template-columns: 1fr 270px;
    gap: 32px;
    align-items: flex-start;
}

@media (max-width: 1023px) {
    .ppay-wrap {
        grid-template-columns: 1fr;
    }
}

.ppay-col-form {
    min-width: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ppay-form-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 2px 24px rgba(0,0,0,0.07);
    padding: 36px 40px 32px;
    box-sizing: border-box;
    width: 100%;
}
@media (max-width: 600px) {
    .ppay-form-card { padding: 24px 18px 24px; border-radius: 14px; }
}

.ppay-form-title {
    text-align: center;
    font-size: 18px;
    font-weight: 800;
    color: #111111;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.ppay-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 7px;
    line-height: 1.4;
}
.ppay-required { color: #ef6d00; font-weight: 700; }

.ppay-field-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.ppay-input,
.ppay-select {
    width: 100%;
    box-sizing: border-box;
    height: 52px;
    padding: 0 22px;
    border: 1.5px solid #d8d8d8;
    border-radius: 999px;
    background: #ffffff;
    font-size: 15px;
    font-weight: 400;
    color: #1a1a1a;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}
.ppay-input:focus,
.ppay-select:focus {
    border-color: #ef6d00;
    box-shadow: 0 0 0 3px rgba(255, 121, 0, 0.12);
}
.ppay-input::placeholder { color: #b0b0b0; }

.ppay-select-wrap {
    position: relative;
}
.ppay-select-wrap .ppay-select {
    padding-inline-end: 44px;
    cursor: pointer;
}
.ppay-select-wrap::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-40%) rotate(45deg);
    width: 8px;
    height: 8px;
    border-inline-end: 2px solid #444;
    border-bottom: 2px solid #444;
    pointer-events: none;
}

.ppay-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 20px;
}
.ppay-row-2 .ppay-field-group { margin-bottom: 0; }
@media (max-width: 500px) {
    .ppay-row-2 { grid-template-columns: 1fr; }
}

.ppay-billing-title {
    text-align: center;
    font-size: 17px;
    font-weight: 800;
    color: #111111;
    margin-bottom: 20px;
    margin-top: 8px;
    letter-spacing: 0.1px;
}

.ppay-info-banner {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
    color: #7a4200;
    line-height: 1.5;
    padding: 13px 16px;
    background: #fff3e8;
    border-radius: 12px;
    margin-bottom: 20px;
}
.ppay-info-banner svg { flex-shrink: 0; margin-top: 1px; }

.ppay-submit-btn {
    width: 100%;
    height: 54px;
    border: none;
    border-radius: 999px;
    background: #ef6d00;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.3px;
    transition: background 0.2s ease;
    margin-top: 4px;
}
.ppay-submit-btn:hover { background: #ef6d00; }
.ppay-submit-btn:disabled { background: #ffb87a; cursor: not-allowed; }

.ppay-change-link {
    display: block;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #ef6d00;
    cursor: pointer;
    background: none;
    border: none;
    padding: 6px 0 0;
    text-decoration: none;
    margin-top: auto;
}
.ppay-change-link:hover { color: #ef6d00; text-decoration: underline; }

.ppay-otp-wrap { margin-bottom: 20px; }
.ppay-otp-resend {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #ef6d00;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 0;
    margin-top: 8px;
}
.ppay-otp-resend[disabled] { color: #b0b0b0; cursor: default; }
.ppay-otp-error {
    font-size: 12px;
    color: #e24b4a;
    margin-top: 5px;
    display: none;
}
.ppay-otp-error.is-show { display: block; }

/* ── CLIQ details card ── */
.ppay-cliq-card {
    margin-bottom: 20px;
    padding: 16px 20px;
    border: 1.5px solid #ffe8d6;
    border-radius: 18px;
    background: #fffcf9;
}
.ppay-cliq-card-title {
    margin: 0 0 8px;
    font-size: 10px;
    font-weight: 800;
    color: #9ca3af;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.ppay-cliq-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.ppay-cliq-alias {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
}
.ppay-cliq-bank {
    font-size: 12px;
    font-style: italic;
    color: #9ca3af;
    font-weight: 700;
}

.ppay-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ppay-sidebar-title {
    font-size: 14px;
    font-weight: 700;
    color: #111111;
    margin: 0 0 12px;
}

/* ── Summary card ── */
.ppay-summary-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    padding: 20px 24px;
    box-sizing: border-box;
}
.ppay-success-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    padding: 16px 20px;      /* Reduced padding */
    width: 85%;              /* Smaller than full width */
    max-width: 500px;        /* Prevents it from becoming too wide */
    margin: 0 auto;          /* Centers the card */
}
.ppay-summary-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
}
.ppay-summary-row:first-child { padding-top: 0; }
.ppay-summary-row:last-child { border-bottom: none; padding-bottom: 0; }

.ppay-summary-label {
    font-size: 11px;
    color: #9ca3af;
    font-weight: 500;
    letter-spacing: 0.02em;
}
.ppay-summary-value {
    font-size: 16px;
    font-weight: 700;
    color: #111111;
    word-break: break-all;
}

/* ── Important Information box ── */
.ppay-important-box {
    background: #fff8f3;
    border-radius: 14px;
    padding: 18px 20px;
    box-sizing: border-box;
    box-shadow: 0 1px 8px rgba(255,121,0,0.06);
}
.ppay-important-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 12px;
}
.ppay-important-head svg { flex-shrink: 0; color: #ef6d00; }
.ppay-important-list {
    list-style: disc;
    padding-inline-start: 16px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ppay-important-list li {
    font-size: 12px;
    color: #5a5a5a;
    line-height: 1.55;
}

/* ── Net / Tax totals ── */
.ppay-totals-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    padding: 0 24px;
    overflow: hidden;
}
.ppay-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    color: #5a5a5a;
}
.ppay-total-row:last-child { border-bottom: none; }
.ppay-total-label { font-weight: 500; }
.ppay-total-value {
    font-weight: 700;
    color: #111111;
    direction: ltr;
    unicode-bidi: isolate;
}

/* ── Figma breakdown: Net / Tax / Fee + Total to Pay ── */
.ppay-totals-card.ppay-breakdown {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 4px 0 0;
    overflow: visible;
}
.ppay-breakdown-rows {
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid #eaeaea;
}
.ppay-breakdown .ppay-total-row {
    padding: 0;
    border-bottom: none;
    margin-bottom: 8px;
    font-size: 14px;
    color: #666666;
}
.ppay-breakdown .ppay-total-row:last-child {
    margin-bottom: 0;
}
.ppay-breakdown .ppay-total-label {
    font-weight: 400;
    color: #666666;
}
.ppay-breakdown .ppay-total-value {
    font-weight: 500;
    color: #444444;
}
.ppay-pay-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}
.ppay-pay-total-label {
    font-size: 16px;
    font-weight: 700;
    color: #000000;
}
.ppay-pay-total-val {
    display: inline-flex;
    flex-direction: row;
    align-items: baseline;
    gap: 4px;
    direction: ltr;
    unicode-bidi: isolate;
    font-size: 22px;
    font-weight: 800;
    color: #000000;
    line-height: 1;
}
.ppay-pay-total-val small {
    font-size: 14px;
    font-weight: 700;
    color: #000000;
}

/* ── Google Pay form card ── */
.qgp-card {
    width: 100%;
    padding: 40px;
    box-sizing: border-box;
    border: 1px solid #f1f1f1;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.07);
    color: #1a1a1a;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    text-align: center;
}
.qgp-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-bottom: 20px;
    color: #202124;
    font-size: 28px;
    font-weight: 500;
    line-height: 1;
}
.qgp-google-g {
    display: inline-flex;
    font-family: Arial, sans-serif;
    font-size: 29px;
    font-weight: 700;
}

.qgp-description {
    max-width: 440px;
    margin: 0 auto 26px;
    color: #666666;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.55;
}
.qgp-payment-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
}
.qgp-payment-panel.is-ready {
    display: block;
    min-height: 0;
    background: #ffffff;
}
.qgp-payment-form {
    display: none;
    width: 100%;
    min-height: 52px;
    margin: 0;
}
.qgp-payment-panel.is-ready .qgp-payment-form { display: block; }
.qgp-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: #6f6f6f;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
}
.qgp-spinner {
    width: 18px;
    height: 18px;
    box-sizing: border-box;
    border: 2px solid #e3e3e3;
    border-top-color: #ff7900;
    border-radius: 50%;
    animation: qgp-spin 0.7s linear infinite;
}
@keyframes qgp-spin {
    to { transform: rotate(360deg); }
}
.qgp-payment-panel .wpwl-container,
.qgp-payment-panel .wpwl-form,
.qgp-payment-panel .wpwl-form-custom,
.qgp-payment-panel .wpwl-wrapper,
.qgp-payment-panel .wpwl-button-brand {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
.qgp-payment-panel .wpwl-button,
.qgp-payment-panel button {
    width: 50% !important;
    border: 0 !important;
    cursor: pointer !important;
}
.qgp-error {
    display: none;
    margin: 14px 0 0;
    padding: 11px 14px;
    border: 1px solid #f0b3b3;
    border-radius: 10px;
    background: #fff3f3;
    color: #b42318;
    font-size: 13px;
    line-height: 1.4;
    text-align: start;
}
.qgp-error.is-show { display: block; }
.qgp-security-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 18px;
    padding: 13px 15px;
    border-radius: 12px;
    background: #fff4e9;
    color: #7a4200;
    font-size: 12px;
    line-height: 1.5;
    text-align: start;
}
.qgp-security-note svg {
    flex-shrink: 0;
    margin-top: 1px;
    color: #ff7900;
}
.qgp-change-method {
    display: inline-block;
    margin-top: 20px;
    color: #ef6d00;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}
.qgp-change-method:hover {
    color: #d96100;
    text-decoration: underline;
}
[dir="rtl"] .qgp-error,
[dir="rtl"] .qgp-security-note { text-align: right; }
@media (max-width: 600px) {
    .qgp-card {
        padding: 28px 18px 24px;
        border-radius: 14px;
    }
    .qgp-brand { margin-bottom: 16px; }
    .qgp-title { font-size: 19px; }
}

/* ── CLIQ card — matches provided Scan QR / Enter Alias mockups ── */
.qcf-card {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.10);
    padding: 46px 56px 34px;
    box-sizing: border-box;
    width: 100%;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
@media (max-width: 600px) {
    .qcf-card { padding: 30px 18px 26px; border-radius: 14px; }
}

.qcf-title {
    text-align: center;
    font-size: 19px;
    font-weight: 700;
    color: #111111;
    letter-spacing: -0.02em;
    margin: 0 0 19px;
    line-height: 1.2;
}

/* ── Scan / Alias segmented toggle ── */
.qcf-tabs {
    display: flex;
    gap: 0;
    background: #efefef;
    border-radius: 999px;
    padding: 5px;
    margin-bottom: 18px;
}

.qcf-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    height: 52px;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: #1a1a1a;
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    padding: 0 14px;
    line-height: 1;
}
.qcf-tab svg {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
}
.qcf-tab .qrh-tab-icon1 {
    filter: brightness(0);
    transition: filter 0.2s ease;
}
.qcf-tab.is-active {
    background: #ef6d00;
    color: #ffffff;
    box-shadow: none;
}
.qcf-tab.is-active .qrh-tab-icon1 {
    filter: brightness(0) invert(1);
}
.qcf-tab:not(.is-active):hover { background: rgba(0, 0, 0, 0.04); }

/* ── Shared panel description text ── */
.qcf-desc {
    text-align: center;
    font-size: 13px;
    color: #2c2c2c;
    line-height: 1.45;
    margin: 0;
    font-weight: 400;
}
.qcf-desc strong {
    color: #111111;
    font-weight: 900;
}

/* ── QR panel ── */
.qcf-qr-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 29px 0 28px;
}
.qcf-qr-img {
    width: 190px;
    height: 190px;
    max-width: 100%;
    object-fit: contain;
    background: #ffffff;
}

/* ── Primary pill button (I've Scanned & Paid / Submit) ── */
.qcf-primary-btn {
    display: block;
    width: 204px;
    height: 52px;
    border: none;
    border-radius: 999px;
    background: #ef6d00;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    letter-spacing: 0.2px;
    transition: background 0.2s ease;
    margin: 0 auto;
    padding: 0 28px;
    box-sizing: border-box;
}
.qcf-primary-btn:hover { background: #e86d00; }
.qcf-primary-btn:disabled { background: #ffb87a; cursor: not-allowed; }

/* Scan panel CTA is centered / content-sized like the mockup */
#qcfScanPanel .qcf-primary-btn {
    width: 206px;
    min-width: 0;
    padding: 0 24px;
}

/* ── Alias panel fields ── */
#qcfAliasPanel .qcf-desc {
    margin-bottom: 17px;
}
.qcf-field {
    width: 356px;
    max-width: 100%;
    margin: 0 auto 26px;
}
#qcfAliasPanel .qcf-field:nth-of-type(2) { margin-bottom: 25px; }
#qcfAliasPanel .qcf-field:nth-of-type(3) { margin-bottom: 18px; }

.qcf-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #111111;
    margin-bottom: 7px;
    line-height: 1.3;
}
.qcf-required { color: #ef6d00; font-weight: 700; margin-inline-start: 1px; }

.qcf-input,
.qcf-select {
    width: 100%;
    box-sizing: border-box;
    height: 51px;
    padding: 0 20px;
    border: 1px solid #c9c9c9;
    border-radius: 999px;
    background: #ffffff;
    font-size: 12px;
    font-weight: 400;
    font-family: inherit;
    color: #1a1a1a;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}
.qcf-select {
    font-weight: 500;
    cursor: pointer;
    color: #1a1a1a;
}
.qcf-select:invalid,
.qcf-select option[value=""] {
    color: #9a9a9a;
}
.qcf-input:focus,
.qcf-select:focus {
    border-color: #ff7900;
    box-shadow: 0 0 0 3px rgba(255, 121, 0, 0.12);
}
.qcf-input::placeholder { color: #b0b0b0; }

.qcf-select-wrap { position: relative; }
.qcf-select-wrap .qcf-select { padding-inline-end: 46px; }
.qcf-select-wrap::after {
    content: "";
    position: absolute;
    right: 22px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-inline-end: 2px solid #444444;
    border-bottom: 2px solid #444444;
    transform: translateY(-65%) rotate(45deg);
    pointer-events: none;
}

.qcf-note {
    font-size: 12px;
    color: #292929;
    margin: 8px 2px 0;
    line-height: 1.4;
    font-weight: 600;
}

.qcf-error-msg {
    width: 356px;
    max-width: 100%;
    font-size: 12px;
    color: #e24b4a;
    margin: 0 auto 14px;
    display: none;
}
.qcf-error-msg.is-show { display: block; }

/* ── Change method link ── */
.qcf-change-link {
    display: block;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #d86a00;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    text-decoration: none;
    margin-top: 18px;
    font-family: inherit;
}
.qcf-change-link:hover {
    color: #e86d00;
    text-decoration: none;
}

@media (max-width: 600px) {
    .qcf-tabs { padding: 4px; }
    .qcf-tab {
        height: 48px;
        gap: 7px;
        padding: 0 8px;
        font-size: 13px;
    }
    .qcf-tab svg {
        width: 19px;
        height: 19px;
    }
    .qcf-desc { font-size: 14px; }
    .qcf-qr-img {
        width: 180px;
        height: 180px;
    }
}

/* ── Card shell (this template owns its own outer card, same
      pattern as visaForm/orangeMoneyForm/cliqForm) ── */
.qvm-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 2px 24px rgba(0,0,0,0.07);
    padding: 36px 40px 32px;
    box-sizing: border-box;
    width: 100%;
}
@media (max-width: 600px) {
    .qvm-card { padding: 24px 18px 24px; border-radius: 14px; }
}

.qvm-title {
    text-align: center;
    font-size: 18px;
    font-weight: 800;
    color: #111111;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin: 0 0 20px;
}

.qvm-desc {
    text-align: center;
    font-size: 14px;
    color: #3a3a3a;
    line-height: 1.5;
    margin: 0 0 28px;
}
.qvm-desc strong { color: #111111; font-weight: 800; }

/* ── Verified check badge, floats above the OTP boxes ── */
.qvm-check-wrap {
    display: flex;
    justify-content: center;
    height: 0;
}
.qvm-check {
    display: none;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: transparent;
    transform: translateY(-15px);
}
.qvm-check.is-show { display: flex; }
.qvm-check-icon {
    display: block;
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* ── OTP boxes row ── */
.qvm-otp-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 30px;
}

.qvm-otp-box {
    width: 56px;
    height: 64px;
    box-sizing: border-box;
    border: 1.5px solid #d8d8d8;
    border-radius: 16px;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: #111111;
    outline: none;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}
.qvm-otp-box::-webkit-outer-spin-button,
.qvm-otp-box::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.qvm-otp-box:focus {
    border-color: #ef6d00;
    box-shadow: 0 0 0 3px rgba(255, 121, 0, 0.12);
}
.qvm-otp-box.is-filled {
    margin-top: 20px;
    border-color: #1e9e51;
}
.qvm-otp-box.is-error {
    border-color: #e24b4a;
}

@media (max-width: 420px) {
    .qvm-otp-row { gap: 10px; }
    .qvm-otp-box { width: 54px; height: 54px; font-size: 20px; }
}

.qvm-error-msg {
    text-align: center;
    font-size: 12px;
    color: #e24b4a;
    margin: -8px 0 18px;
    display: none;
}
.qvm-error-msg.is-show { display: block; }

.dvm-qvm-card {
    max-width: 460px;
    margin: 0 auto;
}

.qvm-submit-btn {
    width: 100%;
    border: none;
    border-radius: 14px;
    background: #ef6d00;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    padding: 16px;
    margin-bottom: 10px;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(255, 121, 0, 0.22);
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.qvm-submit-btn:hover:not(:disabled) {
    background: #e66d00;
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(255, 121, 0, 0.32);
}

.qvm-submit-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    box-shadow: 0 8px 18px rgba(255, 121, 0, 0.15);
}

.qvm-action-btn {
    width: 100%;
    margin-top: 0;
}

.qvm-action-btn:disabled {
    opacity: 0.5;
    cursor: default;
    text-decoration: none;
}

/* ── Change method link ── */
.qvm-change-link {
    display: block;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #ef6d00;
    cursor: pointer;
    background: none;
    border: none;
    padding: 6px 0 0;
    text-decoration: none;
    margin-top: 4px;
}
.qvm-change-link:hover { color: #ef6d00; text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════
   paymentStatus — centered success / failure card
   ═══════════════════════════════════════════════════════════ */

.qps-page {
    min-height: calc(100vh - 180px);
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 16px 64px;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.qps-shell {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
}

/* ── Success grid: main column + promo sidebar (payBills) ── */
.qps-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
    align-items: start;
}
@media (max-width: 900px) {
    .qps-grid { grid-template-columns: 1fr; }
}

.qps-col-main {
    min-width: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.qps-col-main--centered {
    max-width: 720px;
    margin: 0 auto;
}

/* ── Main white card ── */
.qps-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.07);
    padding: 48px 40px 40px;
    box-sizing: border-box;
    width: 100%;
    text-align: center;
}
@media (max-width: 600px) {
    .qps-card { padding: 32px 20px 28px; border-radius: 18px; }
}

/* ── Status icon ── */
.qps-status-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
}
.qps-status-icon img {
    width: 68px;
    height: 68px;
    display: block;
    object-fit: contain;
}

.qps-status-icon--fail {
    background: transparent;
    border-radius: 0;
}
.qps-status-icon--fail svg { width: 68px; height: 68px; }

.qps-title {
    font-size: 22px;
    font-weight: 800;
    color: #111111;
    margin: 0 0 12px;
    line-height: 1.3;
    letter-spacing: -0.2px;
}
@media (min-width: 768px) {
    .qps-title { font-size: 26px; }
}

.qps-desc {
    font-size: 14px;
    color: #5a5a5a;
    line-height: 1.55;
    margin: 0 auto 28px;
    max-width: 520px;
}
.qps-desc strong { color: #111111; font-weight: 700; }

.qps-order-title {
    font-size: 15px;
    font-weight: 800;
    color: #111111;
    margin: 0 0 18px;
}

/* ── Order info: four separate boxes in a 2×2 grid ── */
.qps-order-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    border: 0;
    padding: 0;
    box-sizing: border-box;
    text-align: start;
}
/* EShop / Selfcare status: PUN, time, and product on one row */
.qps-order-grid--row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none;
}
.qps-order-box {
    min-width: 0;
    padding: 14px 16px;
    border: 1.5px solid #e3e3e3;
    border-radius: 12px;
    box-sizing: border-box;
    background: #ffffff;
}
/* Arabic RTL: swap amount ↔ product/service on the bottom row (amount left, type right) */
[dir="rtl"] .qps-order-box--txn { order: 1; }
[dir="rtl"] .qps-order-box--time { order: 2; }
[dir="rtl"] .qps-order-box--product { order: 3; }
[dir="rtl"] .qps-order-box--amount { order: 4; }
.qps-order-label {
    font-size: 12px;
    color: #222222;
    font-weight: 500;
    margin: 0 0 6px;
    padding-top: 0;
}
.qps-order-value {
    font-size: 13px;
    color: #111111;
    font-weight: 700;
    margin: 0;
    padding-top: 0;
    word-break: break-word;
}
/* Amount stays right-aligned; LTR flex + gap keeps number and currency separate (3.695 | د.أ). */
.qps-order-amount-inner {
    display: inline-flex;
    flex-direction: row;
    align-items: baseline;
    gap: 4px;
    direction: ltr;
    unicode-bidi: isolate;
}
.qps-order-amount-inner .qp-money {
    display: inline-flex;
    flex-direction: row;
    align-items: baseline;
    gap: 4px;
}
.qps-order-currency,
.qp-money-currency {
    unicode-bidi: isolate;
}
@media (max-width: 539px) {
    .qps-order-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* ── Primary pill buttons under the card ── */
.qps-primary-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 45px;
    border: none;
    border-radius: 999px;
    background: #ff7900;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.2px;
    text-decoration: none;
    box-sizing: border-box;
    margin-top: 24px;
    transition: background 0.2s ease;
}
.qps-primary-btn:hover { background: #e86d00; }
.qps-primary-btn svg { flex-shrink: 0; }

/* ── Help footer (failure page) ── */
.qps-help-row {
    text-align: center;
    margin-top: 30px;
}
.qps-help-text {
    font-size: 14px;
    color: #7a7a7a;
    margin: 0 0 14px;
}
.qps-help-pills {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.qps-help-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 38px;
    padding: 0 18px;
    border: 1.5px solid #e3e3e3;
    border-radius: 999px;
    background: #ffffff;
    color: #333333;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.qps-help-pill:hover { border-color: #ff7900; background: #fff8f2; }
.qps-help-pill svg { flex-shrink: 0; width: 15px; height: 15px; }

.qps-promo-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 2px 24px rgba(0,0,0,0.07);
    padding: 28px 26px 30px;
    box-sizing: border-box;
    width: 100%;
    height: 95%;
}

.qps-promo-art {
    width: 100%;
    height: auto;
    margin-bottom: 22px;
}

.qps-promo-title {
    font-size: 15px;
    font-weight: 800;
    color: #111111;
    margin: 0 0 10px;
    line-height: 1.3;
}
.qps-promo-desc {
    font-size: 12px;
    color: #000000;
    font-weight: 500;
    line-height: 1.6;
    margin: 0 0 22px;
}

.qps-promo-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 999px;
    background: #14141a;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    box-sizing: border-box;
    transition: background 0.2s ease;
}
.qps-promo-btn:hover { background: #2a2a33; }

@media (min-width: 768px) {
    .qrb-grid { grid-template-columns: 1fr 380px; gap: 48px; }

    .qrh-subtitle {
        margin: 0 0 22px;
        text-align: center;
        font-size: 16px;
        color: #000000;
        line-height: 1.5;
        font-weight: 400;
    }

    .qrh-tabs {
        display: flex;
        padding: 5px;
        background: #ededed;
        border-radius: 999px;
        border: none;
        gap: 4px;
        width: 100%;
        max-width: 800px;
        margin: 0 auto 28px;
    }

.qrh-tabs--transaction .qrh-tab {
        flex: 1;
        min-height: 38px;
        padding: 12px 20px;
        gap: 10px;
        border-radius: 9999px;
        font-weight: 500;
        font-size: 13px;
        line-height: 1.2;
        color: #000000;
        background: transparent;
        transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    }

.qrh-input {
        width: 100%;
        min-height: 45px;
        height: auto;
        box-sizing: border-box;
        padding: 14px 44px 14px 20px;
        background: #ffffff;
        border: 1px solid #a9a9a9;
        border-radius: 999px;
        font-size: 15px;
        font-weight: 400;
        color: #1a1a1a;
        outline: none;
        font-family: inherit;
        transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    }

.qrh-textFieldInput {
        width: 100%;
        min-height: 45px;
        height: auto;
        box-sizing: border-box;
        padding: 14px 44px 14px 20px;
        background: #ffffff;
        border: 1px solid #a9a9a9;
        border-radius: 999px;
        font-size: 15px;
        font-weight: 400;
        color: #1a1a1a;
        outline: none;
        font-family: inherit;
        transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    }
}

@media (max-width: 767px) {
    .qrb-grid { grid-template-columns: 1fr; gap: 24px; }

    .qrh-subtitle {
        margin: 0 0 18px;
        text-align: center;
        font-size: 14px;
        color: #000000;
        line-height: 1.5;
        font-weight: 400;
    }

    .qrh-tabs {
        display: flex;
        padding: 4px;
        background: #ededed;
        border-radius: 999px;
        border: none;
        gap: 4px;
        width: 100%;
        max-width: 100%;
        margin: 0 auto 20px;
    }

.qrh-tabs--transaction .qrh-tab {
        flex: 1 1 0;
        min-width: 0;
        min-height: 46px;
        padding: 10px 8px;
        gap: 6px;
        border-radius: 9999px;
        font-weight: 500;
        font-size: 13px;
        line-height: 1.2;
        color: #000000;
        background: transparent;
        transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    }

    .qrh-input,
    .qrh-textFieldInput {
        width: 100%;
        min-height: 48px;
        height: auto;
        box-sizing: border-box;
        padding: 14px 44px 14px 18px;
        background: #ffffff;
        border: 1px solid #a9a9a9;
        border-radius: 999px;
        font-size: 16px;
        font-weight: 400;
        color: #1a1a1a;
        outline: none;
        font-family: inherit;
        transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    }

    .qrh-page-title {
        display: block;
        font-size: 14px;
        margin-bottom: 12px;
    }

    .qrcc-confirm-card .qrcc-denominations-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .qrcc-confirm-card .qrcc-den-item {
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        gap: 6px;
        min-height: 58px;
        padding: 12px 16px;
        border: 1px solid #e5e7eb;
        border-radius: 14px;
        background: #ffffff;
        box-shadow: none;
    }

    .qrcc-den-name { font-size: 12px; }
    .qrcc-den-amount { font-size: 18px; }
    .qrcc-den-currency { font-size: 9px; }

    .qrcc-confirm-card .qrh-tabs--recharge {
        display: none;         /* Hide desktop tab buttons on mobile */
    }

    .qrh-mobile-select-wrapper {
        display: block;        /* Show the mobile dropdown selector */
    }

}

/* ═══════════════════════════════════════════════════════════
   Direct Debit paymentStatus — Linked Card success / failure
   Used in: views/directDebit/paymentStatus.gsp
   ═══════════════════════════════════════════════════════════ */

.ddps-page {
    background: #f5f5f5;
    min-height: calc(100vh - 180px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 16px 64px;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.ddps-shell {
    width: 100%;
    max-width: 760px;
}

.ddps-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.07);
    padding: 48px 48px 40px;
    box-sizing: border-box;
    text-align: center;
}

.ddps-status-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ddps-status-icon-img {
    width: 68px;
    height: 68px;
    display: block;
}

.ddps-title {
    font-size: 28px;
    font-weight: 800;
    color: #111111;
    margin: 0 0 14px;
    line-height: 1.25;
    letter-spacing: -0.2px;
}

.ddps-desc {
    font-size: 14px;
    color: #5a5a5a;
    line-height: 1.55;
    margin: 0 auto 32px;
    max-width: 560px;
}

.ddps-desc strong {
    color: #111111;
    font-weight: 700;
}

.ddps-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 0 0 32px;
}

.ddps-meta-box {
    border: 1.5px solid #e3e3e3;
    border-radius: 14px;
    padding: 16px 12px;
    box-sizing: border-box;
    min-width: 0;
}

.ddps-meta-label {
    font-size: 12px;
    color: #6b6b6b;
    font-weight: 500;
    margin: 0 0 8px;
    line-height: 1.3;
}

.ddps-meta-value {
    font-size: 16px;
    color: #111111;
    font-weight: 800;
    margin: 0;
    line-height: 1.3;
    word-break: break-word;
}

.ddps-meta-value--ref {
    color: #ff7900;
}

.ddps-meta-value--active {
    color: #2f9e44;
}

.ddps-meta-value--failed {
    color: #d32f2f;
}

.ddps-primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    height: 48px;
    padding: 0 36px;
    border: none;
    border-radius: 999px;
    background: #ff7900;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    transition: background 0.2s ease;
}

.ddps-primary-btn:hover {
    background: #e86d00;
    color: #ffffff;
}

@media (max-width: 700px) {
    .ddps-card {
        padding: 36px 22px 28px;
        border-radius: 18px;
    }

    .ddps-title {
        font-size: 22px;
    }

    .ddps-meta-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .ddps-primary-btn {
        width: 100%;
        min-width: 0;
    }
}

/* eFAWATEERcom pay step — left column has no form, so this card fills it */
.qef-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.07);
    padding: 36px 40px 32px;
    box-sizing: border-box;
    width: 100%;
}

.qef-mark {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #fff4eb;
    color: #ff7900;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qef-mark-icon {
    width: 26px;
    height: 26px;
}

.qef-title {
    text-align: center;
    font-size: 18px;
    font-weight: 800;
    color: #111111;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    margin: 0 0 14px;
}

.qef-desc {
    text-align: center;
    font-size: 15px;
    color: #3a3a3a;
    line-height: 1.55;
    margin: 0 0 22px;
}

.qef-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    counter-reset: qef-step;
}

.qef-steps li {
    counter-increment: qef-step;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    line-height: 1.45;
    color: #1a1a1a;
}

.qef-steps li::before {
    content: counter(qef-step);
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #111111;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 600px) {
    .qef-card {
        padding: 24px 18px 24px;
        border-radius: 14px;
    }
}


