body {
    font-family: Arial, sans-serif;
    background-color: #333;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.chat-container {
    min-width: 700px;
    height: 700px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.chat-header {
    background: linear-gradient(135deg, #D8BFD8, #9370DB);
    color: #fff;
    padding: 15px;
    text-align: center;
    font-family: 'Courier New', Courier, monospace;
    border-bottom: 3px solid #8A2BE2;
}

.chat-messages {
    height: 75%;
    padding: 10px;
    overflow-y: auto;
}

.chat-input {
    display: flex;
    padding: 10px;
    background-color: #D8BFD8;
}

.chat-input input {
    flex: 1;
    padding: 5px;
    border: none;
    border-radius: 5px;
    margin-right: 10px;
}

.chat-input button {
    padding: 5px 10px;
    background-color: #9370DB;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.chat-input button:hover {
    background-color: #8A2BE2;
}

.message {
    margin: 10px 0;
    padding: 8px;
    border-radius: 5px;
    max-width: 70%;
    animation: fadeIn 0.3s ease-in;
}

.message.user {
    text-align: right;
    color: #fff;
    background-color: #D8BFD8;
    margin-left: auto;
}

.message.ai {
    text-align: left;
    color: #333;
    background-color: #E6E6FA;
    margin-right: auto;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
