/* ── drawer shell ─────────────────────────────── */
.bellhop-drawer-shell {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99999;
}

.bellhop-drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 10, 18, 0.58);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.bellhop-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: min(460px, 94vw);
  height: 100%;
  background: linear-gradient(180deg, #10151c 0%, #0a0f16 100%);
  border-left: 1px solid rgba(184, 149, 87, 0.25);
  box-shadow: -18px 0 40px rgba(0,0,0,.35);
  transform: translateX(100%);
  transition: transform 0.32s ease;
  display: flex;
  flex-direction: column;
  color: #f5f1e8;
}

.bellhop-drawer-shell.is-open {
  pointer-events: auto;
}
.bellhop-drawer-shell.is-open .bellhop-drawer-overlay {
  opacity: 1;
}
.bellhop-drawer-shell.is-open .bellhop-drawer {
  transform: translateX(0);
}

body.bellhop-open {
  overflow: hidden;
}

/* ── pull-tab ────────────────────────────────── */
.bellhop-pull-tab {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 99998;
  display: flex;
  align-items: center;
  gap: 6px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  padding: 14px 10px;
  background: linear-gradient(180deg, #1a2230 0%, #10151c 100%);
  border: 1px solid rgba(184, 149, 87, 0.35);
  border-right: none;
  border-radius: 12px 0 0 12px;
  color: #d5ae60;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: -4px 0 16px rgba(0,0,0,0.25);
  transition: transform 0.28s ease, opacity 0.28s ease;
}
.bellhop-pull-tab:hover {
  transform: translateY(-50%) translateX(-4px);
  box-shadow: -6px 0 22px rgba(0,0,0,0.35);
}
.bellhop-pull-tab .bellhop-pull-tab-icon {
  font-size: 18px;
  writing-mode: horizontal-tb;
}
.bellhop-pull-tab .bellhop-pull-tab-label {
  white-space: nowrap;
}
.bellhop-pull-tab.is-hidden {
  transform: translateY(-50%) translateX(100%);
  opacity: 0;
  pointer-events: none;
}

/* ── close button ────────────────────────────── */
.bellhop-drawer-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  color: #f5f1e8;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

/* ── chat header ─────────────────────────────── */
.bellhop-chat-header {
  padding: 28px 24px 18px;
  background: linear-gradient(180deg, #151c25 0%, #10151c 100%);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.bellhop-chat-title {
  font-size: 28px;
  font-weight: 700;
  color: #d5ae60;
}
.bellhop-chat-subtitle {
  font-size: 14px;
  opacity: 0.82;
  margin-top: 6px;
}

/* ── header avatar (animated SVG) ────────────── */
.bellhop-header-avatar {
  display: flex;
  justify-content: center;
  margin-bottom: 6px;
}

.bellhop-avatar-svg {
  display: flex;
  justify-content: center;
  align-items: center;
}

.bellhop-avatar-svg svg {
  width: 120px;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

/* ── quick actions ───────────────────────────── */
.bellhop-quick-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
}
.bellhop-quick-actions button {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: #f5f1e8;
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 13px;
}

/* ── messages ────────────────────────────────── */
.bellhop-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: radial-gradient(circle at top, rgba(40,62,92,.18), transparent 38%), #0b1016;
}
.bellhop-msg {
  max-width: 88%;
  padding: 12px 14px;
  border-radius: 16px;
  line-height: 1.5;
  font-size: 14px;
}
.bellhop-msg-user {
  align-self: flex-end;
  background: #c8a35b;
  color: #0e1218;
}
.bellhop-msg-assistant {
  align-self: flex-start;
  background: #17202a;
  color: #f5f1e8;
}
.bellhop-thinking {
  opacity: 0.76;
  font-style: italic;
}

/* ── form ────────────────────────────────────── */
.bellhop-chat-form {
  display: flex;
  gap: 10px;
  padding: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: #10151c;
}
.bellhop-chat-form input[type="text"] {
  flex: 1;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  background: #161d26;
  color: #f5f1e8;
  outline: none;
}
.bellhop-chat-form button {
  padding: 14px 16px;
  border: 0;
  border-radius: 14px;
  background: #c8a35b;
  color: #11151b;
  font-weight: 700;
  cursor: pointer;
}

/* ── embed widget ────────────────────────────── */
.bellhop-chat-widget-embed {
  max-width: 520px;
  border: 1px solid rgba(255,255,255,0.12);
  background: #111418;
  color: #f5f1e8;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0,0,0,0.25);
}