/* Social Float Links - CSS Principal */
.sfl-social-container {
    position: fixed !important;
    z-index: 999999 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    pointer-events: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

/* Posicionamiento */
.sfl-social-container.sfl-position-bottom-right {
    bottom: 20px !important;
    right: 20px !important;
}

.sfl-social-container.sfl-position-bottom-left {
    bottom: 20px !important;
    left: 20px !important;
}

.sfl-social-container.sfl-position-top-right {
    top: 20px !important;
    right: 20px !important;
}

.sfl-social-container.sfl-position-top-left {
    top: 20px !important;
    left: 20px !important;
}

/* Botones flotantes */
.sfl-social-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    position: relative !important;
    overflow: hidden !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 999999 !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
}

.sfl-social-button:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

.sfl-social-button svg {
    width: 24px;
    height: 24px;
    fill: white;
    transition: transform 0.3s ease;
}

.sfl-social-button:hover svg {
    transform: scale(1.2);
}

/* Tamaños */
.sfl-social-button.sfl-size-small {
    width: 40px;
    height: 40px;
}

.sfl-social-button.sfl-size-small svg {
    width: 20px;
    height: 20px;
}

.sfl-social-button.sfl-size-medium {
    width: 60px;
    height: 60px;
}

.sfl-social-button.sfl-size-medium svg {
    width: 24px;
    height: 24px;
}

.sfl-social-button.sfl-size-large {
    width: 80px;
    height: 80px;
}

.sfl-social-button.sfl-size-large svg {
    width: 32px;
    height: 32px;
}

/* Animaciones */
.sfl-social-button.sfl-animated {
    animation: sfl-float 3s ease-in-out infinite;
}

@keyframes sfl-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Efecto de pulso */
.sfl-social-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: inherit;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.sfl-social-button:hover::before {
    transform: scale(1.2);
    opacity: 0.3;
}

/* Colores específicos por red social */
.sfl-social-button.sfl-whatsapp {
    background: #25D366;
}

.sfl-social-button.sfl-facebook {
    background: #1877F2;
}

.sfl-social-button.sfl-instagram {
    background: linear-gradient(45deg, #E4405F, #C13584, #833AB4);
}

.sfl-social-button.sfl-tiktok {
    background: #FF0050;
}

.sfl-social-button.sfl-linkedin,
.sfl-social-button.sfl-linkedin_company {
    background: #0077B5;
}

.sfl-social-button.sfl-twitter {
    background: #1DA1F2;
}

.sfl-social-button.sfl-youtube {
    background: #FF0000;
}

.sfl-social-button.sfl-telegram {
    background: #0088CC;
}

.sfl-social-button.sfl-discord {
    background: #7289DA;
}

.sfl-social-button.sfl-pinterest {
    background: #BD081C;
}

/* Ocultar en móvil si está configurado */
@media (max-width: 768px) {
    .sfl-social-button.sfl-hide-mobile {
        display: none;
    }
    
    .sfl-social-container {
        right: 15px;
        bottom: 15px;
    }
    
    .sfl-social-button {
        width: 50px;
        height: 50px;
    }
    
    .sfl-social-button svg {
        width: 20px;
        height: 20px;
    }
}

/* Estilos para shortcodes */
.sfl-shortcode-container {
    display: flex;
    gap: 15px;
    margin: 20px 0;
}

.sfl-shortcode-container.sfl-style-vertical {
    flex-direction: column;
    align-items: center;
}

.sfl-shortcode-container.sfl-style-inline {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.sfl-shortcode-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.sfl-shortcode-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: white;
}

.sfl-shortcode-button svg {
    width: 20px;
    height: 20px;
    fill: white;
}

/* Tamaños para shortcodes */
.sfl-shortcode-container.sfl-size-small .sfl-shortcode-button {
    padding: 8px 16px;
    font-size: 12px;
}

.sfl-shortcode-container.sfl-size-small .sfl-shortcode-button svg {
    width: 16px;
    height: 16px;
}

.sfl-shortcode-container.sfl-size-medium .sfl-shortcode-button {
    padding: 12px 20px;
    font-size: 14px;
}

.sfl-shortcode-container.sfl-size-medium .sfl-shortcode-button svg {
    width: 20px;
    height: 20px;
}

.sfl-shortcode-container.sfl-size-large .sfl-shortcode-button {
    padding: 16px 24px;
    font-size: 16px;
}

.sfl-shortcode-container.sfl-size-large .sfl-shortcode-button svg {
    width: 24px;
    height: 24px;
}

/* Colores para shortcodes */
.sfl-shortcode-button.sfl-whatsapp {
    background: #25D366;
}

.sfl-shortcode-button.sfl-facebook {
    background: #1877F2;
}

.sfl-shortcode-button.sfl-instagram {
    background: linear-gradient(45deg, #E4405F, #C13584, #833AB4);
}

.sfl-shortcode-button.sfl-tiktok {
    background: #FF0050;
}

.sfl-shortcode-button.sfl-linkedin,
.sfl-shortcode-button.sfl-linkedin_company {
    background: #0077B5;
}

.sfl-shortcode-button.sfl-twitter {
    background: #1DA1F2;
}

.sfl-shortcode-button.sfl-youtube {
    background: #FF0000;
}

.sfl-shortcode-button.sfl-telegram {
    background: #0088CC;
}

.sfl-shortcode-button.sfl-discord {
    background: #7289DA;
}

.sfl-shortcode-button.sfl-pinterest {
    background: #BD081C;
}

/* Responsividad para shortcodes */
@media (max-width: 768px) {
    .sfl-shortcode-container.sfl-style-inline {
        flex-direction: column;
        align-items: center;
    }
    
    .sfl-shortcode-button {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}

/* Efectos de carga */
.sfl-social-button {
    opacity: 0;
    animation: sfl-fadeIn 0.5s ease forwards;
}

@keyframes sfl-fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Delay para cada botón */
.sfl-social-button:nth-child(1) { animation-delay: 0.1s; }
.sfl-social-button:nth-child(2) { animation-delay: 0.2s; }
.sfl-social-button:nth-child(3) { animation-delay: 0.3s; }
.sfl-social-button:nth-child(4) { animation-delay: 0.4s; }
.sfl-social-button:nth-child(5) { animation-delay: 0.5s; }
.sfl-social-button:nth-child(6) { animation-delay: 0.6s; }
.sfl-social-button:nth-child(7) { animation-delay: 0.7s; }
.sfl-social-button:nth-child(8) { animation-delay: 0.8s; }
.sfl-social-button:nth-child(9) { animation-delay: 0.9s; }
.sfl-social-button:nth-child(10) { animation-delay: 1.0s; }

/* Accessibility */
.sfl-social-button:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .sfl-social-container {
        display: none;
    }
}

/* Reglas de fuerza para resolver conflictos */
body .sfl-social-container,
html .sfl-social-container,
div .sfl-social-container {
    position: fixed !important;
    z-index: 2147483647 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
    left: auto !important;
    top: auto !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

body .sfl-social-container.sfl-position-bottom-right,
html .sfl-social-container.sfl-position-bottom-right,
div .sfl-social-container.sfl-position-bottom-right {
    bottom: 20px !important;
    right: 20px !important;
    left: auto !important;
    top: auto !important;
}

body .sfl-social-button,
html .sfl-social-button,
div .sfl-social-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    position: relative !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
    transform: none !important;
    flex-shrink: 0 !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
} 