.chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.chatbot-toggle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #FFD700;
    border: 3px solid #000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    background-color: #FFC800;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.chatbot-toggle:active {
    transform: scale(0.95);
}

.chatbot-toggle i {
    font-size: 32px;
    color: #000;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

.chatbot-toggle::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
    border-radius: 50%;
}

.chatbot-box {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 350px;
    height: 500px;
    background-color: #fff;
    border: 2px solid #000;
    border-radius: 10px;
    display: none;
    flex-direction: column;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.chatbot-box.active {
    display: flex;
}

.chatbot-header {
    background-color: #FFD700;
    padding: 15px;
    border-bottom: 2px solid #000;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header h3 {
    margin: 0;
    color: #000;
    font-size: 18px;
}

.close-chatbot {
    background: none;
    border: none;
    cursor: pointer;
    color: #000;
    font-size: 20px;
}

.chatbot-messages {
    flex-grow: 1;
    padding: 15px;
    overflow-y: auto;
    background-color: #fff;
}

.message {
    margin-bottom: 15px;
    max-width: 80%;
}

.message.bot {
    margin-right: auto;
}

.message.user {
    margin-left: auto;
}

.message p {
    padding: 10px 15px;
    border-radius: 15px;
    margin: 0;
    word-wrap: break-word;
}

.message.bot p {
    background-color: #FFD700;
    color: #000;
    border: 1px solid #000;
}

.message.user p {
    background-color: #000;
    color: #fff;
}

.chatbot-input {
    padding: 15px;
    border-top: 2px solid #000;
    display: flex;
    gap: 10px;
    background-color: #fff;
    border-radius: 0 0 8px 8px;
}

.chatbot-input input {
    flex-grow: 1;
    padding: 10px;
    border: 2px solid #000;
    border-radius: 5px;
    outline: none;
    font-size: 14px;
}

.chatbot-input button {
    background-color: #FFD700;
    border: 2px solid #000;
    border-radius: 5px;
    padding: 10px 15px;
    cursor: pointer;
    color: #000;
    white-space: nowrap;
}

.chatbot-input button:hover {
    background-color: #FFC800;
}

/* Media Queries para dispositivos móviles */
@media screen and (max-width: 768px) {
    .chatbot-container {
        bottom: 10px;
        right: 10px;
    }

    .chatbot-toggle {
        width: 60px;
        height: 60px;
    }

    .chatbot-toggle i {
        font-size: 24px;
    }

    .chatbot-box {
        position: fixed;
        bottom: 80px;
        right: 10px;
        left: 10px;
        width: auto;
        height: 60vh;
        max-height: 500px;
    }

    .chatbot-header {
        padding: 10px;
    }

    .chatbot-header h3 {
        font-size: 16px;
    }

    .chatbot-messages {
        padding: 10px;
    }

    .message {
        max-width: 90%;
    }

    .chatbot-input {
        padding: 10px;
    }

    .chatbot-input input {
        padding: 8px;
        font-size: 14px;
    }

    .chatbot-input button {
        padding: 8px 12px;
        font-size: 14px;
    }
}

/* Ajustes para pantallas muy pequeñas */
@media screen and (max-width: 480px) {
    .chatbot-toggle {
        width: 50px;
        height: 50px;
    }

    .chatbot-toggle i {
        font-size: 20px;
    }

    .chatbot-box {
        bottom: 70px;
        height: 50vh;
    }

    .message p {
        padding: 8px 12px;
        font-size: 14px;
    }
} 