#chatbot-bubble {
    position: fixed;
    bottom: 5px;
    right: 10px;
    width: auto;
    height: auto;
    z-index: 999;
    cursor: pointer;
}

#chatbot-bubble img {
    width: 125px;
    height: 125px;
}

#chatbot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 360px;
    height: 525px;
    display: none;
    z-index: 998;
    box-shadow: 0 0 20px 4px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    background: white;
    transition: all 0.3s ease;
}

#chatbot-container.expanded {
    width: 90vw;
    height: 90vh;
    bottom: 5vh;
    right: 5vw;
    border-radius: 12px;
}

#chatbot-frame {
    width: 100%;
    height: 75%;
    border: none;
}

#chatbot-container.expanded #chatbot-frame {
    width: 100%;
    height: 95%;
    border: none;
}

.info-modal {
    right: 315px;
    position: fixed;
    bottom: 30px;
    width: 320px;
    height: 500px;
    display: none;
    z-index: 998;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
    background: white;
    transition: all 0.3s ease;
}

.info-modal.expanded,
#chatbot-container.expanded {
    width: 90vw;
    height: 90vh;
    bottom: 5vh;
}

.info-modal.expanded {
    right: 5vw;
}

.chatbot-header {
    height: 50px;
    background-color: #ebe300;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    gap: 10px;
    font-size: 12px;
}

.chatbot-banner {
    height: 99px;
    width: 100%;
    overflow: hidden;
    position: relative;
    display: block;
}

.chatbot-banner img {
    width: 100%;
}

#chatbot-container.expanded .chatbot-banner {
    display: none;
}

.chatbot-branding {
    display: flex;
    align-items: center;
    gap: 8px;
}

.chatbot-branding img {
    height: 15px;
}

.chatbot-title {
    font-size: 12px;
    font-weight: 500;
    color: #333;
    font-family: "Raleway", sans-serif;
}

.chatbot-controls {
    display: flex;
    gap: 5px;
}

.chatbot-controls button {
    background: transparent;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 0 6px;
}

.chatbot-controls button:hover {
    color: #000;
}

.chatbot-notifica {
    font-size: 12px;
    font-family: "Raleway", sans-serif;
    margin-right: 30px;
}

.mensajes {
    position: relative;
    padding: 8px;
    background-color: #ebe300;
    border: 1px solid #ebe300;
    border-radius: 6px;
}

.mensajes .cierra-notifica {
    position: absolute;
    right: 6px;
    top: 0;
    cursor: pointer;
    color: #000;
    font-weight: 600;
    font-size: 20px;
}

.info-buttons {
    position: fixed;
    bottom: 1rem;
    right: 9rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.info-buttons button {
    padding: 8px 12px;
    background-color: #ebe300;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    text-align: left;
    font-family: "Raleway", sans-serif;
}

.info-content {
    flex: 1;
    padding: 15px;
    font-size: 14px;
    overflow-y: auto;
    height: 74%;
}

.info-content p {
    font-size: 13px;
}

.info-content ul {
    list-style: none;
    padding-left: 0;
}

.info-content li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 0.6em;
    font-size: 13px;
}

.info-content li::before {
    content: "✔️";
    position: absolute;
    left: 0;
    font-size: 12px;
}

.chatbot-footer {
    height: 30px;
    text-align: center;
    padding: 10px;
    background-color: #f0f0f0;
    border-top: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-footer button {
    padding: 6px 12px;
    background-color: #ebe300;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
}

.hidden {
    display: none !important;
}

a.enlaces {
    color: #111;
}

@media screen and (max-width: 768px) {
    #chatbot-container {
        left: 50%;
        bottom: 50%;
        transform: translate(-50%, 50%);
    }
}
