.full-width {
  width: 100%;
}

.default-background-img {
  width: 100%;
}

.relative {
  position: relative;
}

.chat-position-div {
  width: 100%;
  position: absolute;
  top: 10%;
}

#chat-background-color {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.7);
  width: 100%;
  height: 100%;
  top: 0;
  opacity: 0;
  transition: opacity 1s;
}

.chat_standart_overlay_message {
  font-size: 54px;
  font-weight: bold;
  color: #ffffff;
  position: absolute;
  bottom: 80%;
  opacity: 1;
  transition: opacity 0s 1s;
}

.chat.__focused .chat_standart_overlay_message {
  transition: opacity 0s 0s;
  opacity: 0;
}

.alert {
  position: fixed;
  top: 50px;
  left: 50%;
  transform: translate(-50%, 0);
  padding: 0.75rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  display: none;
}

.alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.chat {
  display: flex;
  flex-direction: column;
  width: 79.2%;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 20px;
  position: absolute;
  bottom: 13%;
  height: 200px;
  left: 50%;
  transform: translate(-50%, 0);
  padding: 14px 26px;
  background-color: transparent;
  transition: height 1s, top 1s;
}

.chat.__focused {
  height: 75%;
  overflow-y: hidden;
}

.chat-helpers {
  display: flex;
  gap: 12px;
  opacity: 1;
  transition: opacity 1s, height 1s, margin-bottom 1s;
  height: 40px;
  margin-bottom: 0px;
  overflow: hidden;
}

.chat.__focused .chat-helpers {
  opacity: 0;
  height: 0;
  margin-bottom: 0px;
}

.chat-list-value-btn {
  padding: 10px 20px;
  border-radius: 0px;
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
  height: 40px;
}

.chat-list-value-btn:hover {
  border-color: #d3050c;
}

.chat-form {
  display: flex;
  width: 100%;
  position: relative;
}

.chat-input {
  width: 72.5%;
  height: 56px;
  font-family: "UniversMedium", sans-serif;
  background-color: transparent;
  font-weight: 400;
  font-size: 18px;
  padding: 2px 14px 2px 14px;
  outline: none;
  background-color: #ffffff;
  border: 1px solid #d9d9d9;
}

.chat-input::placeholder {
  color: #b9b9b9;
}

.chat-input:focus {
  border: 1px solid #787878;
}

.chat-btn {
  right: 0px;
  height: 56px;
  position: absolute;
  background-color: #d3050c;
  color: #ffffff;
  font-weight: 400;
  font-size: 20px;
  width: 26.5%;
}

.chat-btn:hover {
  opacity: 0.9;
}

.chat-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.chat.__focused .chat-close-btn {
  opacity: 1;
  transition: opacity 0s 1s;
  display: block;
}

.chat-close-btn {
  cursor: pointer;
  display: none;
  opacity: 0;
  top: 10px;
  right: 10px;
  height: 28px;
  padding: 2px;
  position: absolute;
  outline: none;
  border-radius: 4px;
  border: 2px solid #ffffff;
}

.chat-close-btn:hover {
  -webkit-box-shadow: 0px 0px 6px 3px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 0px 6px 3px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 0px 6px 3px rgba(0, 0, 0, 0.2);
}

.chat-close-btn img {
  width: 20px;
  height: 20px;
}

.chat-list {
  width: 100%;
  overflow: hidden;
  height: 0;
  transition: height 1s;
}

.chat.__focused .chat-list {
  height: 749px;
  overflow: hidden hidden;
}

.chat-message {
  display: block;
  padding: 16px;
  background-color: #ffffff;
  color: #000000;
  font-size: 18px;
  letter-spacing: 0;
  line-height: normal;
  border-radius: 10px;
  margin: 20px auto;
  min-height: 35px;
  width: fit-content;
  min-width: 70px;
  max-width: 95%;
  white-space: pre-wrap;
}

.chat-message.__usual_white_space {
  white-space: normal;
}

.chat-message.__bot {
  border-radius: 0;
  margin: 20px auto 20px 0;
}

.chat-message.__user {
  border-radius: 0;
  margin: 20px 0 20px auto;
  border: none;
  background-color: #d3050c;
  color: #ffffff;
}

.chat-message.__typing {
  width: 100px;
}

.chat-message a {
  color: inherit;
}

.typing-loader {
  position: relative;
  left: 25px;
  width: 11px;
  aspect-ratio: 1;
  border-radius: 50%;
  animation: l5 1s infinite linear alternate;
}

@keyframes l5 {
  0% {
    box-shadow: 20px 0 #da010c, -20px 0 #f76068;
    background: #da010c;
  }
  33% {
    box-shadow: 20px 0 #da010c, -20px 0 #f76068;
    background: #f76068;
  }
  66% {
    box-shadow: 20px 0 #f76068, -20px 0 #da010c;
    background: #f76068;
  }
  100% {
    box-shadow: 20px 0 #f76068, -20px 0 #da010c;
    background: #da010c;
  }
}

.banner {
  width: 80.4%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  bottom: 13%;
  left: 50.4%;
  transform: translate(-50%, calc(100% + 30px));
  padding: 20px 30px;
  background-color: #c9c9c9;
  cursor: pointer;
  color: #595959;
  border: 1px solid #ffffff;

  -webkit-box-shadow: 0px 0px 3px 1px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 0px 3px 1px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 0px 3px 1px rgba(0, 0, 0, 0.1);
}

.banner:hover {
  background-color: #dedede;
  -webkit-box-shadow: 0px 0px 6px 3px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 0px 6px 3px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 0px 6px 3px rgba(0, 0, 0, 0.2);
}

.banner-flex {
  display: flex;
  align-items: center;
  gap: 20px;
}