﻿/* Grundlayout */
body {
    margin: 0;
    padding: 0;
    background: url('img/main.png') no-repeat center center fixed;
    background-size: cover;
    font-family: 'Inter', sans-serif;
    color: #fff;
}

/* Chat-Container */
.chat-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    max-width: 700px;
    margin: 0 auto;
}

/* Chatfenster */
.chat-window {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    border-radius: 12px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Nachrichten-Bubbles */
.msg {
    max-width: 75%;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 15px;
    line-height: 1.4;
    word-wrap: break-word;
    white-space: pre-wrap;
}

/* User rechts */
.msg.user {
    background: #007bff;
    color: #fff;
    margin-left: auto;
    border-bottom-right-radius: 4px;
}

/* Bot links */
.msg.bot {
    background: #2f2f2f;
    color: #fff;
    margin-right: auto;
    border-bottom-left-radius: 4px;
}

/* Eingabebereich */
.input-area {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: #111;
    border-top: 1px solid #333;
    border-radius: 12px;
    margin-bottom: 20px;
}

/* Mikrofon-Button */
#micBtn {
    background: #333;
    border: none;
    color: white;
    font-size: 20px;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
}

#micBtn:hover {
    background: #444;
}

/* Eingabefeld */
#userInput {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    border: none;
    background: #2a2a2a;
    color: white;
    font-size: 16px;
}

/* Senden-Button */
#sendBtn {
    padding: 12px 20px;
    background: #007bff;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

#sendBtn:hover {
    background: #0066d6;
}
