/* Phase 1 follow-up: compact above-the-fold journey + guided focus.
   No markup or business-rule changes. */
.cwd-p1.cwd-p1-conversion header.cwd-p1-hero {
  padding-top: 14px;
  padding-bottom: 50px;
}
.cwd-p1.cwd-p1-conversion header.cwd-p1-hero > div > span:first-child { margin-bottom: 6px; }
.cwd-p1.cwd-p1-conversion header.cwd-p1-hero > div > h1 { line-height:1.2;margin-bottom:5px; }
.cwd-p1.cwd-p1-conversion header.cwd-p1-hero > div > p { margin-bottom:10px; }
.cwd-p1.cwd-p1-conversion #with-driver-block { padding-top:10px;padding-bottom:11px; }
.cwd-p1.cwd-p1-conversion #with-driver-block .mb-6 { margin-bottom:9px; }
.cwd-p1.cwd-p1-conversion #with-driver-block .space-y-4 { row-gap:8px; }
.cwd-p1.cwd-p1-conversion #wd-outstation-fields > .grid,
.cwd-p1.cwd-p1-conversion #wd-local-fields > .grid { gap:9px; }
.cwd-p1.cwd-p1-conversion #wd-outstation-fields > .pt-2 { padding-top:7px;margin-top:0; }
.cwd-p1.cwd-p1-conversion #wd-outstation-fields .booking-datetime { gap:5px; }
.cwd-p1.cwd-p1-conversion #booking-widget .mt-2 { margin-top:5px; }
.cwd-p1.cwd-p1-conversion #booking-widget #wd-out-route-status:empty { display:none!important; }
.cwd-p1.cwd-p1-conversion #booking-widget input:focus-visible,
.cwd-p1.cwd-p1-conversion #booking-widget select:focus-visible {
  outline:2px solid #237fb8; outline-offset:1px;
}
@media(max-width:700px) {
  .cwd-p1.cwd-p1-conversion header.cwd-p1-hero { padding:10px 8px 44px; }
  .cwd-p1.cwd-p1-conversion[data-page="home"] header.cwd-p1-hero > div > span:first-child {display:none;}
  .cwd-p1.cwd-p1-conversion[data-page="home"] header.cwd-p1-hero > div > p {display:none;}
  .cwd-p1.cwd-p1-conversion header.cwd-p1-hero > div > h1 {font-size:17px;line-height:1.25;margin-bottom:9px;}
  .cwd-p1.cwd-p1-conversion #booking-widget #with-driver-block {padding:9px 9px 10px;}
  .cwd-p1.cwd-p1-conversion #booking-widget #with-driver-block .mb-6 {margin-bottom:8px;}
  .cwd-p1.cwd-p1-conversion #booking-widget #with-driver-block .space-y-4 {row-gap:6px;}
  .cwd-p1.cwd-p1-conversion #booking-widget #with-driver-block label:not(.sr-only) {font-size:12px;line-height:1.25;margin-bottom:4px;}
  .cwd-p1.cwd-p1-conversion #booking-widget #with-driver-block input,
  .cwd-p1.cwd-p1-conversion #booking-widget #with-driver-block select {min-height:44px;}
  .cwd-p1.cwd-p1-conversion #booking-widget #with-driver-block .booking-datetime {row-gap:4px;}
  .cwd-p1.cwd-p1-conversion #wd-outstation-fields > .grid,
  .cwd-p1.cwd-p1-conversion #wd-local-fields > .grid,
  .cwd-p1.cwd-p1-conversion #airport-dynamic-form .grid.grid-cols-1 {gap:7px;}
  .cwd-p1.cwd-p1-conversion #booking-widget #wd-outstation-fields > .grid:first-of-type .location-entry > p.text-slate-500 {display:none;}
  .cwd-p1.cwd-p1-conversion #booking-widget #wd-outstation-fields > .grid .bg-slate-50.p-3 {padding:7px;}
  .cwd-p1.cwd-p1-conversion #booking-widget #wd-out-trip-type-fieldset {padding:0;}
  .cwd-p1.cwd-p1-conversion #booking-widget #wd-out-trip-type-fieldset button {padding-top:7px;padding-bottom:7px;}
  .cwd-p1.cwd-p1-conversion #booking-widget #with-driver-block .mt-6 {margin-top:8px;}
  .cwd-p1.cwd-p1-conversion #booking-widget .cwd-p1-mode-heading {margin-bottom:6px;}
  .cwd-p1.cwd-p1-conversion .cwd-p1-trust {margin-top:8px;gap:5px 13px;font-size:10px;}
  .cwd-p1.cwd-p1-conversion #with-driver-block > .mt-6 {position:fixed;left:8px;right:8px;bottom:var(--cwd-keyboard-offset,0px);background:#fff;padding:8px;border-radius:14px;box-shadow:0 -3px 18px #102c5120;z-index:48;}
  .cwd-p1.cwd-p1-conversion #explore-cabs-button {width:100%;min-height:48px;}
  .cwd-p1.cwd-p1-conversion #booking-widget {overflow:visible;padding-bottom:90px;}
  .cwd-p1.cwd-p1-conversion.cwd-p1-results-open #with-driver-block > .mt-6,
  .cwd-p1.cwd-p1-conversion .cwd-p1-edit-dialog #with-driver-block > .mt-6 {position:static;box-shadow:none;}

}
@media(prefers-reduced-motion:reduce) {
 .cwd-p1.cwd-p1-conversion * {scroll-behavior:auto!important;}
}

