/* Botón flotante de WhatsApp */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px !important;
    cursor: pointer;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.4);
}

/* Modal del chat */
.whatsapp-modal {
    display: none;
    position: fixed;
    bottom: 90px;
    right: 50px;
    width: 300px;
    background: #0b376c;
    border-radius: 30px 40px 0px 30px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    padding: 20px;
    z-index: 1000;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Encabezado del modal */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.modal-header h3 {
    margin: 0;
    font-size: 18px;
    color:rgb(255, 255, 255);
}

/* Botón de cerrar */
.close-chat {
    background-color: transparent; /* Fondo transparente */
    border: none; /* Sin borde */
    font-size: 50px; /* Tamaño de la fuente */
    color:rgb(255, 255, 255); /* Color de la "X" */
    cursor: pointer; /* Cambia el cursor al pasar el mouse */
    padding: 0; /* Sin padding */
    line-height: 1; /* Ajusta la altura de la línea */
    transition: color 0.3s ease; /* Transición suave para el color */
}

.close-chat:hover {
    color: #ff0000; /* Cambia el color al pasar el mouse */
}

/* Campo de entrada de mensaje */
.chat-input {
    width: 100%;
    padding: 15px;
    margin-top: 0px;
    border: 1px solid #ddd;
    border-radius: 2px;
    font-size: 14px;
}
.chat-input:focus {
    outline: none; /* Elimina el borde al hacer foco */
    border-color: #007bff; /* Cambia el color del borde al hacer foco */
}

/* Botón enviar */
.send-button {
    background-color: #0cbae1;
    color: white;
    font-size: 1.05rem;
font-weight: 600;
font-family: Poppins;
    border: none;
    padding: 15px;
    width: 100%;
    margin-top: 10px;
    cursor: pointer;
    border-radius:5px 5px 0px 10px;
    font-size: 20px;
    transition: background-color 0.2s ease;
}

.send-button:hover {
    background-color:rgb(5, 156, 189);
}