
#chat-container {
  display: flex;
  flex-direction: column;
  background-color: #f0f0f0;
}

#chat-container.chat-popup {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 30%;
  border: 1px solid #cccccc;
  border-radius: 0px;
  overflow: hidden;
  z-index: 9999;
  padding-top: 30px; 
  display: none;
  font-family: "Open Sans","Raleway",Helvetica,sans-serif;
}

#chat-container.chat-popup.bottom-right {
  right: 40px;
  bottom: 40px;
}
#chat-container.chat-popup.bottom-left {
  left: 40px;
  bottom: 40px;
}
#chat-container.chat-popup.top-right {
  top: 40px;
  right: 40px;
}
#chat-container.chat-popup.top-left {
  top: 40px;
  left: 40px;  
}
 
#chat-container .thread-msgs {
  padding: 5px;
  height: 300px; 
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.8rem;
}
 
#chat-container .message {
  padding: 0.5rem 0.75rem; 
  border-radius: 0rem;
  color: #fff;
  font-size: 0.8rem;
  max-width: 90%;
}

#chat-container .message h1 {
    font-size: 1.5rem; 
}

#chat-container .message h2 {
    font-size: 1.4rem; 
}

#chat-container .message h3 {
    font-size: 1.3rem; 
}

#chat-container .message h4 {
    font-size: 1.2rem; 
}

#chat-container .message h5 {
    font-size: 1.1rem; 
}

#chat-container .message h6 {
    font-size: 1.0rem; 
}
 
#chat-container .assistant {
  background-color: #dcf8c6;
  align-self: flex-start;
  color: #000000;
}
 
#chat-container .user {
  background-color: #ffffff;
  color: #000000;
  align-self: flex-end;
}
 
#chat-container .input-groups {
  display: flex;
  justify-content: space-between;
  padding: 5px;
}
 
#chat-container .message-input {
  border: none;
  padding: 10px; 
  margin: 0 5px 0 0; 
  flex-grow: 1;
  border-radius: 0rem;
  font-size: 0.8rem;
  box-shadow: unset;
  height: auto;
  width: auto;
}

#chat-container .message-input::placeholder {
  color: #313131;
}

#chat-container .message .dsgvo-link {
  background-color: #000000;
  color:#ffffff;
  padding: 1rem 0.5rem;
  text-transform: uppercase;
  display: block;
  text-align: center;
  font-weight: bold;
}
 
#chat-container .message a {
  color:#000000;
  text-decoration:underline;
}
 
#chat-container .send-button {
  background-color: #444444;
  color: #ffffff;
  border: none;
  padding: 10px 20px; 
  margin-left: 5px; 
  cursor: pointer;
  border-radius: 0rem;
  font-size: 0.8rem;
  flex-grow: 0.1;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}
 
#chat-container .send-button:hover {
  background-color: #4d4d4d;
}
 
#chat-container .send-button:disabled {
  background-color: ;
  color: ;
  cursor: not-allowed;
  opacity: 0.5;
}
 
#chat-container .close-button {
  position: absolute;
  top: 0;
  right: 0;
  padding: 0.3125rem 0.625rem; /* Adjusted from 5px and 10px */
  border: none;
  background-color: rgba(0,0,0,0);
  color: #aaaaaa;
  cursor: pointer;
  font-size: 1rem;
}
 
#chat-container .close-button:hover {
  color: #888;
}
 
#chat-container .spinner {
  visibility: hidden; 
}
 
#chat-container .spinner.active::before {
  content: '';
  display: inline-block;
  height: 0.8rem; 
  width: 0.8rem; 
  border-radius: 50%;
  background-color: #fff;
  animation: zoomInOutChatAssi 1.5s infinite;
  visibility: visible; /* Only visible when active */
  margin-left: 0.5rem;
  transform-origin: center;
  top: 1px;
  position: relative;
}

#chat-container .message-form {
  padding-left:0px;
  padding-right:5px;
}

#chat-icon svg {
  background: none;
  display: block;
  width: 100%;
  height: 100%;
  padding: 8px;
}

#chat-icon .chat-icon-svg{
    stroke: #000000;
    fill: none;        
    stroke-width: 15; 
}

#chat-icon {
  position: fixed;
  bottom: 40px; 
  right: 40px; 
  cursor: pointer;
  z-index: 9999;   
  color: #000000;
  background-color: #ffffff;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 0px 15px;
}

#chat-icon.bottom-right {
  right: 40px;
  bottom: 40px;
}
#chat-icon.bottom-left {
  left: 40px;
  bottom: 40px;
}
#chat-icon.top-right {
  top: 40px;
  right: 40px;
}
#chat-icon.top-left {
  top: 40px;
  left: 40px;  
}

@keyframes zoomInOutChatAssi {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.5);
  }
}

/* all devices equal or smaller than tablet */
@media (max-width: 992px) { 
  #chat-container {
    width: 100vw;
    height: 100vh;
    right: 0;
    bottom: 0px;
    border-width:5px;
  }
  
  #chat-container .thread-msgs {      
      height: 85vh;
  }
  
  #chat-container .message-form {
    margin-top: 4vh!important;    
  }
  
  #chat-container .message {
    max-width:100%;
  }
}


.kc-spinner{display:flex;justify-content:center}.kc-ring{display:inline-block;position:relative;width:80px;height:80px}.kc-ring div{box-sizing:border-box;display:block;position:absolute;width:64px;height:64px;margin:8px;border:8px solid #fff;border-radius:50%;animation:1.2s cubic-bezier(.5,0,.5,1) infinite kc-ring;border-color:#fff transparent transparent}.kc-ring div:first-child{animation-delay:-.45s}.kc-ring div:nth-child(2){animation-delay:-.3s}.kc-ring div:nth-child(3){animation-delay:-.15s}@keyframes kc-ring{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}