/* ===================================
   ESTILOS PARA BOTÓN DE WHATSAPP
   Integrado con el diseño del tema
   =================================== */

/* Contenedor de botones */
.form-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    align-items: center;
}

/* Botón de WhatsApp - Usando el mismo estilo que default-btn */
.whatsapp-btn {
    display: inline-block;
    background: #25d366; /* Color oficial de WhatsApp */
    color: #FFF;
    font-family: 'Work Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-transform: capitalize;
    height: 45px;
    line-height: 45px;
    padding: 0 35px;
    letter-spacing: 0;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    transition: all ease 700ms;
    -moz-transition: all ease 700ms;
    -webkit-transition: all ease 700ms;
    -ms-transition: all ease 700ms;
    -o-transition: all ease 700ms;
    z-index: 1;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.whatsapp-btn:hover {
    color: #FFF;
    background: #128c7e; /* Color más oscuro de WhatsApp al hover */
}

.whatsapp-btn span {
    background: #128c7e none repeat scroll 0 0;
    border-radius: 50%;
    display: block;
    height: 0;
    position: absolute;
    transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transition: width 0.6s ease 0s, height 0.6s ease 0s;
    -moz-transition: width 0.6s ease 0s, height 0.6s ease 0s;
    -webkit-transition: width 0.6s ease 0s, height 0.6s ease 0s;
    -ms-transition: width 0.6s ease 0s, height 0.6s ease 0s;
    -o-transition: width 0.6s ease 0s, height 0.6s ease 0s;
    width: 0;
    z-index: -1;
}

.whatsapp-btn:hover span {
    height: 562.5px;
    width: 562.5px;
}

.whatsapp-btn i {
    font-size: 16px;
    margin-right: 8px;
}

/* Responsive para botones */
@media (max-width: 768px) {
    .form-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .whatsapp-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .form-buttons {
        gap: 12px;
    }
    
    .whatsapp-btn {
        padding: 0 25px;
        font-size: 14px;
    }
}
