/* ========== CHAT LAUNCHER ========== */
#neupi-chat-launcher {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  background: #2563eb;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  cursor: pointer;
  z-index: 99999;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* ========== CHAT WINDOW ========== */
#neupi-chat {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 360px;
  max-height: 520px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  display: none;
  flex-direction: column;
  z-index: 99999;
  overflow: hidden;
}

/* HEADER */
#neupi-chat-header {
  background: #2563eb;
  color: #fff;
  padding: 14px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* BODY */
#neupi-chat-body {
  padding: 12px;
  overflow-y: auto;
  flex: 1;
  background: #f8fafc;
}

/* MESSAGES */
.message {
  margin-bottom: 12px;
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.4;
}

.bot {
  background: #e0e7ff;
  color: #1e3a8a;
  border-bottom-left-radius: 4px;
}

.user {
  background: #16a34a;
  color: #fff;
  margin-left: auto;
  border-bottom-right-radius: 4px;
}

/* QUICK REPLIES */
.quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}

.quick-replies button {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 13px;
}

/* ACTION BUTTONS */
.apply-btn {
  display: inline-block;
  margin-top: 6px;
  background: #16a34a;
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 13px;
}

.action-btn {
  margin-top: 8px;
  background: #2563eb;
  color: #fff;
  padding: 8px 14px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

/* ========== MOBILE FIXES ========== */
@media (max-width: 480px) {
  #neupi-chat {
    width: calc(100vw - 20px);
    left: 10px;
    right: 10px;
    bottom: 80px;
    max-height: 75vh;
  }

  .message {
    font-size: 13px;
    max-width: 90%;
  }

  .apply-btn,
  .action-btn {
    width: 100%;
    text-align: center;
  }
}
