/* Logix AI Bot styles */
#logixBotLauncher {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--clr-primary, #0F172A);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: background 0.3s, transform 0.2s;
}
#logixBotLauncher:hover {background: var(--clr-primary-light, #1E293B);}
#logixBotLauncher:active {transform: scale(0.95);}

#logixBotModal[aria-hidden="false"] {display: block;}
#logixBotModal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}
.logix-bot-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
}
.logix-bot-dialog {
  position: relative;
  background: var(--clr-bg, #ffffff);
  color: var(--clr-text, #0F172A);
  width: 360px;
  max-width: calc(100vw - 24px);
  max-height: 85vh;
  margin: 12px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.logix-bot-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  font-size: 1.3rem;
  color: #fff;
  cursor: pointer;
}
.logix-bot-header {
  padding: 1rem;
  background: var(--clr-primary, #0F172A);
  color: #fff;
  font-weight: 600;
  text-align: center;
}
.logix-bot-messages {
  flex: 1;
  padding: 0.8rem 1rem;
  overflow-y: auto;
  background: #f9fafb;
}
.logix-msg-user, .logix-msg-bot {
  margin: 0.4rem 0;
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  max-width: 85%;
}
.logix-msg-user {background: var(--clr-primary, #0F172A); color: #fff; align-self: flex-end;}
.logix-msg-bot {background: #e5e7eb; color: var(--clr-text, #0F172A); align-self: flex-start;}

.logix-bot-input-wrapper {
  display: flex;
  border-top: 1px solid #e5e7eb;
}
#logixBotInput {
  flex: 1;
  border: none;
  padding: 0.8rem;
  font-size: 1rem;
}
#logixBotSend {
  background: var(--clr-primary, #0F172A);
  color: #fff;
  border: none;
  padding: 0 1rem;
  cursor: pointer;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {transition-duration: 0ms !important;}
}
