/* General Page Styling */
body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(to right, #667eea, #764ba2);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

/* Chat Container */
#chat-container {
    width: 400px;
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

/* Chat Box */
#chat-box {
    height: 350px;
    overflow-y: auto;
    border: none;
    padding: 15px;
    font-size: 10px;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* User Message */
.user-message {
    background: #764ba2;
    color: white;
    padding: 10px;
    border-radius: 10px;
    margin: 8px 0;
    text-align: left;
    max-width: 75%;
    align-self: flex-end;
}

/* Bot Message */
.bot-message {
    background: #8D8D8D;
    color: white;
    padding: 10px;
    border-radius: 10px;
    margin: 8px 0;
    text-align: left;
    max-width: 75%;
    align-self: flex-start;
}

/* Chat Input */
#user-input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 20px;
    outline: none;
    font-size: 12px;
    transition: 0.3s;
}

#user-input:focus {
    border-color: #007bff;
}

/* Send Button */
button {
    padding: 12px 20px;
    margin-left: 10px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 12px;
    transition: 0.3s;
}

button:hover {
    background: #0056b3;
}

/* Input Container */
.input-container {
    display: flex;
    margin-top: 15px;
}

/* Smooth Scroll */
#chat-box::-webkit-scrollbar {
    width: 8px;
}

#chat-box::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}