#chatbox {
  width: 100%;
  max-width: 600px;
  height: 500px;
  border: 2px solid #555;
  background: #1e1e1e;
  padding: 10px;
  overflow-y: auto;
  margin-bottom: 10px;
  border-radius: 10px;
  margin:auto;
}

.message {
  margin: 5px 0;
  padding: 8px 12px;
  border-radius: 8px;
  max-width: 80%;
}

.user {
  background: #2979ff;
  align-self: flex-end;
  text-align: right;
  margin-left: auto;
}

.aurora {
  background: #444;
  align-self: flex-start;
  margin-right: auto;
}

#AuroraInputArea {
  display: flex;
  width: 100%;
  max-width: 600px;
}

#userInput {
  flex: 1;
  padding: 10px;
  border-radius: 5px 0 0 5px;
  border: none;
}

#sendBtn {
  padding: 10px 20px;
  border: none;
  background: #2979ff;
  color: white;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
}

/* Show pictures */
.message.ai {
  white-space: normal;
  overflow: visible;
}

.message img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-top: 5px;
}

.message.ai img {
  border-radius: 8px;
  margin: 5px 0;
}

#auroraChatButton {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000001;
  cursor: pointer;
  width: 200px;
  height: 100px;
}

#auroraChatButton img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
  width: 100%;
  transition: transform 0.3s ease;
}

#auroraChatButton img:hover {
  transform: scale(1.05);
}

#auroraChatBox {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 300px;
  max-height: 80vh;
  background: #292948;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transform: translateY(120%);
  transition: transform 0.4s ease;
  z-index: 1000001;
  display: flex;
  flex-direction: column;
}

#auroraChatBox.open {
  transform: translateY(0%);
}

#auroraChatHeader {
  background: #292948;
  color: #fff;
  padding: 10px 15px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#closeChat {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

#chatbox {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
  background: #2f2f48;
  color: white;
  width:88%;
  min-height:250px;
}

#inputArea {
  display: flex;
  border-top: 1px solid #444;
  padding: 10px;
  background: #292948;
  width:94%;
}

#inputArea textarea {
  flex: 1;
  resize: none;
  padding: 8px;
  border-radius: 6px;
  border: none;
  font-size: 14px;
  min-height: 40px;
  max-height: 100px;
  line-height: 1.4;
  overflow-y: auto;
  background: #fff;
  margin-right: 3%;
  margin-left: 3%;
}

#inputArea button {
  padding: 8px 12px;
  border-radius: 6px;
  border: none;
  background: #4a9eff;
  color: white;
  cursor: pointer;
  font-weight: bold;
}

.emoji-picker__wrapper {
  position: fixed !important;
  z-index: 1000001 !important;
  bottom: 435px !important;  /* stel hier je gewenste afstand in */
  right: 20px !important;    /* afstand vanaf rechts */
  left: auto !important;     /* voorkom conflicten */
  transform: none !important; /* verwijdert de dynamische translate */
  width: 300px;
}
