[hidden]{display:none!important}
.live-dot{background:#38cfac!important;box-shadow:0 0 8px #38cfac}
.quote-error{min-height:16px;margin:0 0 8px;color:#c24545;font-size:11px}
.quote-error:empty{display:none}
.exchange-button:disabled{opacity:.55;cursor:not-allowed;filter:none;transform:none}
.empty-note{color:#7e899b;font-size:13px}
.route-rate strong{font-size:14px;letter-spacing:-.2px}
.method-item{width:100%;border:1px solid #edf0f5;cursor:pointer;text-align:start;font:inherit;color:inherit}
.method-item:hover{border-color:#c9d8f5}
.reserve-value{font-weight:700;color:#24344d;white-space:nowrap}
.footer-demo a:hover{color:#3474f6}

.order-page{background:#f5f7fb;padding:34px max(7.2%,calc((100% - 1040px)/2)) 70px;min-height:calc(100vh - 160px)}
.order-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);gap:22px;align-items:start}
.order-card,.summary-card,.pay-card{background:#fff;border:1px solid #e7edf5;border-radius:16px;box-shadow:0 16px 40px #13213b0c}
.order-card{padding:24px}
.summary-card,.pay-card{padding:22px}
.back-link{display:inline-block;margin-bottom:16px;color:#3d74e0;font-size:12px;font-weight:700}
.order-card h1,.status-head h1{font:800 28px/1.2 var(--head);letter-spacing:-.8px;margin:6px 0 4px}
.muted{color:#748096;font-size:13px}
.stack{display:flex;flex-direction:column;gap:8px;margin-top:14px}
.stack label,.check-row{font-size:12px;font-weight:700;color:#314158}
.stack input,.stack textarea,.inline-field input{width:100%;border:1px solid #e1e7f0;border-radius:9px;padding:12px 13px;font:600 14px var(--font);color:#1d2b43;background:#fff}
.stack textarea{min-height:78px;resize:vertical;font-weight:500}
.stack input:focus,.stack textarea:focus,.inline-field input:focus{outline:0;border-color:#8bb2ff;box-shadow:0 0 0 3px #3474f611}
.check-row{display:flex;gap:8px;align-items:flex-start;font-weight:500;margin:12px 0}
.check-row input{margin-top:2px}
.summary-row{display:flex;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid #eef2f7;font-size:13px}
.summary-row b{text-align:end}
.steps{margin:14px 0 0;padding-inline-start:18px;color:#5d6b82;font-size:13px}
.steps li{margin:6px 0}
.form-error{color:#c24545;font-size:13px;min-height:18px}
.status-layout{display:grid;gap:18px}
.status-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}
.pill{display:inline-flex;align-items:center;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:700;background:#eef3fb;color:#31527a}
.pill.awaiting_payment{background:#fff6e4;color:#9a6a12}
.pill.customer_paid,.pill.processing{background:#e8f0ff;color:#2457c5}
.pill.completed{background:#e5f8f1;color:#0e7a52}
.pill.cancelled,.pill.expired{background:#f3f4f6;color:#667085}
.id-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.id-row code{font:700 18px/1 var(--head);letter-spacing:.4px}
.copy-button,.ghost-button{border:1px solid #dbe3ef;background:#fff;border-radius:8px;padding:8px 12px;font:700 12px var(--font);color:#24406d;cursor:pointer}
.copy-button:hover,.ghost-button:hover{border-color:#b9cbf0}
.pay-details{white-space:pre-wrap;background:#f6f8fb;border-radius:10px;padding:12px 14px;font:500 13px/1.6 var(--font);color:#1d2b43}
.timer{font-weight:700;color:#9a6a12}
.pair{display:flex;gap:10px;align-items:center}
.pair img{width:28px;height:28px;border-radius:50%;object-fit:contain;background:#fff}
.track-box{display:flex;gap:8px;margin-bottom:16px}
.track-box input{flex:1;border:1px solid #e1e7f0;border-radius:9px;padding:11px 12px;font:600 14px var(--font)}
.timeline{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
.timeline span{font-size:11px;font-weight:700;color:#8b97a8}
.timeline span.on{color:#1f6b45}

.header-end{display:flex;align-items:center;gap:16px}
.lang-switch{border:1px solid #d7deea;background:#fff;color:#172542;border-radius:7px;padding:8px 12px;font-weight:700;cursor:pointer;font-size:13px;line-height:1}
.lang-switch:hover{border-color:#3474f6;color:#3474f6}
.route-inline{display:inline-flex;align-items:center;gap:6px}
html[dir=rtl] .brand{font-family:'Manrope',Arial,sans-serif}
html[dir=rtl] h1,html[dir=rtl] h2,html[dir=rtl] .hero h1{letter-spacing:0}
html[dir=rtl] .reserve-value,html[dir=rtl] .route-badge{margin-left:0;margin-right:auto}
html[dir=rtl] .currency-select:after{right:auto;left:0}
html[dir=rtl] .currency-select select{padding-right:0;padding-left:12px}
html[dir=rtl] .nav-login span{margin-left:0;margin-right:10px}
html[dir=rtl] .amount-box input,html[dir=rtl] .amount-box output,html[dir=rtl] #order-amount{direction:ltr;text-align:right}
html[dir=rtl] .route-arrow,html[dir=rtl] .dir-arrow{display:inline-block;transform:scaleX(-1)}
html[dir=rtl] code{direction:ltr;unicode-bidi:isolate;font-family:'Manrope',Arial,sans-serif}
html[dir=rtl] .orbit-one{right:auto;left:21%}
html[dir=rtl] .orbit-two{right:auto;left:13%}
@media(max-width:700px){html[dir=rtl] .hero-orbit{right:auto;left:-35%}}

@media(max-width:800px){
  .order-page{padding:22px 16px 48px}
  .order-layout,.status-head{grid-template-columns:1fr;display:grid}
  .status-head{display:flex;flex-direction:column}
  .order-card h1{font-size:24px}
}

/* Logical spacing follows the selected reading direction. */
.hero{grid-template-columns:minmax(0,1fr) minmax(0,470px)}
.hero-copy,.exchange-card,.methods-copy,.method-grid,.route-card,.reserve-item{min-width:0}
.live-tag>span:not(:first-child){width:auto;height:auto;background:none;border-radius:0;box-shadow:none}
.demo-chip>span:not(.live-dot){width:auto;height:auto;background:none;white-space:nowrap}
.route-card{background:#fff}
.hero-points{flex-wrap:wrap;gap:12px 24px}
.hero-points b{margin:0;margin-inline-end:6px}
.currency-select{min-width:0;max-width:60%;grid-template-columns:24px minmax(0,1fr)}
.currency-select select{width:100%;padding-inline:0 16px}
.amount-box input,.amount-box output{direction:ltr;unicode-bidi:isolate;font-variant-numeric:tabular-nums}
.amount-box{gap:10px;padding-inline:14px}
.rate-line{height:auto;min-height:38px;padding-block:8px;align-items:center}
.rate-dot,.info-button{flex:none}
.rate-line #rate-text{overflow-wrap:anywhere}
.exchange-button{height:auto;min-height:47px;padding:10px 12px}
.exchange-button span{font-size:inherit;margin:0}
.exchange-button .dir-arrow{margin-inline-start:8px}
.route-badge,.method-check,.reserve-value{margin:0;margin-inline-start:auto}
.simple-link span{padding:0}.simple-link .dir-arrow{margin-inline-start:10px}
.reserve-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.reserve-item{flex-wrap:wrap;border:0;border-inline-end:1px solid var(--line);border-bottom:1px solid var(--line);gap:10px}
.reserve-item:last-child{border:0}
.reserve-item b{overflow-wrap:anywhere}
.reserve-value{max-width:100%;font-variant-numeric:tabular-nums}
.track-box input{min-width:0}
.route-inline{flex-wrap:wrap;justify-content:flex-end}
.summary-row>*{min-width:0}
.toast{max-width:calc(100% - 32px);width:max-content;text-align:center}
.footer-brand{direction:ltr}

/* A neutral canvas keeps the blue accent concentrated around the calculator. */
.hero{
  --hero-accent-x:80%;
  --hero-accent-y:50%;
  min-height:0;
  padding-block:64px;
  background:radial-gradient(ellipse 420px 380px at var(--hero-accent-x) var(--hero-accent-y),#e7efff 0%,#f1f6ff80 65%,transparent 100%),#fcfdff;
  color:#17243b;
  border-block:1px solid #e9edf6;
}
html[dir=rtl] .hero{--hero-accent-x:20%}
.hero::before{background:none}
.hero-glow,.hero-orbit{display:none}
.hero h1{color:#17243b}
.hero h1 em{color:#3474f6}
.hero-copy>p{color:#5d6b83}
.hero .live-tag{color:#60708d}
.hero .live-tag>span:first-child{background:#21b799;box-shadow:0 0 0 4px #21b79912}
.hero .hero-points{color:#5d6b83}
.hero-points b{color:#3474f6}
.hero #calculator{box-shadow:0 24px 64px #254e9012,0 4px 16px #254e9008}
[data-theme=dark] .hero{background:radial-gradient(ellipse at var(--hero-accent-x) 42%,#32375355,transparent 60%),#111c2d;border-color:#26344a;color:#e4eaf5}
[data-theme=dark] .hero::before{background:none}
[data-theme=dark] .hero h1{color:#edf2fb}
[data-theme=dark] .hero h1 em{color:#aaa6ff}
[data-theme=dark] .hero-copy>p,[data-theme=dark] .hero .live-tag,[data-theme=dark] .hero .hero-points{color:#abb8cf}
[data-theme=dark] .hero-points b{color:#aaa6ff}
[data-theme=dark] .hero #calculator{box-shadow:0 18px 60px #0003}
@media(max-width:1000px){.hero{grid-template-columns:minmax(0,1fr) minmax(0,430px);gap:4%}.reserve-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.hero{grid-template-columns:1fr;gap:32px}.hero-copy{max-width:600px}.exchange-card{max-width:530px;width:100%;margin-inline:auto}}
@media(max-width:800px){html[dir] .hero{--hero-accent-x:50%;--hero-accent-y:76%}}
@media(max-width:700px){.reserve-grid{grid-template-columns:1fr}.footer-copy{margin:0;margin-inline-start:auto}.hero{padding-block:44px}.hero-points{gap:8px 20px}.method-item{height:auto;min-height:72px;padding:12px}.route-name{gap:12px}.route-name>*{min-width:0}.trust-strip{gap:0}}
@media(max-width:390px){.currency-select select{max-width:100%}.amount-box{padding-inline:8px;gap:6px}.exchange-card{padding:20px 14px}.footer-copy{margin:0}.method-grid{grid-template-columns:1fr}}
