/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    transition: background 0.3s ease;
}

/* Light Mode */
body.light-mode {
    background: #f5f5f5;
    color: #333;
}

/* Dark Mode */
body.dark-mode {
    background: #1e1e1e;
    color: #fff;
}

/* Chat Container */
.chat-container {
    width: 90%;
    max-width: 400px;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: background 0.3s ease;
}

/* Header */
header {
    background: #0078D7;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.controls button {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    margin-left: 10px;
}

/* Chat Box */
.chat-box {
    padding: 20px;
    height: 300px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

/* Messages */
.message {
    padding: 10px;
    margin: 5px 0;
    border-radius: 10px;
    max-width: 80%;
}

.bot {
    background: #0078D7;
    color: white;
    align-self: flex-start;
}

.user {
    background: #ddd;
    align-self: flex-end;
}

/* Input Area */
.input-area {
    display: flex;
    padding: 10px;
    background: #fff;
}

input {
    flex: 1;
    padding: 10px;
    border: none;
    outline: none;
    border-radius: 5px;
}

button {
    background: #0078D7;
    color: white;
    border: none;
    padding: 10px;
    margin-left: 5px;
    cursor: pointer;
}
