@media (max-width: 600px) {
  /* Styles for screens up to 600 pixels wide go here */
  #botko-interface-wrapper {
    position: fixed !important;
    bottom: 105px !important;
    right: 20px !important;
    height: 80%;
    width: 90%;
    font-family: "Arial", sans-serif;
    z-index: 9999;
  }

  #botko-placeholder {
    width: 70px;
    height: 70px;
    border-radius: 100%;
    background-color: #e36414;
    cursor: pointer;

    &:hover {
      transform: scale(1.1);
      transition: all 0.15s ease-in 0.15s;
    }
  }
  #botko-send-icon {
    .botko-send-icon-svg {
      width: 50%;
    }
  }

  #botko-header-actions-wrapper {
    padding: 10px !important;
    gap: 1rem !important;
  }
}

@media screen and (min-width: 601px) and (max-width: 1024px) {
  /* Styles for screens up to 600 pixels wide go here */

  #botko-interface-wrapper {
    position: fixed !important;
    bottom: 135px !important;
    right: 20px !important;
    left: auto !important;
    height: 80%;
    width: 50%;
    font-family: "Arial", sans-serif;
    z-index: 9999;
    min-width: 300px !important;
  }

  #botko-placeholder {
    width: 90px;
    height: 90px;
    border-radius: 100%;
    background-color: #e36414;
    cursor: pointer;

    &:hover {
      transform: scale(1.1);
      transition: all 0.15s ease-in 0.15s;
    }
  }
}

@media screen and (min-width: 1025px) {
  /* Styles for screens up to 600 pixels wide go here */

  #botko-interface-wrapper {
    position: fixed !important;
    bottom: 135px !important;
    right: 20px !important;
    left: auto !important;
    height: 80%;
    width: 25%;
    font-family: "Arial", sans-serif;
    z-index: 9999;
    min-width: 300px !important;
    user-select: none;
  }

  #botko-placeholder {
    width: 95px;
    height: 95px;
    border-radius: 100%;
    background-color: #e36414;
    cursor: pointer;

    &:hover {
      transform: scale(1.1);
      transition: all 0.15s ease-in 0.15s;
    }
  }
}

#botko-wrapper {
  position: fixed !important;
  bottom: 25px !important;
  right: 30px !important;
  left: auto !important;
  transition: transform 0.3s ease-in-out;
  z-index: 9999;
}

#botko-interface-wrapper.active {
  animation: bubble 0.15s ease-in-out;
}

#botko-interface-wrapper.inactive {
  animation: bubble-reverse 0.15s ease-in-out;
}

#botko-placeholder:active {
  transform: scale(0.9);
  transition: transform 0.15s ease-in-out;
}

#botko-interface {
  background-color: white;
  height: 100%;
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

#botko-placeholder-logo {
  object-fit: contain;
  width: 65%;
}

#botko-interface-header {
  background-color: white;
  height: 10%;
  border-radius: 20px 20px 0 0;
  display: flex;
  border-bottom: 2px solid #f7f7f7;
  font-size: 16px;
  justify-content: space-between;
}

#logo-placeholder {
  position: absolute;
  top: 0;
  transition: transform 0.16s linear 0s, opacity 0.08s linear 0s;
  opacity: 1;
  transform: rotate(0deg) scale(1);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

#logo-placeholder.hidden {
  transition: transform 0.16s linear 0s, opacity 0.08s linear 0s;
  opacity: 0;
  transform: rotate(30deg) scale(0);
}

#minimize-placeholder {
  opacity: 1;
  display: flex;
  transform: rotate(0deg);
  transition: transform 0.16s linear 0s, opacity 0.08s linear 0s;
  height: 100%;
  align-items: center;
  justify-content: center;
}

#minimize-placeholder.hidden {
  transition: transform 0.16s linear 0s, opacity 0.08s linear 0s;
  opacity: 0;
  transform: rotate(-60deg);
}

.action-icon {
  align-self: center;
  height: 75%;
  aspect-ratio: 1/1;
}

#botko-header-info-wrapper {
  margin-left: 7%;
  display: flex;
  gap: 0.7rem;
}

#botko-header-actions-wrapper {
  display: flex;
  flex-direction: row-reverse;
  gap: 1.5rem;
  justify-content: flex-start;
  padding: 20px;

  &:hover {
    cursor: pointer;
  }
}

#botko-header-status-container {
  display: flex;
}

#botko-header-status-icon {
  width: 5px;
  height: 5px;
  background-color: darkgreen;
  border-radius: 50%;
  align-self: center;
  margin: 2px;
  font-family: "Arial", sans-serif;
}

