.booking-chat {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1100;
  font-family: inherit;
}

body:has(#mobile-menu:not(.hidden)) .booking-chat {
  display: none;
}

.booking-chat__launcher {
  border: 0;
  border-radius: 999px;
  background: #1e3a8a;
  color: #fff;
  padding: 0.85rem 1.15rem;
  font: inherit;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.22);
  cursor: pointer;
}

.booking-chat__launcher:hover {
  background: #1e40af;
}

.booking-chat__panel {
  width: min(24rem, calc(100vw - 2rem));
  height: min(38rem, calc(100dvh - 6.5rem));
  margin-bottom: 0.75rem;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: #1f2937;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.22);
  overflow: hidden;
}

.booking-chat__panel[hidden] {
  display: none;
}

.booking-chat__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  background: #0f172a;
  color: #fff;
}

.booking-chat__header h2,
.booking-chat__eyebrow {
  margin: 0;
}

.booking-chat__header h2 {
  font-size: 1.15rem;
  font-weight: 600;
}

.booking-chat__eyebrow {
  color: #bcd5f5;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.booking-chat__close {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.booking-chat__thread {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background: #f8fafc;
}

.booking-chat__message {
  margin: 0;
  max-width: 92%;
  padding: 0.7rem 0.8rem;
  border-radius: 0.8rem;
  white-space: pre-wrap;
  font-size: 0.95rem;
  line-height: 1.45;
}

.booking-chat__message--assistant {
  align-self: flex-start;
  background: #fff;
  border: 1px solid #e2e8f0;
}

.booking-chat__message--user {
  align-self: flex-end;
  background: #1e3a8a;
  color: #fff;
}

.booking-chat__suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.65rem 0.8rem 0;
}

.booking-chat__suggestions button,
.booking-chat__pay,
.booking-chat__form button {
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1e3a8a;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}

.booking-chat__pay {
  display: block;
  margin: 0.65rem 0.8rem 0;
  text-align: center;
  text-decoration: none;
  background: #1e3a8a;
  color: #fff;
  border-color: #1e3a8a;
  border-radius: 0.6rem;
  padding: 0.65rem 0.8rem;
  font-weight: 600;
}

.booking-chat__form {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem;
}

.booking-chat__form textarea {
  flex: 1;
  resize: none;
  border: 1px solid #cbd5e1;
  border-radius: 0.6rem;
  padding: 0.55rem 0.65rem;
  font: inherit;
  color: #1f2937;
}

.booking-chat__form button {
  align-self: flex-end;
  background: #1e3a8a;
  color: #fff;
  border-color: #1e3a8a;
}

.booking-chat__form button:disabled,
.booking-chat__suggestions button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.booking-chat__error,
.booking-chat__note {
  margin: 0;
  padding: 0 0.8rem 0.7rem;
  color: #6b7280;
  font-size: 0.75rem;
}

.booking-chat__error {
  color: #9f1239;
}

@media (max-width: 760px) {
  .booking-chat--on-form {
    bottom: 5.5rem;
  }
}
