.home-actions--lookup button {
  position: relative;
  min-height: 112px;
  width: 100%;
  overflow: hidden;
  border: 1px solid #e0e8ef;
  border-radius: 19px;
  background: #fff;
  color: #183147;
  padding: 23px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  box-shadow: 0 12px 26px #1736530b;
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: .25s;
}
.home-actions--lookup button::before { content: ""; position: absolute; inset: auto -15% -65% auto; width: 150px; height: 150px; border-radius: 50%; background: #fbe7eb; }
.home-actions--lookup button > * { position: relative; z-index: 1; }
.home-actions--lookup button:hover { border-color: #e2a9b4; transform: translateY(-4px); }
.home-actions--lookup button:focus-visible { outline: 3px solid #bd243f; outline-offset: 3px; }

.booking-lookup-modal {
  width: min(94vw, 780px);
  max-width: none;
  max-height: min(90vh, 900px);
  overflow: auto;
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid #cbd1d8;
  border-radius: 28px;
  background: #fff;
  color: #222831;
  box-shadow: 0 28px 90px #0008;
}
.booking-lookup-modal::backdrop { background: #1c2026a6; backdrop-filter: blur(3px); }
.dialog-close { position: absolute; top: 17px; right: 20px; width: 39px; height: 39px; border: 0; border-radius: 50%; background: transparent; color: #68707b; font-size: 35px; line-height: 1; cursor: pointer; }
.dialog-close:hover { background: #f3f4f5; color: #bd243f; }
.booking-lookup-heading h2 { margin: 0; font-family: Prompt, sans-serif; font-size: clamp(25px, 4vw, 36px); line-height: 1.25; }
.booking-lookup-heading p { margin: 10px 0 28px; color: #68707b; font-size: 16px; }
.booking-lookup-form { display: grid; gap: 17px; }
.booking-lookup-form label { display: grid; gap: 8px; color: #252b34; font-size: 17px; font-weight: 800; }
.booking-lookup-form input { min-height: 58px; border: 1px solid #cdd4dc; border-radius: 14px; padding: 12px 16px; font: 500 20px Noto Sans Thai, sans-serif; }
.booking-lookup-form input:focus { border-color: #bd243f; outline: 3px solid #bd243f26; }
.booking-lookup-form .primary { min-height: 59px; margin-top: 4px; border-radius: 14px; font-size: 19px; }
.booking-lookup-results { margin-top: 35px; }
.booking-lookup-results h3 { margin: 0 0 14px; font-family: Prompt, sans-serif; font-size: 23px; }
.lookup-empty { padding: 18px; border-radius: 14px; background: #f6f7f8; color: #5f6771; }
.lookup-result-list { display: grid; gap: 12px; }
.lookup-result { display: grid; gap: 7px; padding: 19px; border: 1px solid #dce1e6; border-radius: 17px; color: #272d36; text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.lookup-result:hover { border-color: #df99a7; box-shadow: 0 9px 22px #79233314; transform: translateY(-2px); }
.lookup-result:focus-visible { outline: 3px solid #bd243f; outline-offset: 2px; }
.lookup-result-top, .lookup-result-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lookup-result-top b { font-family: Prompt, sans-serif; font-size: 22px; letter-spacing: .3px; }
.lookup-result > small, .lookup-result-bottom > span { color: #74808e; }
.lookup-result-bottom { margin-top: 5px; }
.lookup-result-bottom strong { color: #bd243f; font-size: 15px; }

.booking-progress { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-bottom: 20px; padding: 22px 28px; }
.booking-progress > div { position: relative; display: grid; justify-items: center; gap: 8px; color: #9da6b1; text-align: center; font-size: 13px; }
.booking-progress > div:not(:last-child)::after { content: ""; position: absolute; top: 19px; left: calc(50% + 21px); width: calc(100% - 42px); height: 3px; background: #dce1e6; }
.booking-progress b { position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border: 3px solid currentColor; border-radius: 50%; background: #fff; font-size: 18px; }
.booking-progress .is-complete { color: #bd243f; }
.booking-progress .is-complete:not(:last-child)::after { background: #ddabb4; }
.booking-progress .is-current b { background: #fff7f8; }
.slip-preview-button { display: block; max-width: 280px; padding: 0; border: 0; border-radius: 10px; background: transparent; cursor: zoom-in; }
.slip-preview-button img { max-width: 100%; }
.slip-preview-button:focus-visible { outline: 3px solid #bd243f; outline-offset: 3px; }

@media (max-width: 600px) {
  .booking-lookup-modal { width: min(96vw, 780px); min-height: 0; padding: 30px 20px 24px; border-radius: 21px; }
  .booking-lookup-heading h2 { padding-right: 30px; }
  .booking-lookup-heading p { font-size: 14px; }
  .booking-lookup-form input { min-height: 54px; font-size: 18px; }
  .lookup-result-top { align-items: flex-start; }
  .lookup-result-top b { font-size: 18px; }
  .lookup-result-bottom { align-items: flex-start; flex-direction: column; gap: 5px; }
  .booking-progress { padding: 18px 10px; }
  .booking-progress > div { font-size: 10px; }
  .booking-progress b { width: 33px; height: 33px; font-size: 15px; }
  .booking-progress > div:not(:last-child)::after { top: 15px; left: calc(50% + 18px); width: calc(100% - 36px); }
}

/* Compact booking lookup dialog */
.booking-lookup-modal {
  width: min(92vw, 600px);
  max-height: min(86vh, 760px);
  padding: 28px;
  border-color: #d9dde2;
  border-radius: 20px;
  box-shadow: 0 24px 70px #11182066;
}
.booking-lookup-modal::backdrop { background: #1c20268f; backdrop-filter: blur(4px); }
.dialog-close { top: 10px; right: 12px; width: 34px; height: 34px; font-size: 28px; }
.booking-lookup-heading { padding-right: 28px; }
.booking-lookup-heading h2 { font-size: clamp(21px, 3vw, 27px); line-height: 1.3; }
.booking-lookup-heading p { margin: 7px 0 20px; font-size: 13px; line-height: 1.6; }
.booking-lookup-form { gap: 12px; }
.booking-lookup-form label { gap: 6px; font-size: 13px; font-weight: 750; }
.booking-lookup-form input { min-height: 46px; padding: 9px 13px; border-radius: 11px; font-size: 16px; }
.booking-lookup-form .primary { min-height: 47px; margin-top: 2px; border-radius: 11px; font-size: 15px; }
.booking-lookup-results { margin-top: 24px; padding-top: 20px; border-top: 1px solid #eceef1; }
.booking-lookup-results h3 { margin-bottom: 11px; font-size: 18px; }
.lookup-empty { padding: 14px; border-radius: 11px; font-size: 13px; }
.lookup-result-list { gap: 9px; }
.lookup-result { gap: 5px; padding: 14px 15px; border-radius: 13px; }
.lookup-result-top b { font-size: 17px; }
.lookup-result > span:not(.lookup-result-top):not(.lookup-result-bottom),
.lookup-result > small,
.lookup-result-bottom { font-size: 12px; }
.lookup-result-bottom { margin-top: 3px; }
.lookup-result-bottom strong { font-size: 13px; }

@media (max-width: 600px) {
  .booking-lookup-modal {
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
    padding: 24px 16px 18px;
    border-radius: 17px;
  }
  .booking-lookup-heading { padding-right: 24px; }
  .booking-lookup-heading h2 { padding-right: 0; font-size: 20px; }
  .booking-lookup-heading p { margin-bottom: 17px; font-size: 12px; }
  .booking-lookup-form input { min-height: 45px; font-size: 16px; }
  .booking-lookup-form .primary { min-height: 46px; font-size: 14px; }
  .booking-lookup-results { margin-top: 20px; padding-top: 17px; }
  .lookup-result-top b { font-size: 16px; }
}
