/* Boton Whatsapp */
.whatsapp-float-btn{
    position: fixed;
    bottom: 200px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #05820a;
    color: #fff;
    border: none;
    font-size: 24px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 9999;
}

.ai-chat-button {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #0e0e0e;
    color: #fff;
    border: none;
    font-size: 24px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 9999;
}

.chat-container {
    height: 500px;
    display: flex;
    flex-direction: column;
    border-radius: 15px;
    overflow: hidden;
    z-index: 1010 !important;
}

.chat-header {
    background: #1e1e2f;
    color: white;
    padding: 15px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-body {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: #f5f6fa;
}

.chat-footer {
    display: flex;
    padding: 10px;
    background: #fff;
    border-top: 1px solid #ddd;
}

.chat-footer input {
    flex: 1;
    border: none;
    padding: 10px;
    border-radius: 20px;
    background: #f1f1f1;
}

.chat-footer button {
    margin-left: 10px;
    border: none;
    padding: 10px 15px;
    border-radius: 20px;
    background: #4A761A;
    color: white;
}

.message {
    margin-bottom: 10px;
    padding: 10px 15px;
    border-radius: 20px;
    max-width: 75%;
    font-size: 14px;
}

.message.bot {
    background: #e4e6eb;
    align-self: flex-start;
}

.message.user {
    background: #1E1E2F;
    color: white;
    align-self: flex-end;
}

/* Chat educativo */
.quick-questions {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.quick-btn {
    background: #f1f1f1;
    border: none;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: 0.2s;
}

.quick-btn:hover {
    background: #4A761A; /* tu color secundario */
    color: white;
}


@media (max-width: 576px) {
    .modal-dialog {
        margin: 0;
        height: 100%;
    }
    .chat-container {
        height: 100vh;
        border-radius: 0;
    }
}
