/* Added without touching the existing Cabo Verde Spotlight design system. */
.cvs-kayak-card{background:linear-gradient(145deg,#073847,#0c4650);border:1px solid #34717a;border-radius:15px;padding:19px;color:#f7f5e9;margin:14px 0 22px;box-shadow:0 12px 28px #001e2630}
.cvs-kayak-card h2,.cvs-kayak-card h3{color:#f4cb84;font-size:1.13rem;line-height:1.3;margin:0 0 7px}
.cvs-kayak-card p{color:#d9e9e8;font-size:.9rem;margin:0 0 13px;line-height:1.5}
.cvs-kayak-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin:15px 0 10px}
.cvs-kayak-form label{display:flex;flex-direction:column;gap:6px;color:#f2e3c9;font-size:.77rem;font-weight:700;min-width:0}
.cvs-kayak-form input,.cvs-kayak-form select{width:100%;min-width:0;color:#0a3440;background:#fff;border:1px solid #bfdae0;border-radius:9px;padding:10px 7px;font:inherit;font-size:.9rem;min-height:44px}
.cvs-kayak-form button{grid-column:1/-1;border:0;border-radius:10px;background:#efbb67;color:#17333b;padding:12px 14px;font-weight:800;font:inherit;min-height:44px;cursor:pointer}
.cvs-kayak-form button:disabled{opacity:.6;cursor:not-allowed}
.cvs-kayak-status{min-height:1.6em;color:#f1e5cc!important}
.cvs-kayak-helper{color:#d2e7e7!important;font-size:.79rem!important}
.cvs-kayak-offers{display:grid;gap:10px}
.cvs-kayak-offer{border:1px solid #41757c;border-radius:11px;padding:12px;background:#073039}
.cvs-kayak-offer-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.cvs-kayak-best{background:#efbb67;color:#15313e;padding:4px 8px;border-radius:8px;font-size:.7rem;font-weight:900;white-space:nowrap}
.cvs-kayak-amount{font-size:1.28rem;font-weight:900;color:#fff;margin:6px 0}
.cvs-kayak-offer p{margin:3px 0 9px;font-size:.78rem}
.cvs-kayak-offer a{display:inline-flex;color:#f4cb84!important;font-weight:750;text-decoration:underline;text-underline-offset:3px}
.cvs-kayak-list{max-width:1140px;margin:22px auto;padding:22px}
.cvs-kayak-list .cvs-kayak-form{grid-template-columns:repeat(5,minmax(0,1fr))}
.cvs-qa-lab{background:#281f32;color:#fce9dd;border:2px dashed #b96b55;border-radius:12px;padding:18px;margin:20px 0}
.cvs-qa-lab[hidden]{display:none}
.cvs-qa-lab input,.cvs-qa-lab button{font:inherit;padding:8px;margin:4px;max-width:100%}
.cvs-qa-lab h2{color:#fff}
@media(max-width:750px){.cvs-kayak-list .cvs-kayak-form{grid-template-columns:repeat(2,minmax(0,1fr))}.cvs-kayak-card{padding:16px}}
@media(max-width:380px){.cvs-kayak-form{grid-template-columns:1fr}}
/* 2026-11-10: meaningful fallback booking when live API has not been activated. */
.cvs-booking-fallback{background:#063541;border-color:#56858c;padding:16px}
.cvs-booking-fallback h4{font-size:1rem;margin:0 0 8px;color:#f4cb84}
.cvs-booking-fallback p{line-height:1.5;margin:7px 0}
.cvs-booking-fallback a.cvs-booking-link{display:inline-flex;background:#efbb67;color:#12323c!important;border-radius:9px;padding:11px 14px;text-decoration:none;font-weight:800;margin:8px 0 2px}
.cvs-kayak-form button:not(:disabled):hover{background:#f7cb82}
.cvs-kayak-form input:focus-visible,.cvs-kayak-form button:focus-visible,.cvs-booking-fallback a:focus-visible{outline:3px solid #f3c16f;outline-offset:2px}
@media(max-width:420px){.cvs-kayak-form{grid-template-columns:1fr 1fr!important}}

/* 2026-11-10: Equal-width booking fields on desktop and equal-height controls
   on iPad/Safari. Keep native date pickers functional. */
.cvs-kayak-form > label {
  min-width: 0;
  width: 100%;
  max-width: 100%;
}
.cvs-kayak-form > label > input,
.cvs-kayak-form > label > select {
  display: block;
  box-sizing: border-box;
  inline-size: 100%;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 58px;
  min-height: 58px;
  padding: 0 14px;
  line-height: normal;
  border-radius: 10px;
}
.cvs-kayak-form input[type="date"]::-webkit-date-and-time-value {
  min-width: 0;
  text-align: left;
}
.cvs-kayak-list .cvs-kayak-form {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: 14px;
  row-gap: 16px;
}
/* Tablet and small laptop: preserve usable date-picker widths. */
@media (min-width: 521px) and (max-width: 950px) {
  .cvs-kayak-list .cvs-kayak-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* Phones: every white field has the same full-row width. */
@media (max-width: 520px) {
  .cvs-kayak-list .cvs-kayak-form,
  .cvs-kayak-card .cvs-kayak-form {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}


/* 2026-11-11: harden equal booking-field widths across Safari/iPad/mobile.
   Use very specific selectors plus important flags so cached/older rules cannot win. */
.cvs-kayak-list .cvs-kayak-form,
.cvs-kayak-card .cvs-kayak-form {
  display: grid;
  align-items: end;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.cvs-kayak-list .cvs-kayak-form {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  column-gap: 14px !important;
  row-gap: 16px !important;
}
.cvs-kayak-list .cvs-kayak-form > label,
.cvs-kayak-card .cvs-kayak-form > label {
  display: flex;
  flex-direction: column;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box;
}
.cvs-kayak-list .cvs-kayak-form > label > input,
.cvs-kayak-list .cvs-kayak-form > label > select,
.cvs-kayak-card .cvs-kayak-form > label > input,
.cvs-kayak-card .cvs-kayak-form > label > select {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  flex: 0 0 auto;
  box-sizing: border-box;
  height: 58px;
  min-height: 58px;
}
.cvs-kayak-list .cvs-kayak-form > button,
.cvs-kayak-card .cvs-kayak-form > button {
  grid-column: 1 / -1;
  width: 100%;
  box-sizing: border-box;
}
@media (min-width: 521px) and (max-width: 1100px) {
  .cvs-kayak-list .cvs-kayak-form {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 520px) {
  .cvs-kayak-list .cvs-kayak-form,
  .cvs-kayak-card .cvs-kayak-form {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}
