/* Chatbot */
.chatbot-container {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 280px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    display: none;
    flex-direction: column;
    z-index: 1000;
    font-family: Arial, sans-serif;
}

.chatbot-header {
    background-color: #005566;
    color: white;
    padding: 10px;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header h3 {
    font-size: 14px;
    margin: 0;
}

#close-chatbot {
    background: none;
    border: none;
    color: white;
    font-size: 14px;
    cursor: pointer;
}

.chatbot-messages {
    max-height: 250px;
    overflow-y: auto;
    padding: 10px;
    background-color: #f5f5f5;
}

.message {
    margin: 8px 0;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
}

.bot-message {
    background-color: #e0f7fa;
    color: #333;
    margin-right: 10px;
}

.user-message {
    background-color: #005566;
    color: white;
    margin-left: 10px;
    text-align: right;
}

.chat-option {
    background-color: #005566;
    color: white;
    border: none;
    padding: 6px 10px;
    margin: 5px 0;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    text-align: left;
    font-size: 14px;
}

.chat-option:hover {
    background-color: #003d4c;
}

.chatbot-input {
    display: flex;
    padding: 10px;
    border-top: 1px solid #ccc;
}

#user-input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
}

#send-message {
    background-color: #005566;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

#send-message:hover {
    background-color: #003d4c;
}

.chatbot-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #005566;
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.chatbot-toggle:hover {
    background-color: #003d4c;
}

/* Responsividad */
@media (max-width: 768px) {
    .chatbot-container {
        width: 85%;
        bottom: 70px;
        right: 5%;
    }
}