/* Main container */
.chat-container {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  height: 100%;
  width: 100%;
}

/* Header styles */
.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid #333;
  background-color: #000;
  border-radius: 20px 20px 0 0;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-eye {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eye-outer {
  width: 32px;
  height: 20px;
  background-color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eye-inner {
  width: 24px;
  height: 8px;
  background-color: black;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
}

.eye-dot {
  width: 6px;
  height: 6px;
  background-color: #4361ee;
  border-radius: 50%;
}

.logo-mouth {
  position: absolute;
  bottom: 0;
  width: 24px;
  height: 12px;
  background-color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mouth-dots {
  display: flex;
  gap: 2px;
}

.mouth-dot {
  width: 2px;
  height: 2px;
  background-color: black;
  border-radius: 50%;
}

.title {
  font-size: 24px;
  font-weight: bold;
  margin: 0;
}

.status {
  display: flex;
  align-items: center;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: #43ee7d;
  border-radius: 50%;
  margin-right: 4px;
}

.status-text {
  color: #43ee7d;
  font-size: 14px;
  margin-top: 2px;
}

.minimize-button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid white;
  background-color: transparent;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.minus-icon {
  font-size: 20px;
  line-height: 1;
}

/* Chat messages area */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.message-container {
  display: flex;
  max-width: 100%;
  padding: 0 16px;
  gap: 10px;
  display: flex;
  align-items: flex-end;
  margin-bottom: 16px;
}

.user-message {
  justify-content: flex-end;
  flex-direction: column;
  align-items: end;
}

.bot-message {
  justify-content: flex-start;
  flex-direction: column;
  align-items: start;
}

.message-bubble {
  padding: 12px 16px;
  max-width: 70%;
  position: relative;
}

.user-bubble {
  background-color: #e8ebf0;
  color: black;
  width: 70%;
  border-radius: 16px 16px 0 16px;
}

.bot-bubble {
  background-color: black;
  color: white;
  border-radius: 16px 16px 16px 0;
}

.user-avatar,
.bot-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 2;
}

.user-avatar img,
.bot-avatar img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  margin-left: 8px;
  background: black;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 4px 4px 0px #00000040;
}

.avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bot-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  box-shadow: 0px 4px 4px 0px #00000040;
}

.bot-avatar img {
  width: 25px;
  height: 25px;
}

.bot-logo-small {
  position: relative;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bot-eye-outer {
  width: 20px;
  height: 12px;
  background-color: white;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bot-eye-inner {
  width: 16px;
  height: 6px;
  background-color: black;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2px;
}

.bot-eye-dot {
  width: 4px;
  height: 4px;
  background-color: #4361ee;
  border-radius: 50%;
}

.bot-mouth {
  position: absolute;
  bottom: 0;
  width: 16px;
  height: 8px;
  background-color: white;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bot-mouth-dots {
  display: flex;
  gap: 2px;
}

.bot-mouth-dot {
  width: 2px;
  height: 2px;
  background-color: black;
  border-radius: 50%;
}

/* Quick actions */
.quick-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 12px;
  overflow: scroll;
  width: 100%;
  white-space: nowrap;
}

.action-button {
  color: #444444;
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  box-shadow: 0px 1px 0px 0px #0000001F;
  background: #e8ebf0;
}

.action-emoji {
  margin-right: 8px;
}

/* Input area */
.input-area {
  padding: 0 16px 16px 16px;
}

.input-container {
  display: flex;
  align-items: center;
  background-color: #e8ebf0;
  border-radius: 24px;
  padding: 12px;
}

.message-input {
  flex: 1;
  background-color: transparent;
  border: none;
  outline: none;
  color: #333;
  font-size: 16px;
}

.message-input::placeholder {
  color: #777;
}

.send-button {
  margin-left: 8px;
  background-color: transparent;
  border: none;
  color: #4361ee;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-icon-button:focus,
.chat-icon-button:focus-visible {
  outline: none !important;
}