/* css/ai.css */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.app-container {
    width: 100%;
    max-width: 450px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.login-screen, .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-container h2 {
    margin-bottom: 20px;
}

.discord-login-button {
    background-color: #7289da;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.discord-login-button:hover {
    background-color: #5b6eae;
}

#userInfo {
    padding: 10px;
    background: #007bff;
    color: #fff;
    text-align: center;
    width: 100%;
}

.chat-messages {
    flex: 1;
    width: 100%;
    height: 400px;
    overflow-y: scroll;
    padding: 10px;
}

.input-container {
    display: flex;
    border-top: 1px solid #ddd;
    width: 100%;
}

#userInput {
    flex: 1;
    padding: 10px;
    border: none;
    outline: none;
}

#sendButton {
    padding: 10px 20px;
    background: #007bff;
    color: #fff;
    border: none;
    cursor: pointer;
}

#sendButton:disabled {
    background: #bbb;
}

.message {
    display: flex;
    margin-bottom: 10px;
    align-items: center;
}

.message .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.message .username {
    font-weight: bold;
    margin-right: 10px;
}

.message .text {
    background: #f1f1f1;
    border-radius: 5px;
    padding: 10px;
    max-width: 70%;
}

.message.user .text {
    background: #d1ecf1;
}

.message.bot .text {
    background: #e2e3e5;
}

.hidden {
    display: none;
}
