body {
    font-family: Arial, sans-serif;
    background: black;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.chat-container {
    width: 400px;
    margin-top:40px !important;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.chat-header {
    background: #007bff;
    color: white;
    padding: 15px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    border-radius: 10px 10px 0 0;
}

.chat-box {
    height: 400px;
    overflow-y: auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-box div {
    padding: 10px 15px;
    border-radius: 20px;
    max-width: 75%;
    word-wrap: break-word;
}

.bot-message {
    background: #007bff;
    color: white;
    align-self: flex-start;
}

.user-message {
    background: #e9ecef;
    align-self: flex-end;
}

.chat-input-container {
    display: flex;
    border-top: 1px solid #ddd;
    padding: 10px;
    background: #fff;
    border-radius: 0 0 10px 10px;
}

textarea {
    flex: 1;
    border: none;
    padding: 10px;
    border-radius: 5px;
    resize: none;
    outline: none;
    font-size: 16px;
}

button {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 10px;
}

button:hover {
    background: #0056b3;
}

.error {
    color: red;
    font-weight: bold;
}
