/* Chat window: shared by the demo page and the website widget (/embed). */
.chat { display: flex; flex-direction: column; height: 640px; max-height: 82vh; background: #fff; border-radius: .5rem; overflow: hidden; }
.chat-head { background: var(--chat-color, #1F2937); color: #fff; padding: 14px 18px; display: flex; align-items: center; gap: 12px; }
.chat-dot { width: 10px; height: 10px; border-radius: 50%; background: #10B981; flex: none; }
.chat-body { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.chat .msg { max-width: 84%; padding: 10px 14px; border-radius: 14px; font-size: .95rem; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat .msg.bot { background: #F3F4F6; border-bottom-left-radius: 4px; }
.chat .msg.team { background: #FEF3C7; border-bottom-left-radius: 4px; }
.chat .msg.user { align-self: flex-end; background: var(--chat-color, #1F2937); color: #fff; border-bottom-right-radius: 4px; }
.chat .msg small.who { display: block; font-weight: 600; font-size: .72rem; opacity: .75; }
.chat .msg.typing { color: #6B7280; font-style: italic; }
.quote-cards { display: flex; flex-direction: column; gap: 8px; max-width: 92%; }
.quote-card { display: flex; align-items: center; gap: 10px; border: 1px solid #E5E7EB; border-radius: 10px; padding: 8px; cursor: pointer; background: #fff; }
.quote-card:hover { border-color: #1F2937; }
.quote-card img, .quote-noimg { width: 64px; height: 48px; object-fit: cover; border-radius: 6px; flex: none; background: #E5E7EB; }
.quote-noimg { display: flex; align-items: center; justify-content: center; font-weight: 600; color: #6B7280; }
.quote-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.quote-info small { color: #6B7280; }
.quote-price { font-variant-numeric: tabular-nums; white-space: nowrap; }
.chat-suggest { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 18px; border-top: 1px solid #E5E7EB; }
.chat-suggest button { border: 1px solid #1F2937; background: #fff; color: #1F2937; border-radius: 99px; padding: 6px 12px; font-size: .85rem; min-height: 36px; }
.chat-suggest button:hover { background: #1F2937; color: #fff; }
.chat-form { display: flex; gap: 8px; padding: 12px 18px; border-top: 1px solid #E5E7EB; }
.chat-error { color: #E11D48; font-size: .85rem; padding: 0 18px 8px; }
.quote-note { color: #6B7280; font-size: .78rem; margin-top: -4px; }
.route-map { margin: 0; max-width: 92%; border: 1px solid #E5E7EB; border-radius: 10px; overflow: hidden; background: #F3F4F6; }
.route-map img { display: block; width: 100%; height: auto; aspect-ratio: 640 / 300; object-fit: cover; }
.route-map figcaption { font-size: .78rem; color: #4B5563; padding: 6px 10px; }
.booking-card { max-width: 92%; border: 1px solid #10B981; border-radius: 12px; background: #fff; overflow: hidden; }
.booking-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; background: #ECFDF5; padding: 10px 14px; }
.booking-status { font-size: .8rem; color: #065F46; }
.booking-card dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 12px; margin: 0; padding: 10px 14px; font-size: .9rem; }
.booking-card dt { color: #6B7280; font-weight: 400; }
.booking-card dd { margin: 0; overflow-wrap: anywhere; }
.booking-total { display: flex; justify-content: space-between; padding: 10px 14px; border-top: 1px solid #E5E7EB; font-variant-numeric: tabular-nums; }
.chat-choices { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; max-width: 100%; }
.chat-choices button { border: 1px solid #1F2937; background: #fff; color: #1F2937; border-radius: 99px; padding: 8px 14px; font-size: .9rem; min-height: 40px; cursor: pointer; }
.chat-choices button:hover, .chat-choices button:focus-visible { background: #1F2937; color: #fff; outline: none; }
.chat-date { align-items: center; }
.chat-date input[type=date] { border: 1px solid #1F2937; border-radius: 99px; padding: 7px 14px; font: inherit; font-size: .9rem; min-height: 40px; background: #fff; color: #1F2937; }
.chat-date .chat-date-ok { background: #1F2937; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
