@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Merienda+One&display=swap");

:root {
  --dark-color-a: #0b27e0;
  --dark-color-b: #0c2bf2;
  --light-color: #2472d4;
  --success-color: #5cb85c;
  --error-color: #d9534f;
  --grey-color: #ebebed;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  margin: 0;
  padding: 0;
  color: #fff;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

.btn {
  cursor: pointer;
  background: #ffffff;
  border: 0;
  font-size: 17px;
  font-weight: 500;
  outline: 0 none;
  border-radius: 5em;
  transition: all 0.25s ease-in-out;
}

.chat-icon {
  position: fixed;
  width: 56px;
  height: 56px;
  background-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  /*box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;*/
}

.chat-icon img {
  width: 100%;
  height: 100%;
}

.chat-container {
  border: 1px solid black;
  background: #fff;
  margin: 0 auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0px 5px 20px 20px #e8e8e8;
  height: 100%;
}

.chat-header {
  color: white;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #002F6C;
}

.chat-buttons {
  display: flex;
  gap: 10px;
}

.chat-header img {
  cursor: pointer;
  width: 20px;
  height: 20px;
}

.chat-main {
  flex: auto;
  overflow: hidden;
}

.chat-messages {
  padding: 10px;
  max-height: 100%;
  overflow-y: auto;
}

.chat-messages .bot-message {
  padding: 10px;
  margin-bottom: 15px;
  background-color: var(--light-color);
  border-radius: 5px;
  max-width: 80%;
  width: fit-content;
  word-wrap: break-word;
  word-break: break-word;
}

.chat-messages .notification {
  padding: 10px;
  margin-bottom: 15px;
  background-color: transparent;
  border-radius: 5px;
  max-width: 100%;
  word-wrap: break-word;
  word-break: break-word;
  color: #6e6e6e;
  text-align: center;
}

.chat-messages .bot-message .meta {
  font-family: "Merienda One", cursive;
  font-size: 15px;
  font-weight: bold;
  color: var(--dark-color-b);
  opacity: 0.7;
  margin-bottom: 7px;
}

.chat-messages .bot-message .meta span {
  color: #777;
  font-family: "Roboto", cursive;
}

.chat-messages .message {
  padding: 10px;
  margin-bottom: 15px;
  background-color: var(--grey-color);
  border-radius: 5px;
  align-self: flex-end;
  margin-left: auto;
  max-width: 80%;
  width: fit-content;
  word-wrap: break-word;
  word-break: break-word;
}

.chat-messages .message .text {
  color: black;
}

.chat-messages .message .meta {
  font-family: "Merienda One", cursive;
  font-size: 15px;
  font-weight: bold;
  color: var(--dark-color-b);
  opacity: 0.7;
  margin-bottom: 7px;
}

.chat-messages .message .meta span {
  color: #777;
  font-family: "Roboto", cursive;
}

.chat-form-container {
  padding: 10px 10px;
}

.chat-form-container form {
  display: flex;
  gap: 10px;
}

.chat-form-container textarea {
  width: 100%;
  outline: none;
  padding: 5px 10px;
  height: 40px;
  flex: 1;
  min-height: 40px;
  max-height: 80px;
  transition: all 0.25s ease-in-out;
  overflow-y: auto;
  resize: none;
  white-space: pre-wrap;
  box-sizing: border-box;
  align-content: center;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
}

.chat-messages .agent-joined {
  padding: 10px;
  margin-bottom: 15px;
  background-color: transparent;
  max-width: 100%;
  word-wrap: break-word;
  word-break: break-word;
  color: #6e6e6e;
  text-align: left;
  border-bottom: 1px solid black;
}
