/* Booking platform P1a — the web-chat visual (2026-07-23).
   Mobile-first, the portal's blue/white family, Georgian full words. */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: "Helvetica Neue", Arial, "Noto Sans Georgian", sans-serif;
  background: #eef3f8;
  color: #1f2a37;
}
#app { display: flex; flex-direction: column; height: 100dvh; max-width: 560px; margin: 0 auto; background: #f7fafc; box-shadow: 0 0 24px rgba(31, 74, 122, .12); }

#topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; background: #1f6fb2; color: #fff;
}
#brand { display: flex; align-items: center; gap: 10px; }
#brand-dot { width: 12px; height: 12px; border-radius: 50%; background: #7ee2a8; box-shadow: 0 0 0 3px rgba(126, 226, 168, .3); }
#brand-title { font-size: 15px; font-weight: 700; }
#brand-sub { font-size: 11px; opacity: .8; }
#controls { display: flex; align-items: center; gap: 8px; }
#langs { display: flex; gap: 4px; }
.lang {
  border: 1px solid rgba(255,255,255,.5); background: transparent; color: #fff;
  border-radius: 14px; padding: 3px 9px; font-size: 12px; cursor: pointer;
}
.lang.active { background: #fff; color: #1f6fb2; font-weight: 700; }
.lang:disabled { opacity: .35; cursor: default; }
#restart {
  border: none; background: rgba(255,255,255,.15); color: #fff;
  border-radius: 50%; width: 30px; height: 30px; font-size: 16px; cursor: pointer;
}

#chat { flex: 1; overflow-y: auto; padding: 14px 12px 8px; display: flex; flex-direction: column; gap: 8px; }
.msg { max-width: 84%; padding: 9px 13px; border-radius: 14px; font-size: 14px; line-height: 1.45; white-space: pre-wrap; word-break: break-word; }
.msg.bot { align-self: flex-start; background: #fff; border: 1px solid #dde6ee; border-bottom-left-radius: 4px; }
.msg.user { align-self: flex-end; background: #1f6fb2; color: #fff; border-bottom-right-radius: 4px; }
.options { display: flex; flex-wrap: wrap; gap: 6px; align-self: flex-start; max-width: 92%; }
.opt {
  border: 1px solid #1f6fb2; color: #1f6fb2; background: #fff;
  border-radius: 16px; padding: 6px 13px; font-size: 13px; cursor: pointer;
}
.opt:hover { background: #e8f1f9; }
.options.done .opt { opacity: .45; pointer-events: none; }
.typing { align-self: flex-start; color: #8aa1b5; font-size: 12px; padding: 2px 6px; }

#inputbar { display: flex; gap: 8px; padding: 10px 12px; background: #fff; border-top: 1px solid #dde6ee; }
#msg {
  flex: 1; border: 1px solid #c6d4e0; border-radius: 20px; padding: 9px 14px;
  font-size: 14px; outline: none;
}
#msg:focus { border-color: #1f6fb2; }
#msg.private { -webkit-text-security: disc; }
#send {
  border: none; background: #1f6fb2; color: #fff; border-radius: 50%;
  width: 40px; height: 40px; font-size: 15px; cursor: pointer;
}
#send:disabled { opacity: .5; }

#gate-screen { position: fixed; inset: 0; background: #eef3f8; display: flex; align-items: center; justify-content: center; z-index: 10; }
#gate-screen[hidden] { display: none; }
.gate-card { background: #fff; border: 1px solid #dde6ee; border-radius: 12px; padding: 28px 32px; text-align: center; max-width: 400px; }
.gate-card h2 { color: #1f6fb2; margin-bottom: 12px; font-size: 18px; }
.gate-card p { font-size: 13px; line-height: 1.7; color: #51606f; }
