body {
    font-family: Arial, sans-serif;
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

#chat-container {
    width: 400px;
    height: 600px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#chat-header {
    background-color: #006400; /* Verde oscuro */
    color: white;
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

#chat-header h2 {
    margin: 0;
    font-size: 1.2em;
}

#chat-header span {
    font-size: 0.8em;
}

#chat-box {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.user-message, .bot-message {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 18px;
    line-height: 1.4;
}

.user-message {
    background-color: #007bff;
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.bot-message {
    background-color: #e9e9eb;
    color: #333;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

#user-input {
    display: flex;
    padding: 10px;
    border-top: 1px solid #ddd;
    background-color: #f8f9fa;
}

#message-input {
    flex-grow: 1;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 10px 15px;
    font-size: 1em;
    outline: none;
}

#message-input:focus {
    border-color: #006400;
}

#send-btn {
    background-color: #006400;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    margin-left: 10px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s;
}

#send-btn:hover {
    background-color: #004d00;
}