:root {
  --shadow: rgba(0, 0, 0, 0.2);
}

body {
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
  align-items: center;
}

.smartphoneTopMargin {
  height: 10px;
  background-color: transparent;
}

.smartphone {
  font-size: 15px;
  width: 100%;
  max-width: 600px;
  display: table;
  margin: auto;
  padding: 5px;
  background-color: rgb(98, 126, 110);
  border-radius: 5px;
}

.conversation-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: end;
  width: 100%;
  height: 100%;
  margin: 0 0 5px 0;

  overflow: auto;

  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */

}

#conversation {
  flex-direction: column;
  display: flex;
  width: 100%;
  height: 50px;
  min-width: 50em;
}

.conversation-wrapper::-webkit-scrollbar {
  display: none;
}

#conversation {
  list-style-type: none;
}

#conversation li {
  background-color: rgb(255, 255, 255);
  padding: 6px 10px;
}

#conversation li p {
  margin: 0;
  padding: 0;
}

#conversation li small {
  font-family: 'Inter', sans-serif;
  width: 100%;
  min-width: fit-content;
  font-style: italic;
  float: right;
  text-align: end;
}

.highlighed {
  background-color: rgb(228, 8, 4) !important;
  color: white !important;
}

#survey-button {
  font-family: 'Inter', sans-serif;
  height: max-content;
  border-radius: 15px;
  background-color: greenyellow;
}

#survey-button:disabled {
  background-color: lightgrey;
}

.agent {
  color: white;
  background-color: transparent;
  padding: 10px;
  height: 60px;
}

.agentIMG {
  width: 40px;
  height: 40px;
  border-radius: 100%;
}

.screen {
  background: white;
  overflow-y: auto;
}

.her {
  box-shadow: 0 0 3px var(--shadow);

  margin-top: 5px;
  max-width: 60%;
  margin-left: 8px;
  align-self: flex-start;
  border-radius: 15px;
  border: none;
  border-color: grey;

  overflow-wrap: break-word;
}

.me {
  box-shadow: 0 0 3px var(--shadow);

  margin-top: 5px;
  max-width: 60%;
  margin-right: 8px;
  align-self: flex-end;
  border-radius: 15px;
  border: none;
  border-color: grey;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

ul li {
  display: inline-block;
  clear: both;
}

.loading:after {
  content: " .";
  animation: dots 0.8s steps(5, end) infinite;
}

@keyframes dots {

  0%,
  20% {
    color: transparent;
    text-shadow: 0.25em 0 0 transparent, 0.5em 0 0 transparent;
  }

  40% {
    color: black;
    text-shadow: 0.25em 0 0 transparent, 0.5em 0 0 transparent;
  }

  60% {
    text-shadow: 0.25em 0 0 #000, 0.5em 0 0 transparent;
  }

  80%,
  100% {
    text-shadow: 0.25em 0 0 black, 0.5em 0 0 black;
  }
}

input:focus,
select:focus,
textarea:focus,
button:focus {
  outline: none;
}

#responseWrapper {
  background: white;
  padding-top: 3px;
  border: 1px rgb(243, 242, 242) solid;
  border-radius: 20px;
  box-shadow: 0 0 2rem var(--shadow);
}

#sendWrapper {
  height: 40px;
  background: transparent;
  background-repeat: no-repeat;
  position: relative;
  border: none;
  padding-top: 3px;
  width: 100%;
}

.message_input_field {
  width: calc(100% - 50px);
  border: 0px;
  background: transparent;
  position: absolute;
  top: 4px;
  left: 9px;
  flex: 0.9;
  height: 30px;
}

#message_input_field::placeholder {
  color: #b4b4b4;
}

#send_message_button {
  background-color: transparent;
  color: var(--bg-success);
  font-weight: bold;
  width: 40px;
  min-width: 40px;
  height: 30px;
  margin-right: 8px;
  padding: 0px;
  border-radius: 5px;
  border: solid 2px transparent;
  float: right;
}

#send_message_button:focus {
  outline: none;
}

button {
  background-color: #163791;
  text-align: center;
  border: none;
  transition: background-color 0.5s linear, color 0.5s linear;
}

button:hover {
  color: royalblue;
  border-color: RoyalBlue;
}

button:focus {
  outline: none;
}

.quickResponseContainer {
  overflow: auto;
  background: white;
}

.quickResponse {
  margin-top: 5px;
  margin-right: 8px;
  margin-left: 8px;
  padding: 6px;
  background: white;
  float: left;
  border-radius: 15px;
  border: solid 2px #163791;
  color: #163791;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: white;
}

::-webkit-scrollbar-thumb {
  background: white;
}

::-webkit-scrollbar-thumb:hover {
  background: LightGrey;
}

@media only screen and (max-device-width: 600px) {
  .smartphoneTopMargin {
    height: 0px;
  }

  .smartphone {
    border-radius: 0px;
    padding: 0px;
  }

  .col {
    padding: 0px;
  }

  #message_input_field {
    width: 70%;
  }
}