/* Airconnect Chatbot (matches ac-chatbot.js classes exactly) */

#acChatFab, #acChatPanel, #acChatFab * , #acChatPanel *{
  box-sizing: border-box;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Floating Button */
#acChatFab{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 99999;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

#acChatFab .acChatPill{
  background: #fff;
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  color: #111;
}

#acChatFab .acChatDot{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34,197,94,.15);
}

#acChatFab .acChatIcon{
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #0ea5e9;
  box-shadow: 0 12px 30px rgba(0,0,0,.22);
  border: 0;
  color: #fff;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Panel */
#acChatPanel{
  position: fixed;
  right: 18px;
  bottom: 88px;
  width: 360px;
  max-width: calc(100vw - 36px);
  background: #fff;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0,0,0,.22);
  z-index: 99999;
  overflow: hidden;
}

/* Header */
#acChatPanel .acChatHeader{
  padding: 12px 14px;
  border-bottom: 1px solid rgba(0,0,0,.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

#acChatPanel .acChatHeader strong{
  font-size: 14px;
  font-weight: 800;
  color: #111;
}

#acChatPanel .acChatClose{
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  color: #444;
  padding: 4px 8px;
  border-radius: 10px;
}

#acChatPanel .acChatClose:hover{
  background: rgba(0,0,0,.06);
}

/* Body */
#acChatPanel .acChatBody{
  padding: 12px 14px 14px;
}

#acChatPanel .acChatIntro{
  margin: 0 0 10px;
  font-size: 12.5px;
  line-height: 1.35;
  color: #444;
}

/* Options / Chips */
#acChatPanel .acChatOptions{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}

#acChatPanel .acChatChip{
  appearance: none;
  border: 1px solid rgba(2,6,23,.12);
  background: #f8fafc;
  color: #0f172a;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .06s ease, background .12s ease, border-color .12s ease;
}

#acChatPanel .acChatChip:hover{
  background: #eef6ff;
  border-color: rgba(14,165,233,.35);
}

#acChatPanel .acChatChip:active{
  transform: scale(.98);
}

/* Buttons (links) */
#acChatPanel .acChatBtn{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  margin-top: 8px;
  color: #0b4a6f;
  background: #e6f6ff;
  border: 1px solid rgba(14,165,233,.25);
}

#acChatPanel .acChatBtn:hover{
  filter: brightness(.98);
}

#acChatPanel .acChatBtn.acOutline{
  background: #fff;
  border: 1px solid rgba(0,0,0,.12);
  color: #111;
}

/* Mobile */
@media (max-width: 420px){
  #acChatPanel{
    left: 12px;
    right: 12px;
    width: auto;
    bottom: 84px;
  }
  #acChatFab{
    right: 12px;
    bottom: 12px;
  }
  #acChatFab .acChatPill{
    display: none;
  }
}

/* Make panel feel premium */
#acChatPanel{
  backdrop-filter: blur(8px);
}

#acChatPanel .acChatHeader{
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

#acChatPanel .acChatBtn{
  height: 44px;
  font-size: 14px;
  letter-spacing: .2px;
}

#acChatPanel .acChatOptions{
  max-height: 92px;        /* keep compact */
  overflow: auto;          /* scroll if many services */
  padding-bottom: 4px;
}

#acChatPanel .acChatOptions::-webkit-scrollbar{
  height: 6px;
  width: 6px;
}
#acChatPanel .acChatOptions::-webkit-scrollbar-thumb{
  background: rgba(0,0,0,.15);
  border-radius: 99px;
}
#acChatPanel {
  width: 340px;
  max-height: 78vh;
  overflow-y: auto;
  border-radius: 16px;
}
#acChatPanel .acChatChip {
  background: #f4f8ff;
  border: 1px solid rgba(2,6,23,0.12);
  font-weight: 600;
  transition: all 0.2s ease;
}

#acChatPanel .acChatChip:hover {
  background: #e8f1ff;
  transform: translateY(-1px);
}
#acChatPanel .acChatMore {
  background: none;
  border: none;
  color: #2563eb;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 4px;
}
#acChatPanel .acChatBtn:first-of-type {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  font-weight: 700;
}
.acChatHeader {
  background: linear-gradient(135deg, #0f172a, #020617);
  color: #fff;
  border-radius: 16px 16px 0 0;
}

