.cleo-chat-root {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  font-family: Inter, Arial, sans-serif;
}

.cleo-chat-toggle {
  border: none;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  cursor: pointer;
  background: #13213b;
  color: #fff;
  font-size: 22px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.cleo-chat-panel {
  width: 340px;
  height: 500px;
  margin-bottom: 12px;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
  border: 1px solid #e8ecf2;
  display: flex;
  flex-direction: column;
}

.cleo-chat-header {
  background: #13213b;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
}

.cleo-chat-header .cleo-close {
  border: none;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
}

.cleo-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  background: linear-gradient(180deg, #f7f9fd 0%, #ffffff 100%);
}

.cleo-msg {
  max-width: 85%;
  margin-bottom: 10px;
  border-radius: 12px;
  padding: 10px 12px;
  white-space: pre-wrap;
  line-height: 1.35;
  font-size: 14px;
}

.cleo-msg-user {
  margin-left: auto;
  background: #dceaff;
  color: #0c2a57;
}

.cleo-msg-bot {
  margin-right: auto;
  background: #edf1f8;
  color: #1f2b3d;
}

.cleo-chat-input-row {
  display: flex;
  gap: 8px;
  border-top: 1px solid #e8ecf2;
  padding: 10px;
  background: #fff;
}

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

.cleo-chat-input-row button {
  border: none;
  border-radius: 10px;
  padding: 8px 12px;
  background: #13213b;
  color: #fff;
  cursor: pointer;
}