/* Inline browser-location shortcut; does not add height outside pickup field. */
.cwd-p1 .cwd-p1-current-location-input {
  width:100%;
  min-width:0;
  position:relative;
}
.cwd-p1 .cwd-p1-current-location-input > .cwd-p1-current-location-field {
  width:100%;
  min-width:0;
  padding-right:49px !important;
}
.cwd-p1 .cwd-p1-current-location-input > .location-current-action,
.cwd-p1 .location-entry:focus-within .cwd-p1-current-location-input > .location-current-action {
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  position:absolute !important;
  top:50%;
  right:4px;
  transform:translateY(-50%);
  z-index:4;
  width:37px;
  height:34px;
  min-height:34px;
  margin:0 !important;
  padding:0 !important;
  border-radius:9px;
  border:1px solid #bfdbea;
  background:#e9f5fe;
  color:#166a9b;
  white-space:nowrap;
  font-size:0 !important;
  box-shadow:none;
  overflow:hidden;
}
.cwd-p1 .cwd-p1-current-location-input > .location-current-action i {
  font-size:16px !important;
  margin:0 !important;
  line-height:1;
}
.cwd-p1 .cwd-p1-current-location-input > .location-current-action:focus-visible {
  outline:2px solid #1274b1;
  outline-offset:2px;
}
.cwd-p1 .cwd-p1-current-location-input > .location-current-action:hover {background:#d9edfb;}


/* Hide the removed promotional hero block visually while retaining the SEO heading. */
.cwd-p1[data-page="home"] header.cwd-p1-hero > div > span:first-child,
.cwd-p1[data-page="home"] header.cwd-p1-hero > div > p {display:none;}
.cwd-p1[data-page="home"] header.cwd-p1-hero > div > h1 {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
.cwd-p1.cwd-p1-conversion .cwd-p1-trust {font-size:12px;}
@media(max-width:700px){
 .cwd-p1 #wd-outstation-fields > .grid.grid-cols-1 {grid-template-columns:1fr;}
 .cwd-p1 #booking-widget input[type="text"] {font-size:16px;min-height:44px;}
 .cwd-p1 #wd-outstation-fields .booking-datetime {grid-template-columns:2fr 1fr 1fr;}
 .cwd-p1 .cwd-p1-custom-route {font-size:11px;padding:6px 8px;}
 .cwd-p1 #wd-out-trip-type-fieldset button {min-height:44px;}
}
/* Compact mobile journey dates: keep date, hour and AM/PM on one row. */
@media(max-width:700px){
 .cwd-p1.cwd-p1-conversion #booking-widget #wd-outstation-fields .booking-datetime{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,.8fr);gap:5px;}
 .cwd-p1.cwd-p1-conversion #wd-outstation-fields .booking-datetime>div:first-child{grid-column:auto;min-width:0;}
 .cwd-p1.cwd-p1-conversion #wd-outstation-fields .booking-datetime input,
 .cwd-p1.cwd-p1-conversion #wd-outstation-fields .booking-datetime select{width:100%;min-width:0;font-size:14px;padding-left:6px;padding-right:4px;}
 .cwd-p1.cwd-p1-conversion #wd-outstation-fields>.grid.pt-2{gap:6px;}
 .cwd-p1.cwd-p1-conversion #booking-widget>div:first-child{padding:4px;}
 .cwd-p1.cwd-p1-conversion #booking-widget>div:first-child button{padding:10px 5px;min-height:44px;}
 .cwd-p1.cwd-p1-conversion #with-driver-block>.grid:first-child{margin-bottom:6px;}
 .cwd-p1 nav>div{padding-top:10px;padding-bottom:10px;gap:8px;}
 .cwd-p1 nav a[aria-label="Car with Driver India home"]{gap:8px;}
 .cwd-p1 nav #dynamic-brand-logo{width:40px;height:40px;}
 .cwd-p1 nav a[aria-label="Car with Driver India home"]>div:last-child>span:last-child{font-size:9px;letter-spacing:0;white-space:nowrap;}
 .cwd-p1 nav a[aria-label="Car with Driver India home"] .text-xl{font-size:13px;}
 .cwd-p1 nav>div>div:last-child{gap:5px;}
 .cwd-p1 nav>div>div:last-child>*{margin-left:0;}
}
@media(max-width:359px){
 .cwd-p1 nav>div{padding-left:8px;padding-right:8px;gap:5px;}
 .cwd-p1 nav #dynamic-brand-logo{width:32px;height:32px;}
 .cwd-p1 nav a[aria-label="Car with Driver India home"]{gap:5px;}
 .cwd-p1 nav a[aria-label="Car with Driver India home"] .text-xl{font-size:11px;}
 .cwd-p1 nav a[aria-label="Car with Driver India home"]>div:last-child>span:last-child{font-size:8px;}
}
@media(max-width:700px){
 .cwd-p1.cwd-p1-conversion #wd-outstation-fields:not(.hidden){display:flex;flex-direction:column;gap:7px;}
 .cwd-p1.cwd-p1-conversion #wd-outstation-fields>*{margin-top:0!important;margin-bottom:0!important;}
 .cwd-p1.cwd-p1-conversion #booking-widget #wd-outstation-fields>.grid .bg-slate-50.p-3{padding:5px 7px;}
}
/* Short viewports keep the action in normal flow so it cannot cover return time. */
@media(max-width:700px) and (max-height:670px){
 .cwd-p1.cwd-p1-conversion #with-driver-block>.mt-6{position:static;box-shadow:none;padding:8px 0 0;}
 .cwd-p1.cwd-p1-conversion #booking-widget{padding-bottom:0;}
}
