/* EasyFix Agent Chatbot */
.ef-chat-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 1000;
  width: 60px; height: 60px; border-radius: 50%; border: none; cursor: pointer;
  background: linear-gradient(135deg, #4f46e5, #7c3aed); color: #fff; font-size: 28px;
  box-shadow: 0 8px 28px rgba(79,70,229,.45); transition: transform .2s;
  display: flex; align-items: center; justify-content: center;
}
.ef-chat-fab:hover { transform: scale(1.08); }
.ef-chat-panel {
  position: fixed; bottom: 96px; right: 24px; z-index: 1000;
  width: 360px; max-width: calc(100vw - 48px); height: 480px; max-height: calc(100vh - 140px);
  background: #fff; border-radius: 18px; box-shadow: 0 20px 60px rgba(15,23,42,.25);
  display: none; flex-direction: column; overflow: hidden; border: 1px solid #e2e8f0;
}
.ef-chat-panel.open { display: flex; }
.ef-chat-head {
  background: linear-gradient(135deg, #4f46e5, #7c3aed); color: #fff;
  padding: 16px 18px; display: flex; align-items: center; gap: 12px;
}
.ef-chat-head .av {
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0;
}
.ef-chat-head b { display: block; font-size: 16px; }
.ef-chat-head span { font-size: 12px; opacity: .85; }
.ef-chat-head .x { margin-left: auto; background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; opacity: .8; }
.ef-chat-head .x:hover { opacity: 1; }
.ef-chat-msgs { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: #f8fafc; }
.ef-msg { max-width: 82%; padding: 10px 14px; border-radius: 14px; font-size: 14px; line-height: 1.55; }
.ef-msg.bot { background: #fff; border: 1px solid #e2e8f0; align-self: flex-start; border-bottom-left-radius: 4px; }
.ef-msg.user { background: linear-gradient(135deg, #4f46e5, #7c3aed); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.ef-msg a { color: #4f46e5; font-weight: 600; }
.ef-msg.user a { color: #fff; }
.ef-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 10px; background: #f8fafc; }
.ef-chip {
  background: #eef2ff; border: 1px solid #c7d2fe; color: #4338ca; font-size: 13px; font-weight: 600;
  padding: 7px 13px; border-radius: 999px; cursor: pointer; transition: background .15s;
}
.ef-chip:hover { background: #e0e7ff; }
.ef-chat-input { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid #e2e8f0; background: #fff; }
.ef-chat-input input {
  flex: 1; border: 1px solid #e2e8f0; border-radius: 12px; padding: 11px 14px;
  font-size: 14px; outline: none;
}
.ef-chat-input input:focus { border-color: #4f46e5; }
.ef-chat-input button {
  background: linear-gradient(135deg, #4f46e5, #7c3aed); color: #fff; border: none;
  border-radius: 12px; padding: 0 18px; font-weight: 700; cursor: pointer; font-size: 14px;
}
@media (max-width: 480px) {
  .ef-chat-panel { right: 12px; bottom: 84px; width: calc(100vw - 24px); }
  .ef-chat-fab { right: 16px; bottom: 16px; }
}
