body.md-booking-open { overflow: hidden !important; }
#booking-modal-overlay.md-booking {
  position: fixed; inset: 0; width: min(1060px, calc(100% - 48px)); height: min(800px, calc(100dvh - 48px)); max-width: none; max-height: none;
  margin: auto; padding: 0; border: 1px solid #dce4ee; border-radius: 0; background: #fff; color: #34465d; overflow: hidden;
  font: 16px/1.6 "Open Sans", sans-serif; text-align: left;
}
#booking-modal-overlay.md-booking:not([open]) { display: none; }
#booking-modal-overlay.md-booking::backdrop { background: rgb(0 28 59 / .55); }
.md-booking *, .md-booking *::before, .md-booking *::after { box-sizing: border-box; }
.md-booking [hidden] { display: none !important; }
.md-booking :is(button, input, select, textarea) { font-family: inherit; border-radius: 0; }
.md-booking :focus-visible { outline: 2px solid #5f75b3; outline-offset: 3px; }
.md-booking :is(h3, h4, h5, p) { text-align: left; }
.md-booking .booking-modal { display: grid; grid-template-columns: 276px minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); position: static; transform: none; width: 100%; max-width: none; height: 100%; max-height: none; overflow: hidden; box-shadow: none; margin: 0; padding: 0; }
.md-booking-top { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; padding: 6px 16px 6px 24px; border-bottom: 1px solid #dce4ee; background: #edf2f8; font-size: 13px; }
.md-booking .md-booking-close { display: grid; place-items: center; float: none; width: 44px; height: 44px; padding: 0; background: transparent !important; color: #002f65 !important; font-size: 28px; border: 0; }
.md-booking .md-booking-close:hover { background: #e5ecf5 !important; }
.md-booking-sidebar { background: #f3f6fa; padding: 30px 24px; border-right: 1px solid #dce4ee; overflow-y: auto; min-height: 0; }
.md-booking .booking-header-content { padding: 0; background: transparent; color: #002f65; text-align: left; }
.md-booking .booking-header-content h3 { font-size: 22px !important; line-height: 1.3; font-weight: 600; margin: 8px 0 16px; color: #002f65 !important; }
.md-booking-eyebrow { font-size: 11px !important; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: #5f75b3; margin: 0 0 8px !important; }
.md-booking .trip-meta-info { color: #64748b; font-size: 13px; opacity: 1; }
.md-booking-price { display: block; font-size: 22px; font-weight: 600; color: #002f65; margin-top: 16px; }
.md-booking-price small { font-size: 12px; font-weight: 400; color: #64748b; }
.md-booking-sidebar-sgl { margin-top: 12px; color: #64748b; font-size: 12px; }
.md-booking .md-booking-sidebar-sgl p { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 8px; font-size: 12px; }
.md-booking-sidebar-sgl strong { color: #002f65; white-space: nowrap; }
.md-booking .md-booking-sidebar-sgl .md-booking-sidebar-total { border-top: 1px solid #dce4ee; padding-top: 10px; color: #002f65; }
.md-booking-sidebar-total strong { font-size: 18px; }
.md-booking .booking-progress { display: flex; flex-direction: column; border: 0; border-top: 1px solid #dce4ee; background: transparent; margin: 24px 0 0; padding-top: 20px; overflow: visible; }
.md-booking .step-indicator { display: flex; align-items: center; gap: 12px; flex: none; width: 100%; min-width: 0; min-height: 48px; margin: 0; padding: 6px 0; color: #64748b !important; background: transparent !important; border: 0; text-align: left; font-size: 14px; }
.md-booking-step-number { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #c5d0df; border-radius: 50%; font-size: 12px; flex: none; }
.md-booking .step-indicator.active { color: #002f65 !important; font-weight: 600; }
.md-booking .step-indicator.active .md-booking-step-number { color: #fff; background: #002f65; border-color: #002f65; }
.md-booking .step-indicator.is-complete .md-booking-step-number { color: #426224; background: #e8eedf; border-color: #d6e0c8; }
.md-booking-sidebar-note { font-size: 12px; color: #64748b; margin: 24px 0 0; }
.md-booking-workspace { min-height: 0; min-width: 0; overflow: hidden; }
.md-booking #wizard-form { height: 100%; margin: 0; display: flex; flex-direction: column; }
.md-booking-content { flex: 1; min-height: 0; padding: 32px 38px; overflow-y: auto; overscroll-behavior: contain; }
.md-booking-content, .md-booking-sidebar { scrollbar-width: thin; scrollbar-color: #b9c7d9 #f3f6fa; }
.md-booking .wizard-step { padding: 0 !important; min-height: 0 !important; }
.md-booking .wizard-step h4 { margin: 0 0 8px; font-size: 28px !important; line-height: 1.3; font-weight: 600; color: #002f65 !important; letter-spacing: -.02em; text-align: left; }
.md-booking .wizard-step h4:focus { outline: none; }
.md-booking-lead { font-size: 14px !important; color: #64748b; margin: 0 0 26px !important; }
.md-booking .md-booking-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; margin: 0; }
.md-booking .md-booking-field { display: block; margin: 0 0 18px; min-width: 0; }
.md-booking .md-booking-field label { display: block; font-size: 13px; font-weight: 600; color: #34465d; margin-bottom: 7px; }
.md-booking .md-booking-field label small { display: block; font-size: 12px; font-weight: 400; color: #64748b; margin: 5px 0; }
.md-booking .md-booking-field-error { margin: 8px 0 0; color: #b4232c; font-size: 13px !important; line-height: 1.5; overflow-wrap: anywhere; }
.md-booking :is(.md-booking-field input, .md-booking-field textarea, .md-booking-field select, #total_pax, .md-room-field input, .md-room-field select) { display: block; width: 100%; min-width: 0; min-height: 48px; padding: 11px 12px; color: #002f65; background: #fff; border: 1px solid #bac8d9; box-shadow: none; font-size: 16px; line-height: 1.5; }
.md-booking input::placeholder, .md-booking textarea::placeholder { color: #8190a3; opacity: 1; }
.md-booking-date { display: flex; align-items: stretch; position: relative; }
.md-booking #wizard-form .md-booking-date > input[type="text"] { padding-right: 56px; }
.md-booking #wizard-form .md-booking-date > .md-booking-date-picker {
  position: absolute; inset: 1px 1px 1px auto; width: 46px; height: calc(100% - 2px); min-height: 0; margin: 0; padding: 0; border: 0; border-left: 1px solid #dce4ee; cursor: pointer; color: transparent;
  background: #f3f6fa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23002f65' stroke-width='1.6'%3E%3Crect x='3' y='5' width='18' height='16'/%3E%3Cpath d='M7 3v5m10-5v5M3 11h18m-14 4h3m4 0h3m-10 3h3'/%3E%3C/svg%3E") center / 22px no-repeat;
}
.md-booking .md-booking-date-picker::-webkit-datetime-edit { opacity: 0; }
.md-booking .md-booking-date-picker::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; cursor: pointer; }
.md-booking #wizard-form .md-booking-date-picker:hover { background-color: #e5ecf5; }
.md-booking-dob-offer { margin-top: 10px; padding: 12px; background: #f3f6fa; border-left: 2px solid #5f75b3; color: #34465d; font-size: 13px; overflow-wrap: anywhere; }
.md-booking .md-booking-dob-offer p { margin: 0 0 10px; font-size: 13px; }
.md-booking-dob-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.md-booking .md-booking-dob-actions .md-booking-button { font-size: 12px; padding: 8px 10px; min-height: 44px; }
.md-booking-phone { display: flex; min-width: 0; }
.md-booking-phone-prefix { position: relative; flex: 0 0 106px; min-width: 0; display: flex; }
.md-booking .md-booking-phone-toggle { position: relative; display: flex; align-items: center; width: 100%; margin: 0; padding: 0 18px 0 35px; border: 1px solid #bac8d9; background: #f3f6fa !important; color: #002f65 !important; min-height: 48px; }
.md-booking #wizard-form .md-booking-phone-toggle:is(:hover, :focus, :active) { background: #f3f6fa !important; color: #002f65 !important; border-color: #bac8d9; box-shadow: none; }
.md-booking-phone-toggle::after { content: ""; position: absolute; right: 9px; top: 50%; width: 5px; height: 5px; border-right: 1px solid #002f65; border-bottom: 1px solid #002f65; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.md-booking-phone-code { color: #002f65; font-size: 13px; white-space: nowrap; pointer-events: none; }
.md-booking-phone-prefix:focus-within { outline: 2px solid #5f75b3; outline-offset: 3px; z-index: 1; }
.md-booking-phone-menu { position: absolute; z-index: 5; top: 100%; left: 0; width: min(300px, calc(100vw - 42px)); padding: 10px; background: #fff; border: 1px solid #bac8d9; box-shadow: 0 8px 24px rgb(0 28 59 / .15); }
.md-booking .md-booking-phone-search { min-height: 44px; font-size: 14px; }
.md-booking-phone-options { max-height: 220px; overflow-y: auto; margin-top: 8px; }
.md-booking-phone-option { display: flex; align-items: center; gap: 10px; padding: 10px; font-size: 13px; color: #002f65; cursor: pointer; overflow-wrap: anywhere; }
.md-booking-phone-option:hover, .md-booking-phone-option.is-active { background: #e5ecf5; }
.md-booking-phone-option[aria-selected="true"] { font-weight: 600; }
.md-booking-phone-empty { font-size: 13px !important; padding: 10px; margin: 0; }
.md-booking #wizard-form .md-booking-phone > input { flex: 1; width: 0; border-left: 0; }
.md-booking .md-booking-phone-flag { position: absolute; z-index: 1; left: 10px; top: 50%; transform: translateY(-50%); width: 20px; height: 15px; max-width: none; object-fit: contain; pointer-events: none; }
.md-booking .md-booking-phone-option-flag { width: 20px; height: 15px; max-width: none; object-fit: contain; flex: none; }
.md-booking .radio-option { padding: 17px 18px; border: 1px solid #dce4ee; gap: 13px; margin-bottom: 12px; font-size: 14px; }
.md-booking .radio-option:has(input:checked) { border-color: #5f75b3; background: #f3f6fa; }
.md-booking .radio-option strong { display: block; font-weight: 600; color: #002f65; }
.md-booking .radio-option small { display: block; font-size: 13px; color: #64748b; }
.md-booking :is(.radio-option, .checkbox-group) input { width: 19px; height: 19px; margin: 3px 0 0; accent-color: #002f65; flex: none; }
.md-booking .checkbox-group { font-size: 13px; margin: 18px 0; }
.md-booking .checkbox-group label { display: block; font-weight: 400; }
.md-booking .checkbox-group input { vertical-align: middle; margin-right: 8px; }
.md-booking a { color: #002f65; text-decoration: underline; text-underline-offset: 3px; }
.md-booking-note { padding: 14px 16px; background: #f3f6fa; border-left: 2px solid #b2c2da; font-size: 13px !important; color: #64748b; margin: 20px 0; }
.md-booking .co-traveler-block { padding: 22px 0 0; margin: 22px 0 0; border: 0; border-top: 1px solid #dce4ee; background: transparent; }
.md-booking .co-traveler-block h5 { margin: 0 0 16px; color: #002f65; font-size: 16px; font-weight: 600; }
.md-booking .contract-summary { padding: 18px 20px; border: 1px solid #dce4ee; font-size: 14px; }
.md-booking .contract-summary p { margin: 0 0 12px; font-size: inherit; }
.md-booking .contract-summary dl { margin: 0; }
.md-booking .contract-summary dl > div { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 5px 0; }
.md-booking .contract-summary dt { margin: 0; font-weight: 400; color: #64748b; flex-shrink: 0; }
.md-booking .contract-summary dd { margin: 0; text-align: right; color: #002f65; overflow-wrap: anywhere; min-width: 0; }
.md-booking .booking-facts { border-top: 1px solid #dce4ee; padding-top: 14px; color: #002f65; }
.md-booking .contract-summary dl > .booking-facts { margin-top: 10px; padding-top: 14px; }
.md-booking .booking-facts dd { font-size: 24px; font-weight: 600; }
.md-booking .booking-footer { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 18px 38px; border-top: 1px solid #dce4ee; background: #fff; flex: none; }
.md-booking-footer-note { margin-right: auto; font-size: 11px; color: #64748b; }
.md-booking :is(.booking-footer button, .md-booking-button, #wizard-success > button) { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 18px; margin: 0; border: 1px solid #dce4ee; border-radius: 0; background: #e5ecf5 !important; color: #002f65 !important; font-size: 14px; font-weight: 600; line-height: 1.5; box-shadow: none; white-space: normal; }
.md-booking .booking-footer :is(#next-step, #submit-wizard) { background: #002f65 !important; color: #fff !important; border-color: #002f65; }
.md-booking :is(.booking-footer button, .md-booking-button):hover { background: #15487f !important; color: #fff !important; }
.md-booking button:disabled { opacity: .5; cursor: not-allowed; }
.md-booking #step-error-msg, .md-room-error { background: #fbf1f1; color: #a33333; border: 0; border-left: 2px solid #a33333; padding: 12px 16px; margin: 0 0 20px; font-size: 13px; }
.md-booking #wizard-success { height: 100%; min-height: 0; padding: 0; flex-direction: column; overflow: hidden; text-align: left; }
.md-booking #wizard-success .success-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 20px; background: #e8eedf; color: #426224; border-radius: 50%; font-size: 32px; line-height: 1; }
.md-booking #wizard-success h3 { margin: 0 0 10px; font-size: clamp(24px, 3vw, 30px) !important; line-height: 1.25; font-weight: 600; color: #002f65 !important; text-align: left; }
.md-booking #wizard-success h3:focus { outline: none; }
.md-booking #wizard-success p { margin: 0 0 18px; font-size: 15px; line-height: 1.7; text-align: left; overflow-wrap: anywhere; }
.md-booking #wizard-success .md-booking-success-lead { color: #64748b; font-size: 16px; }
.md-booking-success-participants { margin: 24px 0; padding: 18px 20px; background: #f3f6fa; border-left: 2px solid #5f75b3; }
.md-booking #wizard-success h4 { margin: 0 0 10px; color: #64748b !important; font-size: 12px !important; line-height: 1.5; font-weight: 600; text-align: left; }
.md-booking #wizard-success .participants-list ul { margin: 0; padding-left: 20px; list-style: disc; }
.md-booking #wizard-success .participants-list li { margin: 0; padding: 3px 0; color: #002f65; font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
.md-booking #wizard-success .md-booking-success-signoff { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid #dce4ee; color: #64748b; font-size: 14px; }
.md-room-dashboard { display: flex; flex-direction: column; padding: 14px 18px; border-left: 3px solid #5f75b3; background: #f3f6fa; margin: 20px 0; }
.md-room-dashboard strong { font-size: 20px; color: #002f65; }
.md-room-hint { display: block; font-size: 12px !important; font-weight: 400; color: #64748b; }
.md-room-pool { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.md-room-chip { max-width: 100%; overflow-wrap: anywhere; border: 1px solid #dce4ee; padding: 7px 10px; font-size: 12px; color: #002f65; }
.md-room-chip.assigned { color: #64748b; background: #f3f6fa; }
.md-room-navigation { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.md-room-position { color: #64748b; font-size: 13px; text-align: center; }
.md-booking .md-room-navigation .md-booking-button { min-width: 48px; font-size: 20px; padding: 6px 12px; }
.md-room-cards { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 20px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #b9c7d9 #f3f6fa; padding-bottom: 10px; }
.md-room-card { flex: 0 0 100%; scroll-snap-align: start; border: 1px solid #dce4ee; border-top: 3px solid #5f75b3; padding: 18px; min-width: 0; }
.md-room-card.full { border-top-color: #426224; }
.md-room-sharing, .md-room-child-sharing { display: block; padding: 12px; margin: 12px 0 0; background: #fff5dd; color: #77500f; font-size: 13px; line-height: 1.6; }
.md-room-child-sharing { display: flex; align-items: flex-start; }
.md-booking .md-room-child-sharing input { flex: none; width: 19px; height: 19px; margin: 3px 8px 0 0; accent-color: #002f65; }
.md-room-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.md-booking .md-room-header h5 { margin: 0; font-size: 15px; color: #002f65; }
.md-booking .md-room-remove { min-height: 44px; border: 0; padding: 5px; background: transparent !important; color: #5f75b3 !important; font-size: 11px; text-decoration: underline; text-underline-offset: 3px; box-shadow: none; }
.md-room-field { display: block; font-size: 13px; font-weight: 600; }
.md-room-field :is(input, select) { margin-top: 7px; }
.md-room-beds { display: flex; justify-content: center; gap: 10px; padding: 22px 0; }
.md-room-bed { flex: 1; min-width: 0; max-width: 150px; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 6px; border-bottom: 2px solid #dce4ee; background: #f3f6fa; }
.md-room-bed.occupied { background: #edf2e8; border-color: #a9bc92; }
.md-room-bed > span { font-size: 12px; overflow-wrap: anywhere; text-align: center; }
.md-room-bed svg { width: 52px; height: 62px; fill: none; stroke: #9cacc1; stroke-width: 1.6; }
.md-room-bed.occupied svg { stroke: #426224; }
.md-room-beds.double { flex-wrap: wrap; gap: 0; }
.md-room-beds.double .md-room-bed svg { display: none; }
.md-room-beds.double .md-room-bed:nth-child(2) { border-right: 1px dashed #b9c9a7; }
.md-room-shared-bed { flex: 0 0 100%; text-align: center; }
.md-room-shared-bed svg { width: 128px; height: 80px; fill: none; stroke: #5f75b3; stroke-width: 1.6; }
.md-room-double-group { flex: 2; min-width: 0; display: flex; flex-wrap: wrap; align-content: flex-start; background: #f3f6fa; }
.md-room-double-group .md-room-bed { max-width: none; background: transparent; }
.md-room-double-group .md-room-bed > svg { display: none; }
.md-room-double-group .md-room-bed:nth-child(2) { border-right: 1px dashed #b9c9a7; }
.md-room-beds.triple-double > .md-room-bed { max-width: none; }
.md-room-beds.triple-double > .md-room-bed > svg { height: 68px; margin-bottom: 12px; }
.md-room-double-group .md-room-shared-bed svg { max-width: 100%; }
.md-room-options { max-height: 220px; overflow-y: auto; border: 1px solid #dce4ee; border-top: 0; }
.md-room-option { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 48px; padding: 12px; font-size: 13px; cursor: pointer; }
.md-room-option > span { overflow-wrap: anywhere; }
.md-room-option small { font-size: 11px; flex-shrink: 0; }
.md-room-option + .md-room-option { border-top: 1px solid #dce4ee; }
.md-room-option:hover, .md-room-option[aria-selected="true"] { background: #e5ecf5; color: #002f65; }
.md-room-option[aria-disabled="true"] { background: #f3f6fa; color: #64748b; cursor: default; }
.md-room-empty, .md-room-status { padding: 12px 0; color: #64748b; font-size: 13px !important; margin: 0; }
.md-room-empty { padding: 12px; }
@media (min-width: 1100px) {
  .md-booking .md-room-field select { font-size: 13px; padding-inline: 8px; }
  .md-room-card { padding: 16px; }
  .md-room-option { flex-wrap: wrap; }
}
@media (max-width: 850px) {
  #booking-modal-overlay.md-booking { width: calc(100% - 24px); height: calc(100dvh - 24px); }
  .md-booking .booking-modal { grid-template-columns: 220px minmax(0, 1fr); }
  .md-booking-sidebar { padding: 24px 18px; }
  .md-booking-content { padding: 24px; }
  .md-booking .booking-footer { padding: 16px 24px; }
  .md-booking-footer-note { display: none; }
}
@media (max-width: 640px) {
  #booking-modal-overlay.md-booking { width: 100%; height: 100dvh; margin: 0; border: 0; }
  .md-booking .booking-modal { display: flex; flex-direction: column; }
  .md-booking-top { padding: 3px 12px 3px 20px; flex: none; font-size: 11px; }
  .md-booking-sidebar { padding: 12px 20px 0; border-right: 0; border-bottom: 1px solid #dce4ee; overflow: visible; flex: none; }
  .md-booking-sidebar .md-booking-eyebrow, .md-booking-sidebar-note { display: none; }
  .md-booking .booking-header-content h3 { font-size: 17px !important; margin: 0 0 5px; }
  .md-booking .trip-meta-info { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px !important; }
  .md-booking-price { display: inline; margin: 0; font-size: 13px; }
  .md-booking-price small { font-size: 11px; }
  .md-booking .booking-progress { flex-direction: row; justify-content: space-between; gap: 3px; border: 0; margin: 12px 0 0; padding: 0; }
  .md-booking .step-indicator { flex: 1; flex-direction: column; gap: 5px; min-height: 0; min-width: 0 !important; width: auto; font-size: 9px !important; padding: 4px 0 10px !important; border-bottom: 2px solid transparent; }
  .md-booking .step-indicator.active { border-bottom-color: #002f65; }
  .md-booking-step-number { width: 25px; height: 25px; font-size: 11px; }
  .md-booking-workspace { flex: 1; }
  .md-booking-content { padding: 22px 20px 28px; }
  .md-booking .wizard-step h4 { font-size: 24px !important; }
  .md-booking-lead { font-size: 13px !important; margin-bottom: 22px !important; }
  .md-booking .md-booking-fields { grid-template-columns: minmax(0, 1fr); }
  .md-booking .booking-footer { padding: 12px 20px max(12px, env(safe-area-inset-bottom)) !important; gap: 8px; }
  .md-booking .booking-footer button { flex: 0 1 auto; width: auto; min-width: 0 !important; font-size: 14px !important; margin: 0; padding: 11px 16px !important; }
  .md-booking .radio-option { padding: 14px; }
  .md-room-card { padding: 14px; }
  .md-room-bed svg { width: 44px; height: 52px; }
  .md-room-beds { gap: 8px; }
}
