.chatbot-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
}
.chatbot-icon {
    width: 70px;
    height: 70px;
    background-color: var(--color-principal);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
    font-size: 2rem;
}
.chatbot-icon:hover {
    transform: scale(1.1);
}
.chatbot-window {
    width: 380px; /* Ancho para escritorio */
    height: 550px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    display: none;
    flex-direction: column;
    position: absolute;
    bottom: 90px;
    right: 0;
    overflow: hidden;
    /* Transición para la ventana al aparecer */
    transform: scale(0.95);
    opacity: 0;
    transition: all 0.3s ease-out;
    transform-origin: bottom right;
}
.chatbot-window.visible {
    display: flex;
    transform: scale(1);
    opacity: 1;
}
.chatbot-header {
    background-color: var(--fondo-nav-footer);
    color: white;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.chatbot-header .close-btn {
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}
.chatbot-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.chatbot-message {
    max-width: 80%;
    padding: 10px;
    border-radius: 10px;
}
.user-message {
    background-color: var(--fondo-claro);
    align-self: flex-end;
}
.bot-message {
    background-color: var(--color-principal);
    color: white;
    align-self: flex-start;
}
.chatbot-footer {
    padding: 15px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
}
.chatbot-footer input {
    flex: 1;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}
.chatbot-footer button {
    background-color: var(--color-acento);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}
.chatbot-sugerencias {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}
.chatbot-sugerencias button {
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 8px 12px;
    font-size: 0.9em;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.chatbot-sugerencias button:hover {
    background-color: #e0e0e0;
}