#nilo-chat-button {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #FFD166;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: transform 0.2s ease;
}
#nilo-chat-button:hover { transform: scale(1.1); }
#nilo-chat-button img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
}

#nilo-chat-window {
  position: fixed;
  bottom: 110px;
  right: 25px;
  width: 330px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 0 15px rgba(0,0,0,0.25);
  overflow: hidden;
  display: none;
  flex-direction: column;
  z-index: 10000;
}
#nilo-chat-window.open { display: flex; animation: fadeIn 0.3s ease; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

#nilo-header {
  background: #FFD166;
  color: #222;
  display: flex;
  align-items: center;
  padding: 10px;
  font-weight: bold;
  gap: 10px;
}
#nilo-header img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

#nilo-messages {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
  max-height: 320px;
  background: #fafafa;
  color: #222;
  display: flex;
  flex-direction: column;
}

.nilo-message {
  margin: 6px 0;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.4;
  max-width: 75%;
  word-wrap: break-word;
}
.nilo-user {
  background: #FFD166;
  align-self: flex-end;
  color: #000;
}
.nilo-nilo {
  background: #eaeaea;
  align-self: flex-start;
  color: #000;
}

#nilo-input-area {
  display: flex;
  border-top: 1px solid #ddd;
  background: #fff;
}
#nilo-input {
  flex: 1;
  padding: 10px;
  border: none;
  outline: none;
  font-size: 14px;
}
#nilo-send {
  background: #FFD166;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-weight: bold;
  color: #000;
  transition: background 0.2s ease;
}
#nilo-send:hover { background: #ffcc33; }

/* 🟢 Quick questions styling */
#nilo-quick-questions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
#nilo-quick-questions button {
  background: #fff4c2;
  border: 1px solid #ffd166;
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}
#nilo-quick-questions button:hover {
  background: #ffd166;
  color: #000;
}
