/* DrLa Chat Assistant — matches Dr La Acupuncture emerald/gold/cream theme */
#drla-chat-root { position: fixed; right: 22px; bottom: 22px; z-index: 99999; font-family: Manrope, -apple-system, "Segoe UI", sans-serif; }
#drla-chat-bubble {
  width: 60px; height: 60px; border-radius: 50%; border: none; cursor: pointer;
  background: #0B3D2E; color: #FAF5EC; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(11,61,46,.35); transition: transform .2s ease;
}
#drla-chat-bubble:hover { transform: scale(1.06); }
#drla-chat-teaser {
  position: absolute; right: 0; bottom: 74px; width: 250px; background: #fff; color: #2B2B28;
  border-radius: 14px; padding: 14px 36px 14px 16px; font-size: 14px; line-height: 1.45;
  box-shadow: 0 10px 30px rgba(0,0,0,.18); cursor: pointer; animation: drla-pop .35s ease;
}
#drla-chat-teaser::after {
  content: ""; position: absolute; right: 22px; bottom: -8px; width: 16px; height: 16px;
  background: #fff; transform: rotate(45deg);
}
#drla-chat-teaser-close {
  position: absolute; top: 6px; right: 8px; border: none; background: none; font-size: 18px;
  color: #9a9a94; cursor: pointer; line-height: 1;
}
@keyframes drla-pop { from { opacity: 0; transform: translateY(10px);} to { opacity: 1; transform: none;} }
#drla-chat-window[hidden] { display: none; }
#drla-chat-window {
  position: absolute; right: 0; bottom: 74px; width: 360px; max-width: calc(100vw - 44px);
  height: 520px; max-height: calc(100vh - 140px); background: #FAF5EC; border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,.25); display: flex; flex-direction: column; overflow: hidden;
  animation: drla-pop .25s ease;
}
#drla-chat-header { background: #0B3D2E; color: #FAF5EC; padding: 16px 18px; position: relative; }
#drla-chat-header-title { font-family: Fraunces, Georgia, serif; font-size: 18px; font-weight: 600; }
#drla-chat-header-sub { font-size: 12px; opacity: .75; margin-top: 2px; }
#drla-chat-close { position: absolute; top: 10px; right: 12px; border: none; background: none; color: #FAF5EC; font-size: 24px; cursor: pointer; line-height: 1; }
#drla-chat-messages { flex: 1; overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; }
.drla-msg { max-width: 82%; padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.5; word-wrap: break-word; }
.drla-msg.bot { background: #fff; color: #2B2B28; border: 1px solid #e7e0d2; align-self: flex-start; border-bottom-left-radius: 4px; }
.drla-msg.user { background: #0B3D2E; color: #FAF5EC; align-self: flex-end; border-bottom-right-radius: 4px; }
.drla-msg a { color: #0B3D2E; font-weight: 700; }
.drla-msg.typing { display: flex; gap: 5px; padding: 14px 16px; }
.drla-msg.typing span { width: 7px; height: 7px; border-radius: 50%; background: #9CAF88; animation: drla-blink 1.2s infinite; }
.drla-msg.typing span:nth-child(2) { animation-delay: .2s; } .drla-msg.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes drla-blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
#drla-chat-quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 14px 10px; }
.drla-quick-btn {
  border: 1.5px solid #C6A15B; background: #fff; color: #0B3D2E; border-radius: 999px;
  padding: 7px 14px; font-size: 13px; cursor: pointer; transition: all .15s ease; font-family: inherit;
}
.drla-quick-btn:hover { background: #C6A15B; color: #fff; }
#drla-chat-inputrow { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid #e7e0d2; background: #fff; }
#drla-chat-input { flex: 1; border: 1.5px solid #e0d9c8; border-radius: 999px; padding: 10px 16px; font-size: 14px; outline: none; font-family: inherit; }
#drla-chat-input:focus { border-color: #0B3D2E; }
#drla-chat-send { width: 42px; height: 42px; border-radius: 50%; border: none; background: #C6A15B; color: #fff; font-size: 18px; cursor: pointer; flex-shrink: 0; }
#drla-chat-send:hover { background: #b08d4e; }
@media (max-width: 480px) {
  #drla-chat-root { right: 14px; bottom: 14px; }
  #drla-chat-window { bottom: 70px; }
}
