.full-width {
  width: 100%;
}

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

.relative {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow-x: hidden;
}

.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-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  font-size: 36px;
  color: #ffffff;
  font-weight: bold;
}

.chat {
  display: flex;
  flex-direction: column;
  width: 82.8%;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 20px;
  position: absolute;
  bottom: 10%;
  height: 280px;
  left: 50.1%;
  transform: translate(-50%, 0);
  padding: 40px;
  background: linear-gradient(90deg, #0258ad, #024c96);
  transition: height 1s, top 1s;
  border-radius: 16px;
}

.chat.__focused {
  height: 65%;
  overflow-y: auto;
}

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

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

.chat-list-value-btn {
  padding: 10px 16px 8px;
  border-radius: 18px;
  background-color: transparent;
  color: #ffffff;
  background-color: transparent;
  font-size: 14px;
  border: 2px solid #ffffff;
}

.chat-list-value-btn:hover {
  color: #013366;
  background-color: #ffffff;
}

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

.chat-input {
  width: calc(80% - 8px);
  height: 60px;
  font-family: "UniversLTStd", sans-serif;
  background-color: #547bba;
  font-weight: 400;
  font-size: 20px;
  padding: 4px 20px;
  outline: none;
  border: none;
  border-bottom: 2px solid #dedede;
  border-radius: 4px;
  color: #ffffff;
  line-height: 50px;
}

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

.chat-input:focus {
  border-bottom: 2px solid #c2c2c2;
}

.chat-btn {
  right: 0px;
  height: 60px;
  position: absolute;
  background: linear-gradient(147.14deg, #ff9900, #ec5c10);
  color: #ffffff;
  font-weight: 600;
  font-size: 20px;
  width: calc(20% - 8px);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 30px;
}

.chat-btn:hover {
  background: #ffaf36;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(255, 153, 0, 0.27),
    0 16px 24px rgba(241, 135, 0, 0.25);
}

.chat-btn:disabled {
  opacity: 0.4;
  background-color: #9d0f38;
  cursor: not-allowed;
}

.chat-btn-icon {
  width: 32px;
  height: 32px;
  transform: translate(2px, 0px);
}

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

.chat-close-btn {
  cursor: pointer;
  display: none;
  opacity: 0;
  top: 38px;
  right: 38px;
  height: 26px;
  padding: 2px;
  position: absolute;
  outline: none;
  border-radius: 4px;
  border: 1px solid transparent;
}

.chat-close-btn:hover {
  border-color: #ffffff;
}

.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 auto;
}

.chat-message {
  display: block;
  padding: 20px;
  background-color: #ffffff;
  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: 80%;
  white-space: pre-wrap;
}

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

.chat-message.__bot {
  border-radius: 10px 10px 10px 0px;
  margin: 20px auto 20px 0;
  background-color: #f2f2f2;
  color: #000000;
}

.chat-message.__user {
  border-radius: 10px 10px 0px 10px;
  margin: 20px 0 20px auto;
  background: linear-gradient(90deg, #004098, #013366);
  color: #ffffff;
}

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

.chat-message a {
  color: inherit;
}

.chat-message:first-of-type {
  margin: 0 auto 20px 0;
}

.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 #000000, -20px 0 #c4c4c4;
    background: #000000;
  }
  33% {
    box-shadow: 20px 0 #000000, -20px 0 #c4c4c4;
    background: #c4c4c4;
  }
  66% {
    box-shadow: 20px 0 #c4c4c4, -20px 0 #000000;
    background: #c4c4c4;
  }
  100% {
    box-shadow: 20px 0 #c4c4c4, -20px 0 #000000;
    background: #000000;
  }
}

.banner {
  width: 68.2%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  bottom: 21%;
  left: 41.3%;
  transform: translate(-50%, calc(100% + 30px));
  padding: 20px 30px;
  background-color: #ededed;
  cursor: pointer;
  color: #000000;

  -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: #ffffff;
  -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;
  font-weight: 600;
}

.bold-font {
  font-weight: bold;
}

.regular-font {
  font-weight: 400;
}
