body {
  margin: 0;
  padding: 0;
  font-family: system-ui, sans-serif;
  background: transparent;
  height: 100vh;
  overflow: hidden;
}

#llama-chat-ui {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  background-color: #fff;
  z-index: 10000;
}

.chat-header {
  background-color: #1e1e2f;
  color: white;
  padding: 16px;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.status {
  font-size: 12px;
  color: #a0ffa0;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  background: #f4f4f7;
}

.chat-input {
  display: flex;
  padding: 12px;
  background: #fff;
  border-top: 1px solid #ccc;
  flex-shrink: 0;
  gap: 8px;
}

.chat-input input {
  flex: 1;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 10px;
  font-size: 14px;
}

.chat-input button {
  background: #1e88e5;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 10px 16px;
  cursor: pointer;
  font-weight: bold;
}

.msg {
  margin: 10px 0;
  display: flex;
}

.msg.user {
  justify-content: flex-end;
}

.msg.bot {
  justify-content: flex-start;
}

.bubble {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 16px;
  line-height: 1.4;
  font-size: 14px;
  word-break: break-word;
}

.msg.user .bubble {
  background: #007bff;
  color: white;
  border-bottom-right-radius: 4px;
}

.msg.bot .bubble {
  background: #e9ecef;
  color: #000;
  border-bottom-left-radius: 4px;
}

/* Responsiivisuus mobiililaitteille */
@media (max-width: 600px) {
  .chat-header {
    font-size: 14px;
    padding: 12px;
  }

  .chat-messages {
    padding: 12px;
  }

  .chat-input {
    flex-direction: column;
    padding: 10px;
  }

  .chat-input input {
    font-size: 16px;
    padding: 12px;
    width: 100%;
  }

  .chat-input button {
    width: 100%;
    margin-left: 0;
    margin-top: 8px;
    padding: 12px;
    font-size: 16px;
  }

  .bubble {
    font-size: 16px;
    max-width: 100%;
  }
}
