/* BREEZY LOVE — AI assistant widget */
.bl-chat-launcher {
  position: fixed; right: 24px; bottom: 24px; z-index: 900;
  width: 76px; height: 76px; border-radius: 50%; border: none; cursor: pointer;
  background: #F6FAF3; padding: 0; overflow: visible;
  box-shadow: 0 10px 30px rgba(47, 74, 56, .26), 0 0 0 3px #fff;
  display: grid; place-items: center; transition: transform .2s, box-shadow .2s;
}
.bl-chat-launcher:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 14px 36px rgba(47, 74, 56, .32), 0 0 0 3px #fff; }
.bl-chat-launcher img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; border: none; pointer-events: none; display: block; }
.bl-chat-launcher::after {
  content: ''; position: absolute; top: 4px; right: 6px; width: 12px; height: 12px;
  border-radius: 50%; background: #E09A3E; border: 2.5px solid #fff;
}
.bl-chat-launcher .bl-chat-launcher-label {
  position: absolute; right: 88px; bottom: 22px; white-space: nowrap;
  background: #2F4A38; color: #F6FAF3; font-size: 12.5px; letter-spacing: .3px;
  padding: 8px 14px; border-radius: 999px; opacity: 0; transform: translateX(6px);
  transition: opacity .2s, transform .2s; pointer-events: none;
}
.bl-chat-launcher:hover .bl-chat-launcher-label { opacity: 1; transform: none; }

.bl-chat-panel {
  position: fixed; right: 24px; bottom: 116px; z-index: 950;
  width: 380px; height: 562px; max-height: calc(100vh - 130px);
  background: #fff; border: 1px solid #DCE7DA; border-radius: 20px;
  box-shadow: 0 28px 70px rgba(47, 74, 56, .22);
  display: none; flex-direction: column; overflow: hidden;
  font-family: 'Inter', 'Segoe UI', -apple-system, Arial, sans-serif;
}
.bl-chat-panel.open { display: flex; animation: blChatIn .22s ease; }
@keyframes blChatIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.bl-chat-head {
  background: #2F4A38; color: #fff; padding: 16px 18px;
  display: flex; align-items: center; gap: 12px; flex: none;
}
.bl-chat-head img { width: 54px; height: 54px; border-radius: 50%; background: #F6FAF3; padding: 2px; }
.bl-chat-head .bl-chat-title { font-size: 15px; font-weight: 700; letter-spacing: .3px; }
.bl-chat-head .bl-chat-sub { font-size: 12px; color: #C9DCC9; margin-top: 2px; }
.bl-chat-close {
  margin-left: auto; background: rgba(255,255,255,.12); border: none; color: #fff;
  width: 28px; height: 28px; border-radius: 50%; cursor: pointer; font-size: 16px; line-height: 1;
}
.bl-chat-close:hover { background: rgba(255,255,255,.22); }

.bl-chat-body { flex: 1; overflow-y: auto; padding: 18px 16px 8px; background: #FBFDF9; }
.bl-chat-msg { display: flex; gap: 8px; margin-bottom: 14px; }
.bl-chat-msg .bl-bubble {
  max-width: 78%; padding: 11px 14px; border-radius: 14px; font-size: 14.5px; line-height: 1.55;
  white-space: pre-wrap; word-break: break-word;
}
.bl-chat-msg.bot .bl-bubble { background: #EDF4EA; color: #2F4A38; border-bottom-left-radius: 5px; }
.bl-chat-msg.user { justify-content: flex-end; }
.bl-chat-msg.user .bl-bubble { background: #4E8A5F; color: #fff; border-bottom-right-radius: 5px; }
.bl-chat-msg .bl-avatar { width: 42px; height: 42px; flex: none; margin-top: 2px; border-radius: 50%; object-fit: cover; opacity: 1; }

.bl-chat-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 12px; background: #FBFDF9; }
.bl-chat-chip {
  font-family: inherit; font-size: 12.5px; color: #3E6B4C; background: #fff;
  border: 1px solid #DCE7DA; border-radius: 999px; padding: 7px 12px; cursor: pointer;
  transition: all .16s;
}
.bl-chat-chip:hover { border-color: #4E8A5F; background: #F2F8EE; }

.bl-chat-input { border-top: 1px solid #E7F0E4; padding: 10px 12px; display: flex; gap: 8px; align-items: flex-end; background: #fff; flex: none; }
.bl-chat-input textarea {
  flex: 1; resize: none; border: 1px solid #DCE7DA; border-radius: 12px; padding: 10px 12px;
  font-family: inherit; font-size: 14px; color: #2F4A38; line-height: 1.4;
  max-height: 96px; min-height: 42px; outline: none; background: #FBFDF9;
}
.bl-chat-input textarea:focus { border-color: #4E8A5F; box-shadow: 0 0 0 3px rgba(78,138,95,.12); }
.bl-chat-send {
  flex: none; width: 40px; height: 40px; border-radius: 50%; border: none; cursor: pointer;
  background: #E09A3E; color: #fff; display: grid; place-items: center; transition: background .16s;
}
.bl-chat-send:hover { background: #c9852f; }
.bl-chat-send:disabled { background: #D8CDBB; cursor: not-allowed; }
.bl-chat-send svg { width: 18px; height: 18px; }

.bl-chat-foot { font-size: 11px; color: #8A9C89; text-align: center; padding: 0 0 10px; background: #fff; }
.bl-chat-foot a { color: #4E8A5F; }

.bl-typing { display: inline-flex; gap: 4px; align-items: center; }
.bl-typing i {
  width: 6px; height: 6px; border-radius: 50%; background: #6E8F6B; display: block;
  animation: blBlink 1.1s infinite;
}
.bl-typing i:nth-child(2) { animation-delay: .18s; }
.bl-typing i:nth-child(3) { animation-delay: .36s; }
@keyframes blBlink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }

@media (max-width: 520px) {
  .bl-chat-panel { right: 0; left: 0; bottom: 0; width: auto; height: 82vh; border-radius: 20px 20px 0 0; }
  .bl-chat-launcher { right: 16px; bottom: 16px; }
  .bl-chat-launcher .bl-chat-launcher-label { display: none; }
}
