/* ============================================
   🌐 BOTÓN FLOTANTE WHATSAPP Y FOOTER CONTACTO
   ============================================ */

/* Botón Flotante de WhatsApp */
.float-wa {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 90px;
    right: 30px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.float-wa i {
    line-height: 1;
}

.float-wa:hover {
    background: linear-gradient(135deg, #128c7e 0%, #0d6d5f 100%);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    transform: translateY(-3px) scale(1.05);
}

.my-float-wa {
    margin-top: 0 !important;
}

/* Footer de Contacto */
.contact-footer {
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.5);
    border-top: 2px solid rgba(102, 126, 234, 0.3);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: hidden;
    z-index: 100;
}

.contact-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    pointer-events: none;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease;
    justify-content: flex-start;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-logo img {
    width: 35px;
    height: 35px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.footer-logo h3 {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.footer-contacts {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.footer-social-link.facebook {
    background: rgba(24, 119, 242, 0.85);
}

.footer-social-link.facebook:hover {
    background: rgba(20, 93, 191, 0.95);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.5);
}

.footer-social-link.whatsapp {
    background: rgba(37, 211, 102, 0.85);
}

.footer-social-link.whatsapp:hover {
    background: rgba(29, 168, 81, 0.95);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.footer-social-link.email {
    background: rgba(234, 67, 53, 0.85);
}

.footer-social-link.email:hover {
    background: rgba(197, 34, 31, 0.95);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(234, 67, 53, 0.5);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.contact-item i {
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.8rem;
    opacity: 0.85;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-value {
    font-size: 1rem;
    font-weight: 700;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}

.footer-copyright {
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.8px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.footer-copyright p {
    margin: 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.95);
}

/* Responsive */
/* Solo para dispositivos móviles pequeños */
@media (max-width: 600px) {
    .float-wa {
        width: 50px;
        height: 50px;
        font-size: 28px;
        bottom: 70px;
        right: 20px;
    }

    .contact-footer {
        padding: 0.5rem 0;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        padding: 0 1rem;
    }

    .footer-contacts {
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
    }

    .contact-item {
        width: 100%;
        justify-content: center;
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .footer-logo img {
        width: 30px;
        height: 30px;
    }
    
    .footer-logo h3 {
        font-size: 0.8rem;
    }
    
    .footer-copyright {
        font-size: 0.65rem;
    }
    
    .footer-social-link {
        width: 26px;
        height: 26px;
        font-size: 0.85rem;
    }
}

/* Pantallas muy pequeñas */
@media (max-width: 480px) {
    .float-wa {
        width: 45px;
        height: 45px;
        font-size: 24px;
        bottom: 60px;
        right: 15px;
    }
    
    .contact-footer {
        padding: 0.4rem 0;
    }
    
    .footer-content {
        padding: 0 0.5rem;
    }
    
    .footer-copyright {
        font-size: 0.6rem;
    }
    
    .contact-item {
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .contact-item i {
        font-size: 1.5rem;
    }
    
    .contact-label {
        font-size: 0.7rem;
    }
    
    .contact-value {
        font-size: 0.85rem;
    }
}

/* Para asegurar que el footer siempre esté al final */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.dashboard-container,
.login-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}
