/* Base styles */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    text-align: center;
}

/* Chat container styles */
.chat-container {
    width: 100%;
    max-width: 600px;
    margin: 50px auto;
    background-color: rgba(255, 255, 255, 0.5); /* Transparent white background */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Chat header */
.chat-header {
    padding: 20px;
    background-color: #1A73E8;
    color: white;
    border-radius: 10px 10px 0 0;
}

/* Chat box styles */
.chat-box {
    height: 400px;
    overflow-y: auto;
    padding: 20px;
    text-align: left;
    background: none; /* No background, to let the container's transparency shine through */
}

/* Input container */
.input-container {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.5); /* Match the transparency for the input section */
}

input[type="text"] {
    width: 80%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

button {
    padding: 10px 20px;
    background-color: #1A73E8;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #1558B3;
}

/* Message styles */
.user-message, .bot-message {
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 10px;
    max-width: 80%;
}

.user-message {
    background-color: #e0f7fa;
    align-self: flex-end;
}

.bot-message {
    background-color: #ffe0b2;
    align-self: flex-start;
}
