/* Search-card presentation only: preserve the existing form and all handlers. */
body.mybus-customer-reference #ticketView .booking {
  padding:28px 30px 26px!important;border-radius:26px!important;
  background:linear-gradient(145deg,#fffefa,#fff)!important;
  border:1px solid #d6e6dc!important;box-shadow:0 22px 54px #063b2517,0 3px 10px #063b2508!important;
}
body.mybus-customer-reference #ticketView .trip-types {
  padding:5px;margin-bottom:26px;gap:5px;border-radius:14px;background:#edf3ee;border:1px solid #e0e9e1;
}
body.mybus-customer-reference #ticketView .trip-type {min-height:46px;padding:12px 26px;border-radius:10px;font-size:14px}
body.mybus-customer-reference #ticketView .trip-type.active {box-shadow:0 3px 8px #07533e21}
body.mybus-customer-reference #ticketView #searchForm {
  grid-template-columns:minmax(0,1.1fr) 42px minmax(0,1.1fr) minmax(170px,.8fr) minmax(130px,.6fr) minmax(210px,.95fr)!important;
  align-items:start!important;gap:14px!important;
}
body.mybus-customer-reference #ticketView #searchForm>label,
body.mybus-customer-reference #ticketView #searchForm .search-date-field {min-width:0}
body.mybus-customer-reference #ticketView #searchForm label>span {
  display:block;min-height:16px;margin-bottom:10px;font-size:11px;font-weight:750;letter-spacing:.1em;color:#526f60;
}
body.mybus-customer-reference #ticketView #searchForm input,
body.mybus-customer-reference #ticketView #searchForm select {
  height:66px;min-height:66px;border:1px solid #cbded2;border-radius:13px;background:#fff;
  font-size:15px;color:#193f2e;box-shadow:0 2px 5px #063b2504;transition:border-color .15s,box-shadow .15s;
}
body.mybus-customer-reference #ticketView #searchForm input:hover,
body.mybus-customer-reference #ticketView #searchForm select:hover {border-color:#95bda6}
body.mybus-customer-reference #ticketView #searchForm input:focus,
body.mybus-customer-reference #ticketView #searchForm select:focus {outline:0;border-color:#07805a;box-shadow:0 0 0 3px #07805a16}
body.mybus-customer-reference #ticketView #searchForm .search-btn {
  display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-width:0;
  height:72px;min-height:72px;margin-top:23px;padding:18px 22px;border-radius:14px!important;
  background:linear-gradient(125deg,#087853,#08a06d)!important;border:1px solid #087d58!important;
  color:#fff!important;font-size:18px;font-weight:750;line-height:1.25;
  box-shadow:0 9px 20px #087c592b;transition:background .16s,box-shadow .16s,transform .16s;
}
body.mybus-customer-reference #ticketView #searchForm .search-btn b {
  display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:10px;
  background:#ffffff1c;color:#fff;font-size:22px;font-weight:500;
}
body.mybus-customer-reference #ticketView #searchForm .search-btn:hover {background:linear-gradient(125deg,#065f43,#078458)!important;box-shadow:0 11px 24px #087c5936;transform:translateY(-1px)}
body.mybus-customer-reference #ticketView #searchForm .search-btn:active {transform:translateY(0)}
body.mybus-customer-reference #ticketView #searchForm .search-btn:disabled {opacity:.6;transform:none;cursor:wait}
body.mybus-customer-reference #ticketView #searchForm .swap {
  align-self:start;width:42px;height:42px;min-height:42px;margin:38px 0 0;padding:0;border:1px solid #dceadf;
  background:#f2f8f3;border-radius:50%;box-shadow:none;font-size:22px;color:#087452;
}
body.mybus-customer-reference #ticketView #searchForm .date-quick-actions {margin-top:9px;gap:7px}
body.mybus-customer-reference #ticketView #searchForm .date-quick-actions button {
  min-height:30px;padding:5px 12px;border-radius:8px;border:1px solid #dce7df;background:#f5f9f5;font-size:11px;color:#466753;
}
body.mybus-customer-reference #ticketView #searchForm:has(#returnWrap:not(.hidden)) {
  grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr) minmax(150px,.75fr) minmax(150px,.75fr) minmax(120px,.55fr)!important;
}
body.mybus-customer-reference #ticketView #searchForm:has(#returnWrap:not(.hidden)) .search-btn {grid-column:1/-1;justify-self:end;width:260px;margin-top:0}
@media(max-width:1180px) {
  body.mybus-customer-reference #ticketView #searchForm,
  body.mybus-customer-reference #ticketView #searchForm:has(#returnWrap:not(.hidden)) {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important}
  body.mybus-customer-reference #ticketView #searchForm .swap {display:none}
  body.mybus-customer-reference #ticketView #searchForm .search-btn,
  body.mybus-customer-reference #ticketView #searchForm:has(#returnWrap:not(.hidden)) .search-btn {grid-column:1/-1;width:100%;margin-top:4px;justify-self:stretch}
}
@media(max-width:560px) {
  body.mybus-customer-reference #ticketView .booking {padding:22px 18px!important;border-radius:22px!important}
  body.mybus-customer-reference #ticketView .trip-types {margin-bottom:22px}
  body.mybus-customer-reference #ticketView .trip-type {padding:10px 12px;font-size:13px}
  body.mybus-customer-reference #ticketView #searchForm,
  body.mybus-customer-reference #ticketView #searchForm:has(#returnWrap:not(.hidden)) {grid-template-columns:minmax(0,1fr)!important;gap:16px!important}
  body.mybus-customer-reference #ticketView #searchForm input,
  body.mybus-customer-reference #ticketView #searchForm select {height:60px;min-height:60px;font-size:16px}
  body.mybus-customer-reference #ticketView #searchForm .swap {display:block;justify-self:center;margin:-8px 0;width:38px;height:34px;min-height:34px;border-radius:10px}
  body.mybus-customer-reference #ticketView #searchForm .search-btn {height:70px;min-height:70px;font-size:18px;margin-top:6px}
}
@media(prefers-reduced-motion:reduce) {
  body.mybus-customer-reference #ticketView #searchForm :is(input,select,.search-btn) {transition:none}
  body.mybus-customer-reference #ticketView #searchForm .search-btn:hover {transform:none}
}

