@media screen and (max-width: 768px) {
    .modal-content {
        width: 95%;
        height: 90vh;
    }
}

.info-header {
    margin-bottom: 5px;
}

.info-text {
    margin-top: 0;
    margin-bottom: 15px;
    padding-left: 20px;
}

#chat-button {
    position: fixed;
    bottom: 10px;
    right: 20px;
    background-color: red;
    color: white;    /* napis chat öffnen */
    padding: 15px 25px;
    border: none;
    cursor: pointer;
    z-index: 1000;
    border-radius: 25px 25px 0 25px; /* Dies formt die Sprechblase */
    font-size: 16px;
}

#chat-button::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-top: 15px solid red;
}

#chat-container {
    position: fixed;
    bottom: 66px;         /* Der Abstand der unteren kante des chatbotfenster vom unterer Bildschirmkante" */
    right: 20px;          /* Der Abstand des chatbotfenster von rechts" */
    width: 400px;         /* Breite des chatbotfenster */
    /* height: 680px; */  /* Höhe des chatbotfenster */
    height: 69vh; /* 2/3 der Bildschirmhöhe   - bylo 79% ist gut für PC*/
    border: 4px solid red;   /* grubosc ramki od czatbox */
    background-color: white;
    font-size: 16px;
}

#chat-messages {
   /*  height: 600px; */     /* Der Abstand des Eigabefeldes von unterer kante des chatbotfenster */
    height: 50vh; /* 2/3 der Bildschirmhöhe  bylo 60%*/
    overflow-y: auto;
    padding: 20px;
    font-size: 16px; /* Schriftgröße auf 16px geändert */
    font-weight: bold;
}

#modal-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
     background: white;
    padding: 20px;
    border-radius: 40px;
     width: 680px; 
    height: 420px;
    
    top: 50%;
    left: 50%;
     position: absolute;
     transform: translate(-50%, -50%); 
     position: relative;
    transform: none;    
    overflow: auto;
}

.modal-content button {
    position: absolute;
    bottom: 20px;
    right: 20px;
}



#chat-messages .user-message {
    margin-bottom: 10px;
}

 /* NEU 14-02-2025  sprechblase blau*/
.user-message {
    display: flex;
    justify-content: flex-end; /* Rechtsbündig */
    margin-bottom: 10px; /* Abstand zwischen Nachrichten */
}

#chat-messages .user-message .sender {
    font-weight: bold;
    /* color: red; */
      color: blue;
    font-size: 16px;
}

#chat-messages .user-message .message {
    color: black;
}

 /* NEU 14-02-2025  sprechblase blau*/
.user-message .message {
    background-color: #d0e7ff; /* Hellblaue Sprechblase */
    color: #003366; /* Dunkelblaue Schrift */
    padding: 10px 15px; /* Innenabstand für die Sprechblase */
    border-radius: 15px; /* Abgerundete Ecken */
    max-width: 60%; /* Begrenzte Breite der Sprechblase */
    word-wrap: break-word; /* Zeilenumbruch bei langen Wörtern */
    text-align: left; /* Text innerhalb der Blase linksbündig */
}

#user-input {
    width: 70%;
    padding: 5px;
    border-radius: 15px; /* Ecken verrunden */
    border: 1px solid #ccc; /* Standard-Rahmen */
     red;
    transition: border-width 0.3s ease; /* Sanfter Übergang für die Rahmenbreite */   
}

#user-input:focus {
    border-width: 2px; /* Rahmenbreite bei Fokus erhöhen */
    outline: none; /* Standard-Fokus-Umriss entfernen */
    border: 2px solid red; /* Standard-Rahmen */
}


#send-button {
    width: 18%; 
    padding: 5px;
}

.bot-message {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
    align-items: baseline;
}

.bot-message .sender {
    flex: 0 0 auto;
    font-weight: bold;
    color: black;
    font-size: 14px;
    margin-right: 5px;
}

.bot-message .message-content {
   flex: 1 1 calc(100% - 0px);
    color: red;
    font-size: 14px;    /* Schriftgröse vom Bot */
    padding-left: 0px;
    text-indent: -0px;
}
