/* FoxMed Chatbot-Widget */
#fox-bot-btn {
  position: fixed; right: 18px; bottom: 18px; z-index: 500;
  width: 58px; height: 58px; border-radius: 50%;
  background: #A65338; color: #fff; border: none; cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; line-height: 1;
}
#fox-bot-btn:hover { background: #8E452E; }
#fox-bot-panel {
  position: fixed; right: 18px; bottom: 86px; z-index: 500;
  width: min(360px, calc(100vw - 36px)); height: min(520px, calc(100vh - 150px));
  background: #EFE9E1; color: #211F1D; border: 1px solid #D6CEC3;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  display: none; flex-direction: column; overflow: hidden;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
#fox-bot-panel.open { display: flex; }
#fox-bot-head {
  background: #211F1D; color: #EFE9E1; padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 700; font-size: 15px;
}
#fox-bot-head small { display: block; font-weight: 400; color: #C9C2B8; font-size: 12px; margin-top: 2px; }
#fox-bot-close { background: none; border: none; color: #EFE9E1; font-size: 20px; cursor: pointer; line-height: 1; }
#fox-bot-log {
  flex: 1; overflow-y: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px;
}
.fox-bot-msg { max-width: 86%; padding: 10px 13px; font-size: 14.5px; line-height: 1.45; }
.fox-bot-msg.bot { align-self: flex-start; background: #E7E0D6; }
.fox-bot-msg.user { align-self: flex-end; background: #A65338; color: #fff; }
.fox-bot-msg a { color: inherit; font-weight: 700; text-decoration: underline; }
.fox-bot-msg.bot a { color: #A65338; }
#fox-bot-form { display: flex; border-top: 1px solid #D6CEC3; }
#fox-bot-input {
  flex: 1; border: none; background: transparent; padding: 13px 14px;
  font-size: 16px; color: #211F1D; outline: none;   /* 16px: iPhone zoomt sonst beim Tippen */
}
#fox-bot-send {
  border: none; background: #A65338; color: #fff; padding: 0 18px;
  font-weight: 700; cursor: pointer; font-size: 14px;
}
#fox-bot-send:hover { background: #8E452E; }
@media (max-width: 760px) {
  #fox-bot-panel { right: 8px; left: 8px; width: auto; top: 8px; bottom: 8px; height: auto; }
  #fox-bot-btn { right: 14px; bottom: 96px; }
  body.fox-bot-open #fox-bot-btn, body.fox-bot-open .cartbar { display: none; }
  #fox-bot-close { font-size: 28px; padding: 4px 8px; }
}
