/* Booking card for variant B: every option of the live RentSyst widget + a small range calendar. */
.bk{position:relative;padding:22px 24px 20px}
.bk-top{display:flex;align-items:center;justify-content:space-between;gap:12px 20px;flex-wrap:wrap;margin-bottom:16px}
.bk-top h2{margin:0;font-size:20px}
.steps{display:flex;gap:6px;list-style:none;flex-wrap:wrap}
.steps li{display:flex;align-items:center;gap:7px;font-size:12.5px;font-weight:700;color:var(--muted);padding:5px 11px 5px 6px;border-radius:999px;background:#f1f6fb}
.steps li i{font-style:normal;width:20px;height:20px;border-radius:50%;background:#dbe6f1;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:800}
.steps li.on{background:#e6f2fd;color:var(--blue-dark)}
.steps li.on i{background:var(--blue)}
.steps li.done i{background:#12a182}

.bk-grid{display:grid;grid-template-columns:1.2fr 1.25fr 1fr;gap:14px;align-items:start}
.bk-times{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.bk .box{position:relative}
.bk .box select{appearance:none;-webkit-appearance:none;padding-right:18px;cursor:pointer;background:transparent}
.bk .box.sel::after{content:"";position:absolute;right:14px;top:50%;width:7px;height:7px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:translateY(-70%) rotate(45deg);pointer-events:none}

/* the date field */
.bk-dates{position:relative}
.datebtn{width:100%;height:52px;display:flex;align-items:center;gap:10px;padding:0 14px;border:1.5px solid var(--line);border-radius:14px;background:#fff;cursor:pointer;text-align:left;font-weight:700;font-size:16px;transition:border-color .15s,box-shadow .15s}
.datebtn:hover{border-color:#b9d3ec}
.datebtn:focus-visible,.datebtn[aria-expanded="true"]{outline:0;border-color:var(--blue);box-shadow:0 0 0 4px rgba(29,143,230,.15)}
.datebtn svg{flex:none;color:var(--blue)}
.datebtn .rng{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.datebtn .nts{flex:none;font-size:12.5px;font-weight:800;color:var(--blue-dark);background:#e6f2fd;padding:4px 9px;border-radius:999px}
.datebtn .ph{color:#8aa0b6;font-weight:600}

/* compact calendar */
.cal{position:absolute;z-index:60;top:calc(100% + 8px);left:0;width:318px;background:#fff;border-radius:18px;padding:14px 14px 12px;
  box-shadow:0 24px 56px rgba(11,37,64,.30),0 0 0 1.5px rgba(29,143,230,.16);opacity:0;visibility:hidden;transform:translateY(-6px);
  transition:opacity .16s,transform .16s,visibility .16s}
.cal.open{opacity:1;visibility:visible;transform:none}
.cal.up{top:auto;bottom:calc(100% + 8px);transform:translateY(6px)}
.cal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}
.cal-title{font-weight:800;font-size:15.5px}
.cal-nav{width:34px;height:34px;border:0;border-radius:50%;background:#f1f6fb;color:var(--ink);font-size:18px;font-weight:800;cursor:pointer;display:flex;align-items:center;justify-content:center}
.cal-nav:hover:not(:disabled){background:var(--sun)}
.cal-nav:disabled{opacity:.3;cursor:default}
.cal-wd,.cal-grid{display:grid;grid-template-columns:repeat(7,1fr)}
.cal-wd span{text-align:center;font-size:11.5px;font-weight:800;color:#8aa0b6;padding:4px 0}
.cal-grid{row-gap:2px}
.cal-d{position:relative;height:38px;border:0;background:transparent;font-weight:700;font-size:14px;color:var(--ink);cursor:pointer;border-radius:0}
.cal-d.blank{visibility:hidden;cursor:default}
.cal-d:disabled{color:#c5d2df;cursor:default;text-decoration:line-through;text-decoration-color:#e2eaf2}
.cal-d.in{background:#e6f2fd;color:var(--blue-dark)}
.cal-d.pv{background:#f0f7fe}
.cal-d.st,.cal-d.en{background:var(--blue);color:#fff;font-weight:800;z-index:1}
.cal-d.st{border-radius:12px 0 0 12px}
.cal-d.en{border-radius:0 12px 12px 0}
.cal-d.st.en,.cal-d.st.solo{border-radius:12px}
.cal-d.in:first-child,.cal-d.pv:first-child{border-radius:12px 0 0 12px}
.cal-d.in:last-child,.cal-d.pv:last-child{border-radius:0 12px 12px 0}
.cal-d.today::after{content:"";position:absolute;left:50%;bottom:5px;width:4px;height:4px;margin-left:-2px;border-radius:50%;background:var(--sun-dark)}
.cal-d:not(:disabled):not(.st):not(.en):hover{background:#cfe5fa}
.cal-d:focus-visible{outline:2px solid var(--blue);outline-offset:-2px;border-radius:10px}
.cal-quick{display:flex;gap:6px;margin:10px 0 8px;flex-wrap:wrap}
.cal-quick button{border:1.5px solid var(--line);background:#fff;border-radius:999px;padding:5px 11px;font-size:12.5px;font-weight:800;color:var(--blue-dark);cursor:pointer}
.cal-quick button:hover{border-color:var(--blue);background:#eef5fc}
.cal-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--line);padding-top:10px}
.cal-sum{font-size:13px;font-weight:700;color:var(--muted);min-width:0}
.cal-sum b{color:var(--ink)}
.cal-done{border:0;border-radius:10px;background:var(--sun);color:#3a2b00;font-weight:800;font-size:14px;padding:8px 16px;cursor:pointer;flex:none}
.cal-done:hover{background:var(--sun-dark)}
.cal-ov{display:none}

/* options row */
.bk-row{display:flex;align-items:center;justify-content:space-between;gap:14px 20px;flex-wrap:wrap;margin-top:14px}
.bk-opts{display:flex;align-items:center;gap:8px 22px;flex-wrap:wrap}
.bk .linkbtn{border:0;background:transparent;color:var(--blue-dark);font-weight:800;font-size:14px;cursor:pointer;padding:2px 0;border-bottom:1.5px dashed rgba(14,99,176,.45)}
.bk .age{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:700;color:var(--muted)}
.bk .age b{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;background:#dbe6f1;color:#fff;font-size:11px}
.bk-extra{display:grid;grid-template-columns:1.2fr 1fr;gap:14px;margin-top:14px}
.bk-extra[hidden],.bk .ret[hidden]{display:none}
.bk .ret{margin-top:14px;max-width:none}
.bk-msg{min-height:20px;margin-top:10px;font-size:13.5px;font-weight:700;color:#c2410c}
.bk-msg.ok{color:var(--muted)}
.bk-msg.ok b{color:var(--ink)}
.bk-chip{margin:0 0 14px}
.bk-chip:empty{display:none}
.bk-toast{position:fixed;left:50%;bottom:26px;transform:translate(-50%,20px);z-index:80;background:var(--navy);color:#fff;font-weight:700;font-size:14px;padding:12px 18px;border-radius:14px;box-shadow:0 14px 34px rgba(0,0,0,.35);opacity:0;pointer-events:none;transition:opacity .25s,transform .25s;max-width:92vw;text-align:center}
.bk-toast.on{opacity:1;transform:translate(-50%,0)}

@media (max-width:980px){
  .bk-grid{grid-template-columns:1fr 1fr}
  .bk-grid > :first-child{grid-column:1/-1}
}
@media (max-width:760px){
  .bk{padding:16px}
  .bk-grid{grid-template-columns:1fr}
  .bk-extra{grid-template-columns:1fr}
  .bk-top h2{display:none}
  .steps{width:100%}
  .steps li{flex:1;justify-content:center;padding:5px 4px;font-size:11px}
  .steps li span{display:none}
  .steps li.on span{display:inline}
  .cal,.cal.up{position:fixed;left:12px;right:12px;top:auto;bottom:12px;width:auto;max-height:86vh;overflow:auto;transform:translateY(20px)}
  .cal.open,.cal.up.open{transform:none}
  .cal-d{height:44px}
  .cal-ov{display:block;position:fixed;inset:0;z-index:59;background:rgba(7,24,46,.45);opacity:0;visibility:hidden;transition:opacity .16s}
  .cal-ov.open{opacity:1;visibility:visible}
}

/* driver 20-25 checkbox */
.age-chk small{display:inline-block;margin-left:6px;background:#fff3cf;color:#6b5400;font-weight:800;font-size:12px;padding:2px 8px;border-radius:999px}
.age-chk{cursor:pointer}

/* booking page: the date form is narrower than on the home page, so the place gets its own row and times keep room */
#bfBook .bk-grid{grid-template-columns:1fr 1fr}
#bfBook .bk-grid > :first-child{grid-column:1/-1}
.bk-times .box{padding:0 10px;gap:6px}
.bk-times select{padding-right:16px;min-width:0;text-overflow:clip}
.bk-times .box svg{width:16px;height:16px}
.bf-steps li button:hover{background:#dbeafc;border-radius:999px}

/* times: two separate labelled fields (live-site users mixed up pick-up and return time) */
.bk-times{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.bk-times .field label{white-space:nowrap}
.bk-wa{color:#128c4a;font-weight:800;border-bottom:1.5px solid rgba(18,140,74,.4);white-space:nowrap}
.bk-wa:hover{border-color:#128c4a}
.bk-msg a{margin-left:2px}
@media (max-width:980px){.bk-grid .bk-times{grid-column:1/-1}}
@media (max-width:760px){.bk-times{grid-template-columns:1fr 1fr}}

/* custom place list (always opens down) */
.cs-btn{flex:1;min-width:0;height:100%;border:0;background:transparent;font-weight:600;font-size:16px;text-align:left;cursor:pointer;color:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 18px 0 0}
.cs-btn:focus-visible{outline:0}
.box:has(.cs-btn:focus-visible){border-color:var(--blue);box-shadow:0 0 0 4px rgba(29,143,230,.15)}
.cs-list{position:fixed;z-index:300;background:#fff;border:1.5px solid #cfe0f1;border-radius:16px;box-shadow:0 22px 48px rgba(11,37,64,.28);padding:6px;overflow-y:auto;overscroll-behavior:contain;font-family:inherit}
.cs-g{padding:10px 12px 4px;font-size:11.5px;font-weight:800;letter-spacing:0;text-transform:none;color:#7c90a6}
.cs-o{padding:11px 12px;border-radius:10px;font-weight:700;font-size:15px;cursor:pointer;color:#16263a;display:flex;align-items:center;justify-content:space-between;gap:10px}
.cs-o:hover,.cs-o:focus{background:#eef5fc;outline:0}
.cs-o.on{background:#e6f2fd;color:#0e63b0}
.cs-o.on::after{content:"✓";font-weight:800}
.bk-times .cs-btn{padding-right:2px}

/* the step pills of the home booking card: all the same width as the widest one */
@media (min-width:761px){
  .bk .steps{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:6px}
  .bk .steps li{justify-content:center}
}

/* the chosen car above the dates: a small card with the car, its name, the price and a round remove button */
.bk-chip.chosen{display:flex;align-items:center;gap:14px;margin:0 0 16px;padding:10px 12px;border-radius:18px;background:linear-gradient(135deg,#f3f9ff,#fff);border:1.5px solid #cfe2f7;box-shadow:0 6px 18px rgba(14,60,110,.08)}
.bk-chip.chosen:empty{display:none}
.chip-ph{flex:none;width:86px;height:58px;border-radius:12px;background:linear-gradient(180deg,#e3f0fc,#f6fbff);display:flex;align-items:center;justify-content:center;overflow:hidden;font-size:26px}
.chip-ph img{width:100%;height:100%;object-fit:contain;padding:4px}
.chip-tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.chip-tx small{font-size:11.5px;font-weight:800;letter-spacing:0;text-transform:none;color:var(--blue-dark)}
.chip-tx b{font-size:16px;font-weight:800;line-height:1.2;color:var(--ink)}
.chip-tx em{font-style:normal;font-size:13.5px;font-weight:700;color:var(--muted)}
.chip-x{flex:none;width:34px;height:34px;border:0;border-radius:50%;background:#eef3f8;color:#5d6f84;display:grid;place-items:center;cursor:pointer;transition:background .15s,color .15s,transform .15s}
.chip-x:hover,.chip-x:focus-visible{background:#fde7e4;color:#c2410c;transform:rotate(90deg);outline:0}
@media (max-width:480px){.chip-ph{width:72px;height:50px}.chip-tx b{font-size:15px}}

/* ===== the booking card, a calmer and more readable look (computer; the phone has its own sizes) ===== */
.bk-msg:empty{display:none;margin:0;min-height:0}
@media (min-width:761px){
  .bk{padding:26px 28px 24px}
  .bk-top{margin-bottom:18px}
  .bk-top h2{font-size:23px;font-weight:800;letter-spacing:-.01em;color:#0f2238}
  .bk-grid{gap:16px}
  .bk .field{gap:7px}
  .bk .field label{font-size:13.5px;font-weight:700;color:#3d5068}
  .bk .box,.bk .datebtn{height:56px;border-radius:15px;border-color:#d5e2ef;background:#fff;box-shadow:0 1px 2px rgba(14,60,110,.04)}
  .bk .box:hover,.bk .datebtn:hover{border-color:#b3cfe9}
  .bk .box:focus-within,.bk .datebtn:focus-visible{border-color:var(--blue)}
  .bk .box select,.bk .box input,.bk .datebtn,.bk .cs-btn{font-size:16.5px;font-weight:700;color:var(--ink)}
  .bk .box svg,.bk .datebtn svg{width:20px;height:20px}
  .bk-row{margin-top:20px;align-items:center}
  .bk-opts{gap:10px 26px}
  .bk .check{display:inline-flex;align-items:center;gap:10px;font-size:15px;font-weight:600;color:var(--ink);cursor:pointer}
  .bk .check input{-webkit-appearance:none;appearance:none;flex:none;margin:0;width:22px;height:22px;border:1.8px solid #b9cde2;border-radius:7px;background:#fff;display:inline-grid;place-content:center;cursor:pointer;transition:border-color .15s,background .15s}
  .bk .check input:hover{border-color:var(--blue)}
  .bk .check input:checked{background:var(--blue);border-color:var(--blue)}
  .bk .check input:checked::after{content:"";width:6px;height:11px;border:solid #fff;border-width:0 2.6px 2.6px 0;transform:translateY(-1px) rotate(45deg)}
  .bk .check input:focus-visible{outline:3px solid rgba(29,143,230,.35);outline-offset:2px}
  .bk .linkbtn{border:1.5px solid #cfe0f1;border-radius:999px;background:#f3f8fd;padding:7px 15px;font-size:14px;font-weight:800;color:var(--blue-dark);transition:background .15s,border-color .15s}
  .bk .linkbtn:hover{background:#e6f2fd;border-color:var(--blue)}
  .bk .cta{height:56px;border-radius:15px;padding:0 34px;font-size:18px}
}

/* second row of the search form: return place (under the pickup place) + promo code (under the dates) */
.bk-row2{display:grid;grid-template-columns:1fr;gap:14px;margin-top:14px;align-items:start}
.bk-row2:not(:has(> :not([hidden]))){display:none}
.bk-row2 > .ret,.bk-row2 > .bk-extra{margin-top:0;max-width:none}
.bk-row2 > .bk-extra{grid-template-columns:1fr}

/* tablet: the dates take the whole row like the place, no empty half next to them */
@media (max-width:980px) and (min-width:600px){.bk-grid .bk-dates{grid-column:1/-1}}
