/* General Reset */
body {
    margin: 0;
    font-family: Arial, sans-serif;
}

/* Chatbot Icon */
#chat-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #058c90;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    animation: bounce 1.5s infinite;
	z-index: 9999; /* siempre visible*/
}

#bot-logo {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
}


/* Bouncing Animation */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Chatbot Container */
#chat-container {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 300px;
    max-height: 400px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.4s ease, opacity 0.4s ease;
    transform: translateY(20px);
    opacity: 0;
	z-index: 9999; /* siempre visible*/
}

#chat-container.show {
    transform: translateY(0);
    opacity: 1;
}

.hidden {
    display: none;
}

/* Chat Header */
#chat-header {
    background: #058c90;
    color: white;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
}

#close-chat {
    background: transparent;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

/* Chat Body */
#chat-body {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
}

.bot-message, .user-message {
    margin: 10px 0;
    padding: 10px;
    border-radius: 5px;
    animation: fadeIn 0.3s ease;
}

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

.user-message {
    background: #058c90;
    color: white;
    align-self: flex-end;
}

/* Fade-in Animation */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Options List */
ul#options-list {
    list-style: none;
    padding: 0;
}

ul#options-list li {
    background: #f1f1f1;
    margin: 5px 0;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

ul#options-list li:hover {
    background: #058c90;
    color: white;
}

/* Chat Footer */
#chat-footer {
    padding: 10px;
    background: #f9f9f9;
}

#user-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}
