 /* Allgemeine Einstellungen */
.chat-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    font-family: Arial, sans-serif;
}

/* Header-Bereich */
.chat-header {
    background-color: #007bff;
    color: #fff;
    padding: 10px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
}

/* Nachrichtenbereich */
.chat-messages {
    height: 300px;
    padding: 10px;
    overflow-y: auto;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Nachrichten-Styles */
.user-message, .bot-message {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.user-message {
    justify-content: flex-end;
}

.bot-message {
    justify-content: flex-start;
}

/* Dummy-Avatar */
.user-message::before, .bot-message::before {
    content: '';
    width: 40px;
    height: 40px;
    background-color: #ddd;
    border-radius: 50%;
}

/* Nachrichten-Bubble */
.user-message .bubble, .bot-message .bubble {
    padding: 10px 15px;
    border-radius: 15px;
    max-width: 70%;
    font-size: 14px;
    line-height: 1.4;
    word-wrap: break-word;
}

.user-message .bubble {
    background-color: #007bff;
    color: #fff;
    border-top-right-radius: 0;
}

.bot-message .bubble {
    background-color: #e0e0e0;
    color: #333;
    border-top-left-radius: 0;
}

/* Eingabebereich */
.chat-input-container {
    display: flex;
    padding: 10px;
    border-top: 1px solid #ccc;
    background-color: #fff;
}

.chat-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.chat-input:focus {
    border-color: #007bff;
}

.chat-send-button {
    margin-left: 10px;
    padding: 10px 15px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.chat-send-button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.chat-send-button:active {
    transform: translateY(0);
}
