/* ARRIVE – components for the pages connected to the backend (loaded after style.css / pay.css) */
.pay-main .panel-w+.panel-w,.pay-main form.panel-w+section.panel-w,.pay-main section.panel-w+form.panel-w{margin-top:22px}
aside .panel-w+.panel-w{margin-top:22px}
.sticky{position:sticky;top:90px}
.note.light{color:#94a3b8}.note.warn{color:#7a5a00;background:#fff7e0;padding:8px 10px;border-radius:8px}
.link-btn{border:0;background:none;color:var(--blue);font:inherit;font-size:inherit;cursor:pointer;padding:0;text-decoration:underline}
.link-btn.danger{color:#c62c31}
.chip{display:inline-block;padding:2px 10px;border-radius:12px;background:#eef2ff;color:#4338ca;font-size:12px;font-style:normal;font-weight:500}
.check{display:flex;gap:8px;align-items:flex-start;font-size:13px;color:#475569;margin:2px 0 12px;cursor:pointer}.check input{margin-top:4px;accent-color:var(--blue)}

/* trip form */
.place-row{display:grid;grid-template-columns:1fr auto 1fr;gap:10px;align-items:end}
.place-row .fld{margin-bottom:14px}
.with-btn{display:flex;gap:6px;margin-top:6px}.with-btn input{margin-top:0!important}
.mini{flex:0 0 46px;height:46px;border:1px solid #e2e8f0;border-radius:10px;background:#fff;font-size:18px;cursor:pointer}.mini:hover{background:#eef2ff}
.swap{height:46px;width:46px;margin-bottom:14px;border:1px solid #e2e8f0;border-radius:50%;background:#fff;font-size:18px;cursor:pointer;color:var(--blue)}
.pay.loading::before{content:"";width:15px;height:15px;margin-right:8px;border:2px solid rgba(255,255,255,.5);border-top-color:#fff;border-radius:50%;animation:spin .7s linear infinite}

/* route options */
.options{display:flex;flex-direction:column;gap:12px}
.option{position:relative;display:block;padding:16px 16px 14px 46px;border:1.5px solid #e2e8f0;border-radius:12px;background:#fff;cursor:pointer;transition:border-color .2s,box-shadow .2s}
.option:hover{border-color:#a5b4fc}
.option.on{border-color:var(--blue);box-shadow:0 0 0 3px rgba(47,128,255,.15)}
.option.disabled{opacity:.6;cursor:not-allowed}
.option input{position:absolute;left:16px;top:20px;accent-color:var(--blue);width:18px;height:18px}
.opt-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 14px}
.opt-price{font-size:20px;color:#0f172a}.opt-meta{font-size:13px;color:#64748b}
.opt-badges{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 4px}
.opt-legs{list-style:none;margin:8px 0 0;padding:0;display:flex;flex-direction:column;gap:6px}
.opt-legs li{display:grid;grid-template-columns:auto 1fr;gap:0 10px;font-size:13.5px;padding:7px 10px;border-radius:8px;background:#ffffff}
.opt-legs .leg-mode{font-weight:600;grid-row:span 2;align-self:center}
.opt-legs .leg-line{font-size:12px;color:#64748b}
.opt-legs .leg-stops{grid-column:2;font-weight:500}
.opt-legs small{grid-column:2;color:#64748b;font-size:12px}
.opt-why{margin-top:8px;font-size:12.5px;color:#475569;background:#f0ecff;border-radius:8px;padding:7px 10px}
.methods.four{grid-template-columns:repeat(2,1fr)}
.method .mtxt{display:flex;flex-direction:column;line-height:1.25}.method .mtxt small{font-size:12px;color:#64748b;font-weight:400}
.method[hidden]{display:none}
.sum-legs{margin:8px 0 6px 18px;font-size:13px;color:#475569}

/* tickets */
.sec-title{font-size:18px;font-weight:600;margin:6px 0 14px}
.pending-list{display:flex;flex-direction:column;gap:10px;margin-bottom:28px}
.pending{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:14px 18px;border-radius:12px;background:#fff7e0;color:#4f3b00}
.pending .acts{display:flex;gap:8px}
.tlegs{list-style:none;margin:10px 0;padding:0;text-align:left;font-size:13px}
.tlegs li{display:flex;justify-content:space-between;gap:8px;padding:6px 10px;border-radius:8px;background:#ffffff;margin-bottom:4px}
.tlegs li small{color:#64748b}.tlegs .leg-done{opacity:.6}.tlegs .leg-inside{background:#dff5e6}
.badge.soon{background:#eef2ff;color:#4338ca}
.ticket canvas[hidden]{display:none}
.review{margin-top:14px;padding-top:12px;border-top:1px dashed #e2e8f0;display:flex;flex-direction:column;gap:8px;align-items:center}
.review input{width:100%;height:38px;padding:0 12px;border:1px solid #e2e8f0;border-radius:8px;font:inherit;font-size:13px}
.stars{display:flex;gap:2px}.stars button{border:0;background:none;font-size:26px;color:#f5a524;cursor:pointer;line-height:1}
.stars.done{font-size:22px;color:#f5a524;letter-spacing:2px}

/* wallet */
.balance-card{background:linear-gradient(135deg,#6366f1,#8b5cf6)!important;color:#fff!important;display:flex;flex-direction:column;gap:2px}
.balance-card span{opacity:.85;font-size:14px}.balance-card b{font-size:38px;font-weight:600;line-height:1.2}.balance-card small{opacity:.8}
.presets{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:14px}
.presets button{height:40px;border:1.5px solid #e2e8f0;border-radius:10px;background:#fff;font:inherit;font-size:13px;cursor:pointer}.presets button:hover{border-color:var(--blue);color:var(--blue)}
.methods-list,.tx-list{list-style:none;margin:0;padding:0}
.methods-list li{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #e2e8f0;font-size:14px}
.methods-list .acts{display:flex;gap:10px;align-items:center;font-size:13px}
.tx-list li{display:grid;grid-template-columns:1fr auto;gap:0 10px;padding:9px 0;border-bottom:1px solid #e2e8f0;font-size:14px}
.tx-list small{grid-column:1;color:#64748b;font-size:12px}.tx-list b{grid-row:1/span 2;grid-column:2;align-self:center}
.tx-list .plus{color:#1d6b3a}.tx-list .minus{color:#b42323}

/* gate */
.gate-opts{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.seg{display:flex;border:1.5px solid #e2e8f0;border-radius:10px;overflow:hidden;margin-top:6px}
.seg label{flex:1;text-align:center;padding:10px;cursor:pointer;font-weight:500;background:#fff}
.seg input{display:none}.seg label:has(input:checked){background:var(--blue);color:#fff}

@media(max-width:620px){.place-row{grid-template-columns:1fr}.swap{justify-self:center;margin:0 0 6px}.presets{grid-template-columns:repeat(2,1fr)}.gate-opts{grid-template-columns:1fr}}
@media(max-width:900px){.sticky{position:static}}

/* dashboard panels */
.dash-note{font-size:13px;color:#64748b;margin:6px 0}
a.dep{text-decoration:none;color:inherit;border-radius:8px}a.dep:hover{background:#ffffff}
.fav{display:flex;align-items:center;gap:6px;margin:6px 0}
.fav-go{flex:1;display:flex;flex-direction:column;align-items:flex-start;padding:8px 10px;border:1px solid #e2e8f0;border-radius:10px;background:#fff;cursor:pointer;font:inherit;text-align:left}
.fav-go:hover{border-color:#6366f1}.fav-go b{font-size:13px}.fav-go span{font-size:12px;color:#64748b}
.fav-rm{width:28px;height:28px;border:0;border-radius:8px;background:#fdecec;color:#b42323;cursor:pointer;font-size:16px}
.fav-form{display:grid;grid-template-columns:1fr 1fr 36px;gap:6px;margin-top:10px}
.fav-form input{height:36px;padding:0 10px;border:1px solid #e2e8f0;border-radius:8px;font:inherit;font-size:12.5px;min-width:0}
.fav-form button{border:0;border-radius:8px;background:#6366f1;color:#fff;font-size:18px;cursor:pointer}

/* station dropdown search (service popups) */
.dd-list .dd-filter{position:sticky;top:0;padding:6px;background:#fff;cursor:default}
.dd-list .dd-filter input{width:100%;height:36px;padding:0 10px;border:1px solid #e2e8f0;border-radius:8px;font:inherit;font-size:13px}
.dd-list .dd-empty{padding:10px;color:#64748b;cursor:default}
.mm-buy.alt{background:#fff!important;color:#6366f1!important;border:1px solid #6366f1}

/* onboarding (mandatory profile) */
.onb{max-width:720px}
.steps-bar{display:flex;gap:10px;list-style:none;margin:0 0 20px;padding:0}
.steps-bar li{flex:1;display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:12px;background:rgba(255,255,255,.07);color:#94a3b8;font-weight:500;border:1px solid rgba(255,255,255,.1)}
.steps-bar li b{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.12);font-size:13px}
.steps-bar li.on{background:#6366f1;color:#fff;border-color:#6366f1}.steps-bar li.on b{background:#fff;color:#6366f1}
.steps-bar li.done b{background:#1fa971;color:#fff}
.age-box{height:46px;margin-top:6px;display:flex;align-items:center;padding:0 14px;border-radius:10px;background:#eef2ff;color:#4338ca;font-weight:600}
html[data-theme=dark] .age-box{background:#312e81;color:#c7d2fe}
.panel-w h2 i{color:#6366f1;margin-inline-end:6px}
.row-btns{display:flex;gap:10px;margin-top:6px}.row-btns .pay{flex:1;margin-top:0}.row-btns .btn.alt{height:50px}
.note i{margin-inline-end:4px}

/* loyalty points */
.loyalty-card{display:flex;flex-direction:column;gap:8px}
.loyalty-card .pts{display:flex;align-items:baseline;gap:8px}.loyalty-card .pts b{font-size:32px;line-height:1;color:#0f172a}
html[data-theme=dark] .loyalty-card .pts b{color:#f8fafc}
.bar{height:10px;border-radius:6px;background:#e2e8f0;overflow:hidden}.bar i{display:block;height:100%;background:linear-gradient(90deg,#f5a524,#ff7a45);border-radius:6px;transition:width .6s}
html[data-theme=dark] .bar{background:#273449}
.act .pts-line{display:block;color:#f5a524;font-weight:600;font-size:12px}
