/* =============== La Belle Chatbot – Styles =============== */
:root {
  --accent: #F02883;
  --bg: #ffffff;
  --text: #232323;
  --muted: #8a8a8a;
  --shadow: 0 12px 30px rgba(0,0,0,.12);
  --radius: 16px;
}

#labelle-chatbot {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.lb-floating {
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: var(--shadow);
  cursor: pointer; border: none; outline: none;
  transition: transform .15s ease;
}
.lb-floating:hover { transform: translateY(-2px); }
.lb-floating svg { width: 28px; height: 28px; }

.lb-panel {
  position: absolute; right: 0; bottom: 80px;
  width: min(380px, calc(100vw - 32px));
  height: 520px; display: none; flex-direction: column;
  background: var(--bg); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  border: 1px solid rgba(0,0,0,.05);
}

.lb-header {
  padding: 14px 16px; background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.06);
  display: flex; align-items: center; gap: 10px;
}
.lb-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); display: grid; place-items: center; color: #fff;
  font-weight: 700;
}
.lb-title { font-weight: 700; color: var(--text); }
.lb-sub { font-size: 12px; color: var(--muted); }

.lb-body {
  padding: 16px; background: #fafafa; flex: 1; overflow-y: auto;
}
.lb-msg {
  max-width: 85%; padding: 10px 12px; margin: 6px 0;
  line-height: 1.35; border-radius: 12px; font-size: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
  word-wrap: break-word; white-space: pre-wrap;
}
.lb-msg.user   { background: #fff; color: var(--text); margin-left: auto; border: 1px solid rgba(0,0,0,.06); }
.lb-msg.bot    { background: #ffe7f2; color: #3a0020; border: 1px solid #ffd0e6; }
.lb-typing { font-size: 12px; color: var(--muted); margin: 6px 0; }

.lb-footer {
  padding: 10px; background: #fff; border-top: 1px solid rgba(0,0,0,.06);
  display: flex; gap: 8px;
}
.lb-input {
  flex: 1; border: 1px solid rgba(0,0,0,.12); border-radius: 12px;
  padding: 12px 12px; font-size: 14px; outline: none; background: #fff;
}
.lb-send {
  background: var(--accent); color: #fff; border: none; border-radius: 12px;
  padding: 0 14px; cursor: pointer; font-weight: 600; min-width: 86px;
}
.lb-send:disabled { opacity: .6; cursor: not-allowed; }

.lb-note {
  font-size: 11px; color: var(--muted); text-align: center; padding: 6px 12px;
  background: #fff; border-top: 1px dashed rgba(0,0,0,.1);
}
/* Chatbot Button-Design */
.lb-btn {
  display: inline-block;
  margin-top: 8px;
  background: var(--accent);
  color: #fff !important;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s;
}
.lb-btn:hover { background: #d81b6a; }
