/* body {
    font-family: 'Source Code Pro', monospace;
    display: flex;
    justify-content: center;
}

.chatbot-container {
    width: 500px;
    margin: 0 auto;
    background-color: #f5f5f5;
    border: 1px solid #cccccc;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

#chatbot {
    background-color: #f5f5f5;
    border: 1px solid #eef1f5;
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.1);
    border-radius: 4px;
  }
  
#header {
  background-color: darkslategrey;
  color: #ffffff;
  padding: 20px;
  font-size: 1em;
  font-weight: bold;
}

.message-container {
  background: #ffffff;
  width: 100%;
  display: flex;
  align-items: center;
}
/* 

.conversation {
  height: 500px;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

@keyframes message-fade-in {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chatbot-text-system {
    background-color: white;
    color: #333333;
    font-size: 1.1em;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
#input-form {
  display: flex;
  align-items: center;
  border-top: 1px solid #eef1f5;
}

#input-field {
  flex: 1;
  height: 60px;
  border: 1px solid #eef1f5;
  border-radius: 4px;
  padding: 0 10px;
  font-size: 14px;
  transition: border-color 0.3s;
  background: #ffffff;
  color: #333333;
  border: none;
}

.send-icon {
  margin-right: 10px;
  cursor: pointer;
}

#input-field:focus {
  border-color: #333333;
  outline: none;
}


p[sentTime]:hover::after {    
  content: attr(sentTime);
  position: absolute;
  top: -3px;
  font-size: 14px;
  color: gray;
}

.user-message p[sentTime]:hover::after {  
  right: 15px;
}


::-webkit-scrollbar {
  width: 10px;
}
  

::-webkit-scrollbar-track {
  background: #f1f1f1; 
}
  

::-webkit-scrollbar-thumb {
  background: #888; 
}


::-webkit-scrollbar-thumb:hover {
  background: #555; 
} */

.add-loading-dots:after {
  content: " .";
  animation: dots 1s steps(5, end) infinite;
}

.loading-dots {
  display: inline-flex;
  align-items: center;
  margin-left: 0.3em;
}

.loading-dots span {
  width: 6px;
  height: 6px;
  margin: 0 2px;
  background: currentColor;   /* nimmt Textfarbe */
  border-radius: 50%;
  display: inline-block;
  opacity: 0.3;
  animation: blink 1.4s infinite;
}

.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

/* Chat Container */
.chat-message {
  font-family: system-ui, sans-serif;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #1a1a1a;
}

/* Absätze */
.chat-message p {
  margin: 0.4em 0;
}

/* Inline Code */
.chat-message code {
  background: #f3f4f6;
  padding: 0.2em 0.4em;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.9em;
}

/* Codeblocks */
.chat-message pre {
  background: #f3f4f6;
  padding: 0.8em;
  border-radius: 6px;
  overflow-x: auto;
  margin: 0.6em 0;
}

.chat-message pre code {
  background: none;
  padding: 0;
  font-size: 0.9em;
}

.chat-message ul {
  list-style-type: disc; /* Bullets */
  margin-left: 1.5em;    /* Einrückung */
}

.chat-message ol {
  list-style-type: decimal; /* Nummerierung */
  margin-left: 1.5em;
}


.chat-message li {

  margin: 0.2em 0;
}

/* Tabellen */
.chat-message table {
  border-collapse: collapse;
  margin: 0.6em 0;
}

.chat-message th,
.chat-message td {
  border: 1px solid #ddd;
  padding: 0.4em 0.8em;
}

.chat-message th {
  background: #f9fafb;
  font-weight: bold;
}

/* Überschriften */
.chat-message h1,
.chat-message h2,
.chat-message h3 {
  margin: 0.6em 0 0.3em;
  font-weight: 600;
}


@keyframes blink {
  0%, 80%, 100% { opacity: 0.3; }
  40% { opacity: 1; }
}


@keyframes dots {
  0%, 20% {
    color: rgba(0, 0, 0, 0);
    text-shadow: .25em 0 0 rgba(0, 0, 0, 0), .5em 0 0 rgba(0, 0, 0, 0);
  }
  40% {
    color: black;
    text-shadow: .25em 0 0 rgba(0, 0, 0, 0), .5em 0 0 rgba(0, 0, 0, 0);
  }
  60% {
    text-shadow: .25em 0 0 black, .5em 0 0 rgba(0, 0, 0, 0);
  }
  80%, 100% {
    text-shadow: .25em 0 0 black, .5em 0 0 black;
  }
}
  