* {
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.disabled {
    pointer-events: none;  /* Klicks blockieren */
    opacity: 0.5;          /* Optisch abgedunkelt */
}

body {
    margin: 0;
    background: #f7f7f8;
    height: 100vh;
    overflow: scroll;
}

/* App Container */
.app {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100vh;
    backdrop-filter: blur(2px);
}

/* Header */
.header {
    padding: 14px 20px;
    background: white;
    border-bottom: 1px solid #e5e5e5;
}

.header h1 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

/* Chatbereich */
.chat {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
}

/* Nachrichten */
.message {
    display: flex;
    margin-bottom: 18px;
}

.message.assistant {
    justify-content: flex-start;
}

.message.user {
    justify-content: flex-end;
}

.bubble {
    max-width: 70%;
    padding: 14px 16px;
    border-radius: 12px;
    line-height: 1.4;
    font-size: 15px;
}

/* Farben */
.assistant .bubble {
    background: #ffffff;
    border: 1px solid #e5e5e5;
}

.user .bubble {
    background: #2F57B2;
    color: white;
}

/* Input */
.input-area {
    height: 10vh;
    width: 100%;
    display: flex;
    gap: 10px;
    padding: 14px;
    background: white;
    border-top: 1px solid #e5e5e5;
}

.input-area input {
    height: 90%;
    width: 80vh;
    max-width: 600px;
    flex: 1;
    padding: 12px;
    font-size: 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.input-area button {
    padding: 0 18px;
    font-size: 15px;
    border-radius: 8px;
    border: none;
    background: #10a37f;
    color: white;
    cursor: pointer;
}

.input-area button:hover {
    background: #0e8f6f;
}