/* Swift checkout theme: two panels, big wallet tiles, numbered step cards. */
.sw-body { --sw-bg: #eef1f6; --sw-ink: #131a33; --sw-muted: #6b7591; --sw-line: #e4e8f1; --sw-soft: #f6f7fb; --sw-blue: #2346f8; --sw-dark: #141a33; --pc: #2346f8;
    background: var(--sw-bg); color: var(--sw-ink); font-family: 'Hind Siliguri', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; min-height: 100vh; }
.sw-body .mono { font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; letter-spacing: .02em; }
.sw-wrap { max-width: 880px; margin: 0 auto; padding: 48px 16px 24px; }
.sw-card { display: grid; grid-template-columns: 300px 1fr; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(20, 30, 70, .25), 0 2px 6px rgba(20, 30, 70, .04); min-height: 520px; }
.sw-card.is-single { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
.sw-main { min-width: 0; display: flex; flex-direction: column; }
.sw-main > .alert { margin: 16px 18px 0; }
.sw-pad { padding: 18px 18px 22px; }
.sw-muted { color: var(--sw-muted); }
.sw-h { font-size: 1.1rem; font-weight: 700; margin: 4px 0 14px; }

/* left panel */
.sw-side { background: #f7f8fc; border-right: 1px solid var(--sw-line); padding: 26px 24px; display: flex; flex-direction: column; }
.sw-merchant { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.sw-logo { width: 52px; height: 52px; border-radius: 14px; background: #fff; border: 1px solid var(--sw-line); display: grid; place-items: center; font-weight: 700; font-size: 1.3rem; color: var(--sw-mc, var(--sw-blue)); overflow: hidden; flex: 0 0 auto; }
.sw-logo img { width: 100%; height: 100%; object-fit: contain; }
.sw-mname { font-weight: 700; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .02em; }
.sw-mname .bi { color: #12b76a; font-size: .85rem; }
.sw-inv { font-size: .72rem; color: var(--sw-muted); }
.sw-test { margin-left: auto; font-size: .65rem; font-weight: 700; background: #fef0c7; color: #93370d; padding: 2px 8px; border-radius: 99px; }
.sw-purpose { font-size: .82rem; color: var(--sw-muted); }
.sw-amount { font-size: 2.1rem; font-weight: 700; line-height: 1.15; margin: 2px 0 10px; }
.sw-timer-row { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--sw-muted); margin-bottom: 18px; }
.sw-pill { display: inline-flex; align-items: center; gap: 6px; background: #fff1f3; color: #e31b54; border: 1px solid #fecdd6; border-radius: 99px; padding: 5px 12px; font-weight: 700; font-size: .85rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sw-break { background: #fff; border: 1px solid var(--sw-line); border-radius: 14px; padding: 6px 14px; margin-bottom: 22px; }
.sw-break > div { display: flex; justify-content: space-between; padding: 8px 0; font-size: .86rem; color: var(--sw-muted); }
.sw-break > div strong { color: var(--sw-ink); font-weight: 600; }
.sw-break > div + div { border-top: 1px solid transparent; }
.sw-break .is-free { color: #12b76a !important; }
.sw-break .is-total { border-top: 1px solid var(--sw-line) !important; color: var(--sw-ink); font-weight: 700; }
.sw-break .is-total strong { font-weight: 700; }
.sw-label { font-size: .75rem; color: var(--sw-muted); font-weight: 600; margin-bottom: 6px; }
.sw-contacts { display: grid; gap: 6px; margin-bottom: 14px; }
.sw-contacts a { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--sw-line); border-radius: 10px; padding: 9px 12px; color: var(--sw-blue); font-weight: 600; font-size: .86rem; text-decoration: none; }
.sw-contacts a:hover { border-color: var(--sw-blue); }
.sw-note { font-size: .8rem; color: var(--sw-muted); }
.sw-assure { margin-top: auto; padding-top: 16px; font-size: .78rem; color: #98a2b3; margin-bottom: 0; }

/* method tiles */
.sw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.sw-grid-2 { grid-template-columns: repeat(2, 1fr); }
.sw-tile { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-align: center; min-height: 112px; padding: 14px 8px 12px; border: 1.5px solid var(--sw-line); border-radius: 14px; background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; color: var(--sw-ink); }
.sw-tile:hover { border-color: color-mix(in srgb, var(--pc) 45%, var(--sw-line)); transform: translateY(-1px); }
.sw-tile input { position: absolute; opacity: 0; pointer-events: none; }
.sw-tile:has(input:checked) { border-color: var(--sw-blue); box-shadow: 0 0 0 3px rgba(35, 70, 248, .12); }
.sw-tile:has(input:focus-visible) { outline: 2px solid var(--sw-blue); outline-offset: 2px; }
.sw-check { position: absolute; top: 8px; right: 8px; width: 20px; height: 20px; border-radius: 50%; background: var(--sw-blue); color: #fff; display: none; place-items: center; font-size: .7rem; }
.sw-tile:has(input:checked) .sw-check { display: grid; }
.sw-word { font-size: 1.55rem; font-weight: 700; color: var(--pc); line-height: 1.2; min-height: 40px; display: flex; align-items: center; gap: 4px; }
.sw-word .bi { font-size: 1rem; }
.sw-word-img img { max-height: 40px; max-width: 120px; object-fit: contain; }
.sw-tname { font-size: .9rem; font-weight: 700; }
.sw-tsub { font-size: .72rem; color: var(--sw-muted); }
.sw-pay { width: 100%; border: 0; border-radius: 12px; padding: 15px; background: var(--sw-blue); color: #fff; font-weight: 700; font-size: 1.05rem; box-shadow: 0 12px 24px -10px rgba(35, 70, 248, .55); transition: filter .15s; }
.sw-pay:hover { filter: brightness(1.07); }
.sw-terms { font-size: .76rem; color: var(--sw-muted); text-align: center; margin: 12px 0 8px; }
.sw-terms a { color: var(--sw-muted); }
.sw-badges { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 14px; font-size: .78rem; color: var(--sw-muted); margin-bottom: 10px; }
.sw-cancel { background: none; border: 0; color: var(--sw-muted); font-size: .85rem; font-weight: 600; padding: 4px 8px; }
.sw-cancel:hover { color: var(--sw-ink); text-decoration: underline; }
.sw-empty { text-align: center; padding: 50px 10px; color: var(--sw-muted); }
.sw-empty .bi { font-size: 2rem; display: block; margin-bottom: 8px; }

/* payment steps */
.sw-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-top: 4px solid var(--pc); border-bottom: 1px solid var(--sw-line); background: linear-gradient(90deg, color-mix(in srgb, var(--pc) 6%, #fff), #fff 60%); }
.sw-hlogo { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: color-mix(in srgb, var(--pc) 12%, #fff); color: var(--pc); font-weight: 700; overflow: hidden; flex: 0 0 auto; }
.sw-hlogo img { width: 100%; height: 100%; object-fit: contain; }
.sw-hname { font-weight: 700; line-height: 1.1; }
.sw-htype { font-size: .75rem; font-weight: 600; color: var(--pc); }
.sw-hmerchant { font-weight: 700; font-size: .85rem; text-transform: uppercase; }
.sw-hinv { font-size: .7rem; color: var(--sw-muted); }
.sw-step { display: flex; align-items: center; gap: 12px; background: var(--sw-soft); border: 1px solid var(--sw-line); border-radius: 14px; padding: 13px 14px; margin-bottom: 10px; }
.sw-step-body { flex: 1; min-width: 0; font-size: .92rem; }
.sw-step-body small { display: block; color: var(--sw-muted); font-size: .76rem; }
.sw-num { width: 24px; height: 24px; border-radius: 50%; background: var(--pc); color: #fff; display: grid; place-items: center; font-size: .72rem; font-weight: 700; flex: 0 0 auto; align-self: flex-start; margin-top: 2px; }
.sw-big { font-size: 1.25rem; font-weight: 700; word-break: break-all; }
.sw-ref { letter-spacing: .14em; }
.sw-hint { color: var(--sw-muted); font-size: .78rem; }
.sw-step-body .sw-hint { margin-top: 2px; }
.sw-copy { flex: 0 0 auto; border: 0; border-radius: 9px; background: var(--pc); color: #fff; font-weight: 700; font-size: .82rem; padding: 8px 14px; }
.sw-copy:hover { filter: brightness(1.08); }
.sw-instr { font-size: .84rem; color: var(--sw-muted); padding-left: 1.1rem; }
.sw-wait { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #eef2ff; border: 1px solid #d9e0ff; margin: 6px 0 8px; font-size: .9rem; }
.sw-wait.is-late { background: #fffaeb; border-color: #fedf89; font-weight: 500; }
.sw-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--sw-blue); flex: 0 0 auto; animation: sw-pulse 1.4s ease-in-out infinite; }
@keyframes sw-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(35, 70, 248, .45); } 50% { box-shadow: 0 0 0 6px rgba(35, 70, 248, 0); } }
.sw-btn-dark, .sw-btn-brand, .sw-btn-light { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 12px; padding: 13px 16px; font-weight: 700; text-decoration: none; transition: filter .15s; }
.sw-btn-dark { background: var(--sw-dark); color: #fff; padding: 15px; font-size: 1rem; }
.sw-btn-brand { background: var(--pc); color: #fff; box-shadow: 0 10px 20px -12px var(--pc); }
.sw-btn-light { background: #f1f3f8; color: var(--sw-ink); }
.sw-btn-dark:hover, .sw-btn-brand:hover { filter: brightness(1.1); color: #fff; }
.sw-btn-light:hover { background: #e7eaf2; color: var(--sw-ink); }
.sw-row { display: flex; gap: 12px; }
.sw-row > * { flex: 1; }
.sw-center { text-align: center; margin: 8px 0 14px; }
.sw-input { border-radius: 12px; border: 1.5px solid var(--sw-line); padding: 11px 14px; }
.sw-input:focus { border-color: var(--pc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pc) 15%, transparent); }
.sw-input-xl { font-size: 1.25rem; padding: 16px; border-color: color-mix(in srgb, var(--pc) 55%, var(--sw-line)); }
.sw-yournum { text-align: center; font-size: .8rem; color: var(--sw-muted); margin: 10px 0; }
.sw-yournum .mono { color: var(--sw-ink); font-weight: 600; }
.sw-trx { margin-top: 14px; font-size: .85rem; color: var(--sw-muted); }
.sw-trx summary { cursor: pointer; text-align: center; }
.sw-trx .sw-row > button { flex: 0 0 auto; }
.sw-formcard { border: 1px solid var(--sw-line); border-radius: 14px; padding: 14px; }
.sw-step-title { font-weight: 700; display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.sw-step-title .sw-num { align-self: center; margin-top: 0; }
.sw-result .checkout-card { border: 0; box-shadow: none; background: transparent; }
.sw-result .checkout-card > .card-body { padding: 18px 6px !important; }
.sw-foot { text-align: center; font-size: .8rem; color: var(--sw-muted); margin: 14px 0 0; }
.sw-foot a { color: var(--sw-muted); }
.sw-body .qr-box { width: 150px; height: 150px; }

@media (max-width: 760px) {
    .sw-wrap { padding: 0 0 20px; }
    .sw-card { grid-template-columns: 1fr; border-radius: 0 0 20px 20px; min-height: 0; }
    .sw-side { border-right: 0; border-bottom: 1px solid var(--sw-line); padding: 18px 16px; }
    .sw-merchant { margin-bottom: 14px; }
    .sw-amount { font-size: 1.7rem; }
    .sw-contacts { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
    .sw-assure, .sw-note { display: none; }
    .sw-pad { padding: 16px; }
    .sw-grid { grid-template-columns: repeat(2, 1fr); }
    .sw-head { padding: 12px 16px; }
    .sw-foot { padding: 0 16px; }
}
