/* LexPilot Chatbot – Landscape / waagerechte Leiste mit CTA */
:root{
  --lp-aubergine: #443149;
  --lp-accent: #FF6A00;
  --lp-bg: #ffffff;
  --lp-soft: rgba(68,49,73,.05);
  --lp-border: rgba(0,0,0,.10);
  --lp-text: rgba(0,0,0,.9);
  --lp-muted: rgba(0,0,0,.6);
}

.lexpilot-chatbot-landscape{
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--lp-text);
  font-size: 13px;
}

/* Waagerechte Leiste über die ganze Inhaltsbreite */
.lexpilot-chatbot-landscape__bar{
  display:flex;
  align-items:stretch;
  gap: 0;
  width: 100%;
  min-height: 140px;
  max-height: 190px;
  border-radius: 14px;
  overflow:hidden;
  border: 1px solid var(--lp-border);
  background: #fbfbfb;
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
}

/* Linker Block: Logo + Hinweis, schmal */
.lexpilot-chatbot-landscape__left{
  flex: 0 0 240px;
  background: linear-gradient(135deg, var(--lp-aubergine), #2f2135);
  color:#fff;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding: 8px 10px;
}

.lexpilot-chatbot-landscape__brand{
  display:flex;
  align-items:center;
  gap: 8px;
}
.lexpilot-chatbot-landscape__logoWrap{
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.lexpilot-chatbot-landscape__logo{
  max-width: 100%;
  max-height: 100%;
}
.lexpilot-chatbot-landscape__logoFallback{
  font-size: 11px;
  font-weight: 700;
  color: var(--lp-aubergine);
}
.lexpilot-chatbot-landscape__titles{
  display:flex;
  flex-direction:column;
}
.lexpilot-chatbot-landscape__brandname{
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .2px;
}
.lexpilot-chatbot-landscape__tagline{
  font-size: 10px;
  opacity:.92;
  margin-top: 1px;
}

.lexpilot-chatbot-landscape__notice{
  margin-top: 8px;
  font-size: 11px;
  line-height: 1.3;
  color: rgba(255,255,255,.9);
}

/* Rechter Block: Chat-Log + Composer + CTA, breit, flach */
.lexpilot-chatbot-landscape__right{
  flex: 1 1 auto;
  display:flex;
  flex-direction:column;
  border-left: 1px solid var(--lp-border);
  background:#fff;
}

.lexpilot-chatbot-landscape__log{
  flex: 1 1 auto;
  padding: 6px 8px;
  overflow:auto;
  font-size: 12.5px;
}

.lexpilot-chatbot-landscape__msg{
  margin: 3px 0;
}
.lexpilot-chatbot-landscape__bubble{
  display:inline-block;
  max-width: 96%;
  padding: 5px 7px;
  border-radius: 10px;
  line-height: 1.4;
  font-size: 12.5px;
}
.lexpilot-chatbot-landscape__msg.user .lexpilot-chatbot-landscape__bubble{
  margin-left:auto;
  background: var(--lp-aubergine);
  color:#fff;
  border-top-right-radius: 6px;
  box-shadow: 0 4px 10px rgba(68,49,73,.25);
}
.lexpilot-chatbot-landscape__msg.bot .lexpilot-chatbot-landscape__bubble{
  margin-right:auto;
  background: #fff;
  border: 1px solid var(--lp-border);
  border-top-left-radius: 6px;
}
.lexpilot-chatbot-landscape__sources{
  font-size: 10px;
  opacity:.8;
  color: var(--lp-muted);
  margin-top: 1px;
}

/* Eingabebereich – flache Leiste */
.lexpilot-chatbot-landscape__composer{
  flex: 0 0 auto;
  display:flex;
  gap: 6px;
  padding: 6px 8px;
  border-top: 1px solid var(--lp-border);
  background:#fafafa;
}
.lexpilot-chatbot-landscape__input{
  flex:1;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.16);
  padding: 6px 8px;
  font-size: 12.5px;
  outline:none;
  background:#fff;
}
.lexpilot-chatbot-landscape__input:focus{
  border-color: rgba(68,49,73,.75);
  box-shadow: 0 0 0 2px rgba(68,49,73,.15);
}
.lexpilot-chatbot-landscape__send{
  border-radius: 999px;
  border:0;
  padding: 6px 10px;
  background: var(--lp-accent);
  color:#fff;
  font-weight:700;
  font-size: 12px;
  cursor:pointer;
  white-space:nowrap;
  box-shadow: 0 4px 10px rgba(255,106,0,.22);
}
.lexpilot-chatbot-landscape__send:disabled{
  opacity:.6;
  cursor:not-allowed;
}

/* CTA-Zeile direkt unter dem Chat */
.lexpilot-chatbot-landscape__cta{
  flex: 0 0 auto;
  padding: 4px 8px 7px;
  font-size: 11px;
  line-height: 1.35;
  color: var(--lp-muted);
  border-top: 1px solid var(--lp-border);
  background:#fff;
}
.lexpilot-chatbot-landscape__cta a{
  color: var(--lp-aubergine);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Mobile: stapelbar untereinander */
@media (max-width: 768px){
  .lexpilot-chatbot-landscape__bar{
    flex-direction:column;
    max-height:none;
  }
  .lexpilot-chatbot-landscape__left{
    flex: 0 0 auto;
    padding: 8px 10px;
  }
  .lexpilot-chatbot-landscape__right{
    flex: 1 1 auto;
  }
}
