/* SmartGo booking page: standard wizard layout + SmartGo colors (2026-10-28).
   Replaces bottom-bar.css (position:fixed bar, which disappeared in iPhone Safari).
   Layout: same standard sticky Back/Continue bar as the original wizard, but the active step is a
   flex column and the bar gets margin-top:auto, so on short steps it sits at the bottom of the card
   instead of the middle, and on long steps it stays pinned (sticky bottom:0) over the scrolling step.
   Root cause of the bar in the middle: mobile .book-screen.active{padding-bottom:112px} (book.css) shrinks
   the sticky area, so sticky bottom:0 parked the bar 112px above the card bottom, over the date fields.
   Revert: remove this file's <link> from book.html. */
:root{--navy2:#1a1a1a}
@media(max-width:760px){
  main{height:auto!important;flex:1 1 auto!important;min-height:0!important}
  #quote-form .book-screen.active:not([data-screen="1"]):not([data-screen="5"]):not([data-screen="6"]):not([data-screen="7"]):not([data-screen="8"]){display:flex;flex-direction:column;padding-bottom:0}
  #quote-form .book-screen.active:not([data-screen="1"]):not([data-screen="5"]):not([data-screen="6"]):not([data-screen="7"]):not([data-screen="8"])>*{flex-shrink:0}
  #quote-form .book-screen.active:not([data-screen="1"]):not([data-screen="5"]):not([data-screen="6"]):not([data-screen="7"]):not([data-screen="8"])>.screen-actions{margin-top:auto;position:sticky;bottom:0;z-index:10;margin-left:-12px;margin-right:-12px;margin-bottom:0}
  /* steps 5-7: bar was 6px wider than the card on each side (margin -18px vs 12px padding) -> Continue cut on the right */
  #quote-form .book-screen[data-screen="5"]>.screen-actions,#quote-form .book-screen[data-screen="6"]>.screen-actions,#quote-form .book-screen[data-screen="7"]>.screen-actions{margin-left:0;margin-right:0;width:auto}
  /* iOS Safari: native date pickers keep an intrinsic width wider than the card -> cut on the right */
  #quote-form .form-grid label{min-width:0}
  #quote-form input[type=datetime-local],#quote-form input[type=date],#quote-form input[type=time]{-webkit-appearance:none;appearance:none;display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%}
  #quote-form input[type=datetime-local]::-webkit-date-and-time-value{text-align:center;min-width:0}
}
/* SmartGo colors (black + yellow #FBBF24) instead of the leftover navy blue */
body{background:linear-gradient(160deg,#000,#1a1a1a)}
.book-card{border-color:#FBBF24;background:linear-gradient(145deg,#1c1c1c,#000 72%)}
.form-grid input,.form-grid select,.custom-address input,.offer-inline input,.lookup-code-step input{border-color:#4a4a4a;background:linear-gradient(180deg,#262626,#111)}
.location-choice small,.category-card p,.sunpass-choice small,.terms,.customer-lookup small,.customer-tools small,.screen-heading p,.linked-vehicle-intro p{color:#d4d4d4}
.screen-actions button:not(.secondary),.customer-lookup>button,.lookup-code-step button{background:linear-gradient(145deg,#FCD34D,#FBBF24);color:#000!important;-webkit-text-fill-color:#000!important;border:1px solid #FBBF24;box-shadow:0 9px 18px #0005}
.screen-actions,.book-screen[data-screen="8"]>.screen-actions{background:linear-gradient(180deg,#141414,#000)!important;border-top-color:#FBBF24}
.screen-actions .secondary{border-color:#FBBF24;background:linear-gradient(145deg,#2d2d2d,#141414);color:#fff}
.location-choice.selected,.category-card.selected{border-color:#FBBF24;background:linear-gradient(145deg,#3a3a3a,#141414);box-shadow:0 14px 28px #0007,0 0 0 1px #FBBF24}
.location-more-toggle{background:linear-gradient(145deg,#2d2d2d,#0a0a0a)}
.linked-vehicle-intro{background:linear-gradient(145deg,#2d2d2d,#0a0a0a)}
/* 2026-10-29 mobile: vehicle card gallery = fixed-height grid row; thumbnails overflowed below the photo and covered the Select/Selected button. Photo shrinks, thumbs stay inside. */
@media(max-width:760px){
  #quote-form .category-card>.public-vehicle-gallery{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden}
  #quote-form .category-card>.public-vehicle-gallery>.public-vehicle-gallery-main{flex:1 1 auto;min-height:0;height:auto!important;width:100%;object-fit:cover}
  #quote-form .category-card>.public-vehicle-gallery>.public-vehicle-gallery-thumbs{flex:0 0 auto;max-width:100%}
  #quote-form .category-card h3,#quote-form .category-card p,#quote-form .final-summary b{overflow-wrap:anywhere}
}
