body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to right, #e0f7fa, #ffffff);
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.chat-container {
    background: #fff;
    border-radius: 20px;
    width: 400px;
    height: 600px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#chat-box {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.user-msg, .bot-msg {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 15px;
    line-height: 1.5;
}

.user-msg {
    align-self: flex-end;
    background-color: #e0f7fa;
    color: #006064;
}

.bot-msg {
    align-self: flex-start;
    background-color: #f1f8e9;
    color: #33691e;
}

.chat-container input {
    border: none;
    border-top: 1px solid #ccc;
    padding: 15px;
    font-size: 16px;
    width: 100%;
    outline: none;
}

.chat-container button {
    border: none;
    background: #00bcd4;
    color: white;
    font-weight: bold;
    padding: 15px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.chat-container button:hover {
    background: #0097a7;
}
