/* ================================
   GLASS CHAT PANEL
================================ */

#chat-panel {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.75),
    rgba(255, 255, 255, 0.55)
  );
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

/* Header */
#chat-panel > div:first-child {
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* Assistant bubble */
#chat-messages > div:not(.ml-auto) {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

/* User bubble */
#chat-messages > .ml-auto {
  background: rgba(108, 92, 231, 0.85);
  backdrop-filter: blur(6px);
}

/* Input bar */
#chat-panel .border-t {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* Input field */
#chat-input {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Backdrop */
#chat-backdrop {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.12),
    rgba(0, 0, 0, 0.18)
  );
}
