
/* VIPS RIDE large journey map: separate from the narrow summary sidebar. */
.route-map-panel{background:#fff;border:1px solid #dfe7f3;border-radius:24px;padding:clamp(18px,2.8vw,34px);box-shadow:0 14px 38px #263b6814;margin:2px 0 30px}
.route-map-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
.route-map-heading h2{font-size:clamp(23px,2.7vw,34px);line-height:1.2;margin:7px 0}
.route-map-heading p{color:#6c7f99;font-size:13px;margin:0 0 14px}
.route-directions{background:#f0ebfb;border:1px solid #d9c9f4;border-radius:12px;padding:11px 15px;font-weight:850;font-size:12px;white-space:nowrap}
.route-map-toolbar{display:flex;align-items:end;gap:12px;flex-wrap:wrap;padding:8px 0 16px}
.route-stop-list{display:flex;flex:1 1 460px;gap:12px;flex-wrap:wrap}
.route-stop-row{flex:1 1 200px;display:flex;align-items:end;gap:7px;min-width:180px}
.route-stop-field{display:grid;gap:5px;flex:1;font-size:12px;font-weight:800;color:#425574}
.route-stop-field input{width:100%;min-height:45px;border:1px solid #cdd7e9;border-radius:11px;background:#fafbff;padding:10px 12px;color:#213759}
.route-stop-remove{border:1px solid #e3d9ef;border-radius:11px;background:#fff;color:#7352a5;min-width:42px;min-height:45px;font-weight:900}
.route-map-canvas{height:clamp(370px,43vw,570px);width:100%;background:#e9eff5;border:1px solid #dae3ef;border-radius:18px;overflow:hidden;z-index:0}
.route-map-status{margin:11px 0 4px;font-weight:750;color:#4b6180;font-size:12px}
.route-map-disclaimer{color:#8290a6;font-size:11px;line-height:1.6;margin:3px 0 0}
.route-pin{display:grid;place-items:center;width:36px;height:36px;background:linear-gradient(135deg,#ff7548,#8056d5);border:3px solid #fff;border-radius:50%;box-shadow:0 4px 12px #2b305c5e;color:#fff;font-size:15px;font-weight:950}
.route-pin-container{background:none;border:0}
@media(max-width:700px){.route-map-canvas{height:380px}.route-map-panel{padding:16px}.route-map-toolbar{align-items:stretch}.route-map-toolbar>.btn{width:100%}}

/* Keep journey map visible beside the address entry, instead of below the booking form. */
@media(min-width:791px){
  .booking-layout{grid-template-columns:minmax(0,1fr) minmax(360px,440px);gap:22px}
  .book-sidebar{align-self:start;position:sticky;top:12px;max-height:calc(100vh - 24px);overflow-y:auto;overscroll-behavior:contain;padding-right:4px}
  .book-sidebar .route-map-panel{margin:0;padding:17px;border-radius:19px}
  .book-sidebar .route-map-heading h2{font-size:21px}
  .book-sidebar .route-map-canvas{height:clamp(300px,39vh,460px);min-height:300px}
  .book-sidebar .route-stop-row{flex-basis:150px;min-width:130px}
}
@media(min-width:791px) and (max-width:1100px){
  .booking-layout{grid-template-columns:minmax(0,1fr) minmax(300px,35%);gap:15px}
}
@media(max-width:790px){
  .book-sidebar{position:static;display:grid;grid-template-columns:1fr;gap:15px}
  .book-sidebar .route-map-panel{margin:0;padding:16px}
  .book-sidebar .route-map-canvas{height:360px}
}

/* VIPS RIDE: additional stop controls belong directly below the booking address fields */
.booking-stops-form{grid-column:1/-1;display:grid;grid-template-columns:1fr auto;gap:10px 15px;align-items:center;margin:0;padding:14px 16px;background:#faf7ff;border:1px solid #e6dcf6;border-radius:14px}
.booking-stops-title{display:grid;gap:3px;grid-column:1}
.booking-stops-title strong{color:#304363;font-size:13px}
.booking-stops-title small{font-size:11px;color:#6e7e98;line-height:1.5}
.booking-stops-form>.btn{grid-column:2;grid-row:1;white-space:nowrap;align-self:center}
.booking-stops-form .route-stop-list{grid-column:1/-1;flex:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.booking-stops-form .route-stop-row{flex:none;min-width:0;width:100%}
.booking-stops-form .route-stop-field{min-width:0}
@media(max-width:550px){.booking-stops-form{grid-template-columns:1fr}.booking-stops-form>.btn{grid-column:1;grid-row:auto;width:100%}.booking-stops-form .route-stop-list{grid-template-columns:1fr}}

/* VIPS Ride wide booking work area: use screen width, give map a larger viewport. */
@media(min-width:791px){
 .book-wide-shell{width:100%;max-width:none;padding-left:clamp(16px,1.55vw,34px);padding-right:clamp(16px,1.55vw,34px)}
 .book-wide-shell .booking-layout{grid-template-columns:minmax(0,1.68fr) minmax(355px,.95fr);gap:clamp(18px,1.7vw,30px)}
 .book-wide-shell .book-sidebar{min-width:0;max-height:calc(100vh - 24px);overflow-y:auto}
 .book-wide-shell .route-map-panel{padding:clamp(16px,1.5vw,24px)}
 .book-wide-shell .route-map-canvas{height:clamp(420px,48vh,620px)}
}
@media(min-width:791px) and (max-width:1000px){
 .book-wide-shell .booking-layout{grid-template-columns:minmax(0,1.5fr) minmax(310px,1fr);gap:16px}
 .book-wide-shell .route-map-canvas{height:400px}
}
@media(max-width:790px){
 .book-wide-shell{width:100%;max-width:none;padding:0 16px}
 .book-wide-shell .booking-layout{grid-template-columns:minmax(0,1fr)}
 .book-wide-shell .route-map-canvas{height:380px}
}