#botko-header-name-container {
  display: flex;
  align-self: center;
  flex-direction: column;
}

#botko-header-name-container p {
  margin: 0px;
  color: #71717a;
}

#botko-interface-chat {
  display: flex;
  flex-direction: column-reverse;
  gap: 0.8rem;
  width: 100%;
  height: 76%;
  background-color: white;
  overflow-y: auto;
  font-size: 19px;
  margin-bottom: 2%;
}

#botko-interface-input {
  width: 100%;
  height: 8%;
  border-top: 2px solid #f7f7f7;
  background-color: white;
  display: flex;
}

#botko-interface-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background-color: white;
  height: 4%;
  border-radius: 0 0 20px 20px;
  border-top: 2px solid #f7f7f7;
  color: grey;
  font-size: 15px;
}

#botko-input {
  width: 85%;
  height: 100%;
  background-color: #fff0;
  overflow-y: hidden;
  border: 0px;
  resize: none;
  padding: 4%;
  box-sizing: border-box;
  font-family: "Arial", sans-serif;
  outline: none;
  box-shadow: none;
  font-size: 16px;
}

#botko-suggestions {
  display: flex;
  flex-direction: column;
}

.botko-suggestion {
  background-color: #e3641450;
  color: #e36414;
  padding: 3%;
  border-radius: 15px;
  align-self: flex-end;
  max-width: 80%;
  word-wrap: break-word;
  margin-right: 7%;
  margin-top: 1%;
  margin-bottom: 2%;

  &:hover {
    background-color: #e36414;
    color: #ffffff;
  }
}

#botko-send-message {
  background-color: #e36414;
  color: white;
  padding: 3%;
  border-radius: 15px 0px 15px 15px;
  align-self: flex-end;
  max-width: 70%;
  word-wrap: break-word;
  margin-right: 7%;
  margin-top: 1%;
  margin-bottom: 2%;
  animation: message 0.15s ease-in;
}

#botko-send-icon {
  width: 15%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  .botko-send-icon-svg {
    height: 60%;
  }
}

#botko-received-message {
  background-color: #f2f2f2;
  color: black;
  padding: 4%;
  border-radius: 0px 15px 15px 15px;
  align-self: flex-start;
  max-width: 85%;
  word-wrap: break-word;
}

#botko-received-message-container {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-left: 7%;
}

#botko-message-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 0rem;
  width: 10%;
  aspect-ratio: 1/1;
  background-color: black;
  border-radius: 20%;
}

#botko-header-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 70%;
  aspect-ratio: 1/1;
  background-color: black;
  border-radius: 20%;
  align-self: center;
}

#botko-feedback-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

#botko-feedback-mark {
  width: 30px;
  height: 30px;
  border-radius: 100%;
  background-color: white;
  border: 2px solid #e36414;
  color: #e36414;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;

  &:hover {
    background-color: #e36414;
    color: #ffffff;
  }
}

#botko-typing-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 8.5%;
  background-color: black;
  border-radius: 20%;
  margin-left: 7%;
  margin-right: 2%;
}

#typing-dots {
  overflow: hidden;
  font-size: 24px;
  display: flex;
  margin-bottom: 4%;
  min-height: 40px;
}

#dot {
  animation: typingDots 2s infinite;
  align-self: center;
  margin-left: 4px;
  width: 5px;
  height: 5px;
  background-color: black;
  border-radius: 50%;
}

@keyframes typingDots {
  0% {
    opacity: 0.1;
  }

  25% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }

  75% {
    opacity: 0.5;
  }

  100% {
    opacity: 0.1;
  }
}

@keyframes message {
  0% {
    opacity: 0;
    transform: translateY(3rem);
  }

  100% {
    opacity: 1;
    transform: translateY(0rem);
  }
}

@keyframes bubble {
  0% {
    transform: translateY(85px);
    height: 65px;
    width: 65px;
    z-index: -1;
    border-radius: 100%;
    overflow-y: hidden;
    opacity: 0;
  }

  25% {
    transform: translateY(0);
    overflow-y: hidden;
    opacity: 0.3;
  }

  100% {
    height: 80%;
    width: 25%;
    border-radius: 0;
    overflow-y: hidden;
    opacity: 1;
  }
}

@keyframes bubble-reverse {
  0% {
    height: 80%;
    width: 25%;
    border-radius: 0;
    opacity: 1;
    overflow-y: hidden;
  }

  25% {
    transform: translateY(0);
    opacity: 0.3;
    overflow-y: hidden;
  }

  100% {
    transform: translateY(85px);
    height: 65px;
    width: 65px;
    z-index: -1;
    border-radius: 100;
    opacity: 0;
    overflow-y: hidden;
  }
}
