/* Employee: ride-hailing style request page. Scoped to body.ride so other roles are untouched. */
body.ride{--ride-ink:#0f2742;--ride-acc:#1a73e8;--ride-gold:#ffb43a}
body.ride .ride-card{padding:20px;border-radius:28px;background:var(--surface);box-shadow:0 18px 40px #0f27421a}
body.ride .ride-card h2{font-size:26px;margin:0 0 4px}body.ride .ride-card h2+p{margin:0 0 16px;font-size:14px;color:var(--muted)}
body.ride #trip-form{display:grid;gap:14px}
.ride-route{position:relative;display:grid!important;grid-template-columns:1fr!important;gap:0!important;padding:4px 16px;border-radius:20px;background:var(--soft)}
.ride-route label{position:relative;display:grid;gap:0;padding:8px 30px 8px 48px;font-size:12px;color:var(--muted)}
.ride-route label select{min-height:44px;border:0;background:transparent;font-size:17px;font-weight:700;padding:0;color:inherit;box-shadow:none}
.ride-route label:before{content:'';position:absolute;right:2px;top:50%;width:14px;height:14px;margin-top:-7px;border-radius:50%;background:var(--ride-acc);box-shadow:0 0 0 4px #1a73e833}
.ride-route label.to:before{border-radius:4px;background:var(--ride-ink);box-shadow:0 0 0 4px #0f274226}
.ride-route label.from{border-bottom:1px solid var(--line)}
.ride-route label.from:after{content:'';position:absolute;right:8px;top:calc(50% + 12px);bottom:-16px;border-right:2px dotted #8aa0b8}
.ride-swap{position:absolute;left:10px;top:50%;transform:translateY(-50%);width:44px;height:44px;min-height:44px!important;padding:0!important;border-radius:50%!important;background:var(--surface)!important;color:var(--ride-acc)!important;border:1px solid var(--line)!important;font-size:20px;box-shadow:0 4px 12px #0f274214}
.ride-when{display:flex;gap:8px;flex-wrap:wrap}
.ride-when .chip{min-height:44px;padding:8px 16px;border-radius:999px;border:1px solid var(--line);background:var(--surface);color:inherit;font-size:14px;font-weight:600}
.ride-when .chip[aria-pressed=true]{background:var(--ride-ink)!important;color:#fff!important;border-color:var(--ride-ink)}
.ride-pax{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-radius:18px;border:1px solid var(--line)}
.ride-pax b{display:block;font-size:15px}.ride-pax small{font-size:12px;color:var(--muted)}
.ride-pax .stepper{display:flex;align-items:center;gap:6px}.ride-pax .stepper button{width:44px;height:44px;min-height:44px;padding:0;border-radius:50%;font-size:22px;background:var(--soft)!important;color:var(--ride-ink)!important;border:0}.ride-pax output{min-width:32px;text-align:center;font-size:20px;font-weight:800}
body.ride #trip-details{margin:0}body.ride #trip-details summary{padding:6px 2px}
body.ride #trip-form input,body.ride #trip-form select{min-height:50px;border-radius:14px}
body.ride .ride-cta{width:100%;min-height:60px!important;border:0;border-radius:18px;font-size:19px;font-weight:800;color:#fff!important;background:linear-gradient(135deg,#1a73e8,#0f4fd0)!important;box-shadow:0 12px 26px #1a73e84d}
body.ride #trip-form #draft{display:none}
body.ride #trip-form small{text-align:center;font-size:12px;color:var(--muted)}
/* Live status card */
body.ride #active-trip-info{order:-1;padding:0;background:transparent;margin:0 0 16px}
body.ride #active-trip-info.ride-status{padding:20px;border-radius:26px;color:#fff;background:radial-gradient(120% 90% at 0% 100%,#2a4f7d 0,transparent 55%),linear-gradient(160deg,#173a63,#0f2742);box-shadow:0 18px 40px #0f274233}
.ride-live{display:flex;align-items:center;gap:10px;font-size:19px}.ride-live .pulse{width:12px;height:12px;border-radius:50%;background:#46d38a;box-shadow:0 0 0 0 #46d38a99;animation:ride-pulse 1.8s infinite}
@keyframes ride-pulse{70%{box-shadow:0 0 0 12px #46d38a00}100%{box-shadow:0 0 0 0 #46d38a00}}
.ride-sub{margin:6px 0 12px;font-size:14px;color:#c9d8ea}
.ride-path{display:flex;align-items:center;gap:8px;padding:12px 14px;border-radius:16px;background:#ffffff14;font-size:16px;font-weight:700}.ride-path .icon{width:22px;height:22px;color:var(--ride-gold);flex:none}
.ride-steps{list-style:none;display:grid;grid-template-columns:repeat(4,1fr);gap:4px;margin:14px 0 4px;padding:0}.ride-steps li{display:flex;flex-direction:column;align-items:center;gap:6px;font-size:12px;color:#a9bfd8}.ride-steps li span{width:100%;height:6px;border-radius:6px;background:#ffffff26}.ride-steps li.done span{background:#46d38a}.ride-steps li.now span{background:var(--ride-gold)}.ride-steps li.now{color:#fff;font-weight:700}
.ride-link{display:inline-flex;align-items:center;min-height:44px;color:var(--ride-gold);font-size:14px;margin:0!important}
.ride-none{margin:0;padding:12px 4px;font-size:14px;color:var(--muted)}
/* Shift services as cards */
body.ride #trips .item,body.ride #reservations .item{padding:16px 18px;border-radius:22px;border:1px solid var(--line);background:var(--surface);box-shadow:0 6px 18px #0f274210;margin-bottom:12px}
body.ride #trips .item h3{font-size:18px}body.ride #trips .item .actions button:not(.quiet),body.ride #reservations .item .actions button:not(.quiet){min-height:48px;border-radius:999px;padding:8px 20px;font-weight:700;background:var(--ride-acc)!important;color:#fff!important;border:0}
@media(min-width:900px){body.ride .ride-card{max-width:560px}body.ride #active-trip-info{max-width:560px}}
@media(prefers-reduced-motion:reduce){.ride-live .pulse{animation:none}}
