/* src/index.css */
:root {
  font-family:
    Inter,
    system-ui,
    Avenir,
    Helvetica,
    Arial,
    sans-serif;
  line-height: 1.5;
  font-weight: 400;
  color-scheme: light dark;
  color: rgba(255, 255, 255, 0.87);
  background-color: transparent;
  border-radius: 5px;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}
html,
body {
  scroll-behavior: smooth;
  margin: 0px;
  width: 100%;
  height: 100%;
}
body {
  background-color: rgba(255, 255, 255, 0.8);
}
h1 {
  font-size: 3.2em;
  line-height: 1.1;
  text-align: center;
  position: sticky;
  top: 0;
  background-color: #242424;
}
main {
  max-width: 500px;
  margin: auto;
}
p {
  background-color: darkslategray;
  max-width: 70%;
  padding: 15px;
  border-radius: 50px;
}
p span {
  margin: 5px;
}
p span:first-child {
  margin-right: 0;
}
.user_msg {
  text-align: right;
  margin-left: 30%;
  display: flex;
  flex-direction: row-reverse;
}
.hide {
  visibility: hidden;
  display: none;
}
form {
  text-align: center;
  position: sticky;
  bottom: 0;
  display: flex;
  border-top: 1px solid lightgrey;
}
textarea {
  width: 80%;
  height: 100%;
  border: none;
  padding: 10px;
  font-size: 13px;
  background-color: white;
  box-sizing: border-box;
}
input:focus {
  outline: none;
}
#chat-header {
  align-items: center;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  display: flex;
  font-family: Arial;
  font-size: .85rem;
  font-weight: 700;
  height: 80px;
  box-sizing: border-box;
  flex-shrink: 0;
  background: linear-gradient(to right, #667eea, #764ba2);
  color: white;
  display: flex;
  align-items: center;
  padding: 0 10px;
  justify-content: start;
  position: relative;
  background: green;
}
.header-greeting {
  padding-left: 12px;
  font-size: 18px;
  font-weight: 400;
}
.header-greeting {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex: 1;
}
.company-name {
  display: flex;
  align-items: center;
  width: 150px;
}
.ask-message {
  display: flex;
  align-items: center;
  flex: 1;
}
.ask-message-input {
  flex: 1;
  outline: none;
  border: none;
  background: white;
  padding-left: 20px;
  padding-top: 5px;
  padding-bottom: 5px;
  border-radius: 20px;
  border-bottom: 1px solid lightgrey;
  font-size: 18px;
  line-height: 20px;
  margin-right: 10px;
}
.ask-message-input::placeholder {
  color: dimgrey;
}
.enter-button {
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  border: 1px;
  background-color: rgba(255 165 0 / 70%);
}
.header-close {
  position: absolute;
  top: 10px;
  right: 10px;
}
.cool-close-button {
  background-color: white;
  color: orange;
  border: none;
  cursor: pointer;
  opacity: 0.4;
  line-height: 4px;
  font-size: 16px;
  padding: 8px 4px;
  border-radius: 50%;
}
.cool-close-button:hover {
  opacity: 1;
}
#chat-container {
  display: flex;
  flex-direction: column;
  height: 100vh;
}
#chat-body {
  height: 480px;
  box-sizing: border-box;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 6px;
  padding-top: 12px;
  flex-grow: 1;
  background-color: white;
}
.chat-message-wrapper {
  display: flex;
  justify-content: flex-end;
  padding: 10px;
}
.user-message.chat-message-wrapper {
  justify-content: flex-end;
}
.agent-message.chat-message-wrapper {
  justify-content: flex-end;
}
.chat-message {
  color: black;
  padding: 10px;
  display: inline-block;
  max-width: 90%;
  margin: 0px;
  margin-top: 8px;
  border-radius: 18px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: relative;
  padding-bottom: 15px;
}
.user-message .chat-message {
  background-color: lavender;
  color: black;
}
.agent-message .chat-message {
  background-color: white;
  min-width: 90%;
  color: black;
  box-shadow: 0px 0px 3px lightgrey;
}
.chat-message.helper {
  background-color: dodgerblue;
  color: white;
  padding: 5px 10px;
  min-width: unset;
}
.chat-message.helper.clickable {
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.chat-message.helper.clickable:hover {
  background-color: #1e90ff;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}
.helper-btns-wrapper {
  width: calc(100% - 80px);
  display: flex;
  justify-content: center;
  justify-content: space-evenly;
  padding: 5px 40px;
}
.helper button {
  width: 80px;
  border-radius: 20px;
  border: 0px;
  background-color: white;
  color: dodgerblue;
  font-weight: 400;
  padding: 5px;
  font-size: 14px;
}
.agent-message .chat-message p {
  background: unset;
  max-width: unset;
  padding: unset;
  border-radius: unset;
  margin-block-start: unset;
  margin-block-end: unset;
  white-space: pre-wrap;
}
.agent-message .chat-message ol,
.agent-message .chat-message ul {
  margin-block-start: unset;
  padding-inline-start: unset;
  list-style-type: decimal;
  padding-left: 15px;
  padding-top: 10px;
  margin-block-end: unset;
}
.agent-message .chat-message pre {
  white-space: pre;
  background-color: black;
  color: white;
  padding: 15px;
  border-radius: 10px;
  overflow-x: auto;
}
#chat-footer {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
#chat-actions {
  height: 60px;
}
form {
  border-top: none;
  display: flex;
  position: relative;
  align-items: center;
  margin-bottom: 12px;
  border-top: 1px solid whitesmoke;
}
.form-group input,
.form-group textarea {
  flex-grow: 1;
}
.offline-form {
  padding: 16px;
  background-color: whitesmoke;
  border-radius: 5px;
  margin: 20px;
}
.form-group {
  display: flex;
  flex-direction: row;
  justify-content: center;
  border: none;
}
.offline-form-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.form-control {
  border: 1px solid #D3D3D3;
  border-radius: 5px;
  padding: 10px;
  font-size: 14px;
}
textarea[name=chat-message] {
  width: 100%;
  min-height: 50px;
  padding: 10px 48px 10px 20px;
  font-size: 14px;
  resize: none;
  outline: none;
  font-family:
    Inter,
    system-ui,
    Avenir,
    Helvetica,
    Arial,
    sans-serif;
  font-size: 14px;
  font-weight: normal;
  line-height: 1.33;
  white-space: pre-wrap;
}
.submit-btn {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
}
.submit-btn:disabled {
  display: none;
}
.submit-btn:hover {
  background-color: #5a35a0;
}
.agent-avatar {
  position: absolute;
  top: -15px;
  left: -15px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
}
.footer-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px;
}
.powered-by {
  text-align: right;
  font-size: 12px;
  color: #A0A0A0;
  margin-top: 10px;
}
.powered-by a {
  color: #888;
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 20px;
  transition: background-color 0.3s ease;
}
.powered-by a:hover {
  background-color: rgb(245, 245, 245);
}
.icon-btn {
  border: none;
  background: transparent;
  cursor: pointer;
}
.icon-btn:disabled {
  opacity: 0;
}
/*# sourceMappingURL=index.css.map */
