html, body {
    height: 100%;
    margin: 0;
    background-color: #ECECEC;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
}

.chat-container {
    width: 80vw;
    height: 80vh;
    background-color: #2980B9;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: white;
}

.chat-container header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #2980B9;
    padding: 10px 20px;
    border-radius: 10px;
    margin: 0;
}

.chat-container header h2 {
    margin: 0;
}

.chat-container header p {
    color: rgb(200, 200, 200);
    font-weight: bold;
}

.chat-container .messages {
    flex: 1;
    padding: 20px;
    background-color: #2980B9;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 0;
}

.message {
    max-width: 60%;
    padding: 10px 15px;
    border-radius: 15px;
    line-height: 1.4;
}

.message.bot {
    background-color: #1F6391;
    align-self: flex-start;
}

.message.user {
    background-color: #1ABC9C;
    align-self: flex-end;
}

.input-container {
    display: flex;
    padding: 15px;
    background-color: #2980B9;
    border-top: 2px solid #226694;
    gap: 10px;
}

.input-container input {
    flex: 1;
    padding: 10px;
    border-radius: 10px;
    border: none;
    outline: none;
    font-size: 16px;
}

.input-container button {
    padding: 10px 20px;
    border-radius: 10px;
    border: none;
    background-color: #1ABC9C;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.input-container button:hover {
    background-color: #16a085;
}

.messages::-webkit-scrollbar {
    width: 8px;
}
.messages::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.2);
    border-radius: 4px;
}

.toast {
    position: absolute;
    bottom: 110px; /* über dem Input */
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 12px 18px;
    border-radius: 12px;

    background: rgba(0, 0, 0, 0.75);
    color: white;

    font-size: 14px;
    backdrop-filter: blur(8px);

    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(-75px);
}

.toast.success {
    background: rgba(46, 204, 113, 0.9);
}

.toast.error {
    background: rgba(231, 76, 60, 0.9);
}

.toast.warning {
    background: rgba(241, 196, 15, 0.9);
    color: black;
}

.toast.info {
    background: rgba(52, 152, 219, 0.9);
}

.toast-icon {
    font-size: 16px;
}

header h2 a {
    color: orange;
    text-decoration: none;
}