:root {
    --bg-color: #212121;
    --sidebar-bg: #171717;
    --text-color: #ececec;
    --input-bg: #2f2f2f;
    --user-msg-bg: #2f2f2f;
    --border-color: #4d4d4d;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    height: 100vh;
}

#main-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: relative;
    width: 100%;
}

#top-bar {
    padding: 15px;
    text-align: center;
    font-weight: bold;
    border-bottom: 1px solid var(--border-color);
}

#chat-container {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 150px;
}

#chat-messages {
    width: 100%;
    max-width: 800px;
    padding: 20px;
}

.message {
    display: flex;
    padding: 20px;
    margin-bottom: 10px;
    border-radius: 8px;
}

.message.user {
    background-color: transparent;
}

.message.assistant {
    background-color: transparent;
}

.avatar {
    width: 30px;
    height: 30px;
    border-radius: 3px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.user .avatar {
    background-color: #5436da;
}

.assistant .avatar {
    background-color: #10a37f;
}

.text {
    line-height: 1.6;
    word-wrap: break-word;
    white-space: pre-wrap;
}

.italic {
    font-style: italic;
    color: #aaa;
}

#input-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(transparent, var(--bg-color) 20%);
}

#input-wrapper {
    width: 100%;
    max-width: 800px;
    background-color: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: flex-end;
    padding: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

#prompt-input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    resize: none;
    padding: 5px 10px;
    max-height: 200px;
    outline: none;
    font-size: 16px;
}

#send-btn {
    background-color: #10a37f;
    border: none;
    border-radius: 5px;
    padding: 5px;
    cursor: pointer;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-left: 10px;
}

#send-btn svg {
    width: 16px;
    height: 16px;
}

#disclaimer {
    font-size: 12px;
    color: #8e8ea0;
    margin-top: 10px;
}
