/**
 * BAT TAXI - iPad Floating Widget
 * DESACTIVADO - Se usa botón flotante global en su lugar
 * Fecha: 2026-02-19
 * v3.1
 */

/* ============================================
   WIDGET FLOTANTE - DESACTIVADO
   ============================================ */

/* Oculto en TODOS los dispositivos (se usa .whatsapp-float global) */
.bat-widget-float {
    display: none !important;
}

/* Media query desactivada - ahora se usa botón flotante global
@media (min-width: 993px) and (max-width: 1366px) and (orientation: landscape) {
    .bat-widget-float {
        display: flex !important;
    }
}
*/

/* ============================================
   ESTILO BASE DEL WIDGET
   ============================================ */

.bat-widget-float {
    position: fixed;
    bottom: 30px;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    animation: slideInWidget 0.6s ease forwards;
    opacity: 0;
    z-index: 999;
}

/* Animación de entrada */
@keyframes slideInWidget {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Hover effect */
.bat-widget-float:hover {
    transform: scale(1.12) translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Iconos */
.bat-widget-float i {
    font-size: 32px;
    color: white;
    transition: transform 0.3s ease;
}

.bat-widget-float:hover i {
    transform: scale(1.1) rotate(5deg);
}

/* ============================================
   WIDGET DE WHATSAPP (ÚNICO WIDGET)
   ============================================ */

.bat-widget-whatsapp {
    left: 30px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-color: rgba(37, 211, 102, 0.5);
    animation-delay: 0.2s;
}

.bat-widget-whatsapp:hover {
    background: linear-gradient(135deg, #128C7E, #075E54);
    border-color: #25D366;
}

/* Pulse suave para WhatsApp */
@keyframes whatsappPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
    }
}

.bat-widget-whatsapp {
    animation: slideInWidget 0.6s ease forwards, 
               whatsappPulse 3s ease-in-out 1s infinite;
}

.bat-widget-whatsapp:hover {
    animation: slideInWidget 0.6s ease forwards;
}

/* ============================================
   TOOLTIP PARA WHATSAPP
   ============================================ */

.bat-widget-float[data-tooltip]::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 75px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 10, 10, 0.95);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(37, 211, 102, 0.3);
}

/* Flecha del tooltip */
.bat-widget-float[data-tooltip]::after {
    content: '';
    position: absolute;
    bottom: 65px;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(10, 10, 10, 0.95);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
}

.bat-widget-float:hover::before,
.bat-widget-float:hover::after {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   OCULTAR BOTÓN WHATSAPP ORIGINAL EN IPAD HORIZONTAL
   ============================================ */

/* Media query eliminada - ahora .whatsapp-float es visible en todos los dispositivos */

/* ============================================
   RESPONSIVE - OCULTAR FUERA DE RANGO
   ============================================ */

/* Ocultar en iPad vertical */
@media (min-width: 768px) and (max-width: 1366px) and (orientation: portrait) {
    .bat-widget-float {
        display: none !important;
    }
}

/* Ocultar en desktop grande */
@media (min-width: 1367px) {
    .bat-widget-float {
        display: none !important;
    }
}

/* Ocultar en móvil */
@media (max-width: 767px) {
    .bat-widget-float {
        display: none !important;
    }
}
