.full-width {
  width: 100%;
}

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

.relative {
  position: relative;
}

.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: 78.5%;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 20px;
  position: absolute;
  bottom: 1%;
  height: 176px;
  left: 49.5%;
  transform: translate(-50%, 0);
  padding: 30px;
  transition: height 1s, top 1s;
}

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

.chat.default-state .chat-helpers {
  opacity: 0;
  height: 0;
  margin-bottom: 40px;
}

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

.chat-list-value-btn {
  padding: 10px 20px;
  border-radius: 10px;
  color: #5c646c;
  font-size: 18px;
  background: rgba(255, 255, 255, 0.7); /* Semi-transparent dark background */
  backdrop-filter: blur(50px); /* Glass effect */
  -webkit-backdrop-filter: blur(50px);
}

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

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

.chat.default-state .chat-input {
  width: 0;
  padding: 0;
  border-color: transparent;
  background-color: transparent;
  backdrop-filter: blur(0px); /* Glass effect */
  -webkit-backdrop-filter: blur(0px);
  margin-right: 0px;
}

.chat-input {
  width: calc(100% - 160px);
  height: 66px;
  font-family: "Roboto", sans-serif;
  background: rgba(0, 0, 0, 0.1); /* Semi-transparent dark background */
  backdrop-filter: blur(50px); /* Glass effect */
  -webkit-backdrop-filter: blur(50px);
  padding: 0px 24px;
  font-weight: 400;
  font-size: 20px;
  outline: none;
  color: #ffffff;
  border: 1px solid #f7f7f7;
  border-radius: 10px;
  margin-right: 16px;
  transition: width 1s, padding 1s, margin-right 1s;
}

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

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

.chat-btn {
  padding: 24px 40px 24px 40px;
  background-color: #f39800;
  color: #ffffff;
  font-weight: 600;
  font-size: 18px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-btn:hover {
  background-color: #db8a02;
}

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

.chat-close-btn {
  height: 26px;
  width: 26px;
  cursor: pointer;
  padding: 0px;
  outline: none;
  border-radius: 4px;
  border: 1px solid transparent;
}

.chat-close-btn svg {
  -webkit-transition: fill 0.2s ease-in-out;
  transition: fill 0.2s ease-in-out;
}

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

.chat-list {
  width: 100%;
  position: absolute;
  overflow: hidden;
  height: 0;
  transition: height 1s;
  bottom: calc(1% + 176px);
  left: 49.5%;
  transform: translate(-50%, 0);
  width: 78.5%;
  padding: 0px 30px;
}

.chat-list.__focused {
  height: 600px;
}

.chat-body {
  background-color: #ffffff;
  height: 100%;
  border-radius: 10px;
}

.chat-header {
  position: relative;
  width: 100%;
  padding: 30px 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  font-size: 20px;
}

.chat-header p {
  margin-bottom: 0;
  margin-right: auto;
}

.chat-message-box {
  max-height: calc(100% - 86px);
  padding: 24px;
  overflow: hidden auto;
}

.chat-message-box::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.chat-message-box::-webkit-scrollbar-track {
  background-color: transparent;
}

.chat-message-box::-webkit-scrollbar-thumb {
  background-color: #f39800;
  border-radius: 10px;
}

.chat-message {
  display: block;
  padding: 16px 20px;
  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: 60%;
  white-space: pre-wrap;
}

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

.chat-message.__bot {
  border-radius: 15px 15px 15px 0px;
  margin: 20px auto 20px 0;
  background-color: #efefef;
  color: #5f6870;
}

.chat-message.__user {
  border-radius: 15px 15px 0px 15px;
  margin: 20px 0 20px auto;
  background-color: #f39800;
  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: 81.2%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translate(-50%, calc(100% + 30px));
  padding: 20px 30px;
  background-color: #f7f7f7;
  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: #ededed;
  -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;
}
