﻿/* RRSS.css - Estilos aislados para botones sociales modernos */

/* Contenedor principal con prefijo único */
.wdc-share-container {
    margin: 20px 0;
    padding: 15px;
    border-radius: 10px;
    background-color: #f8f9fa;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.wdc-share-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
    display: flex;
    align-items: center;
}

    .wdc-share-title i {
        margin-right: 8px;
        color: #555;
    }

/* Contenedor de botones */
.wdc-social-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
}

/* Estilo base para todos los botones */
.wdc-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white !important;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

    .wdc-share-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    }

    .wdc-share-btn:active {
        transform: translateY(0);
    }

    /* Tooltip */
    .wdc-share-btn::after {
        content: attr(aria-label);
        position: absolute;
        bottom: 45px;
        left: 50%;
        transform: translateX(-50%) scale(0.5);
        background-color: rgba(0,0,0,0.8);
        color: white;
        padding: 5px 10px;
        border-radius: 5px;
        font-size: 12px;
        white-space: nowrap;
        opacity: 0;
        visibility: hidden;
        transition: all 0.2s ease;
        pointer-events: none;
        z-index: 1000;
    }

    .wdc-share-btn:hover::after {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) scale(1);
    }

/* Colores específicos para cada red social */
.wdc-facebook {
    background-color: #3b5998;
}

.wdc-twitter {
    background-color: #000;
}

.wdc-whatsapp {
    background-color: #25d366;
}

/* Estilos modernos para iconos del pie de página */
.wdc-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white !important;
    margin: 0 5px 5px 0;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

    .wdc-footer-social a:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25);
        background-color: white;
    }

        /* Colores específicos para cada red social en hover */
        .wdc-footer-social a:hover i.fa-facebook {
            color: #3b5998;
        }

        .wdc-footer-social a:hover i.fa-twitter,
        .wdc-footer-social a:hover .wdc-x-footer-icon {
            color: #1da1f2;
        }

        .wdc-footer-social a:hover i.fa-linkedin {
            color: #0077b5;
        }

        .wdc-footer-social a:hover i.fa-youtube-play {
            color: #ff0000;
        }

        .wdc-footer-social a:hover i.fa-instagram {
            color: #e1306c;
        }

        .wdc-footer-social a:hover i.fa-pinterest {
            color: #bd081c;
        }

        .wdc-footer-social a:hover i.fa-flickr {
            color: #0063dc;
        }

        .wdc-footer-social a:hover i.fa-skype {
            color: #00aff0;
        }

/* Icono personalizado para X (Twitter) */
.wdc-x-footer-icon {
    font-family: Arial, sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 16px;
    display: inline-block;
    line-height: 1;
}

    .wdc-x-footer-icon:before {
        content: "X";
    }

/* Tooltip para iconos del pie de página */
.wdc-footer-social a::after {
    content: attr(title);
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%) scale(0.5);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
    z-index: 1000;
}

.wdc-footer-social a:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
}

.wdc-telegram {
    background-color: #0088cc;
}

.wdc-linkedin {
    background-color: #0077b5;
}

.wdc-pinterest {
    background-color: #bd081c;
}

.wdc-copy-link {
    background-color: #607d8b;
}

.wdc-email {
    background-color: #ea4335;
}

/* Notificación para copia de enlaces */
.wdc-share-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0,0,0,0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

    .wdc-share-notification.show {
        opacity: 1;
        visibility: visible;
    }

/* Icono X personalizado */
.wdc-x-icon {
    font-family: Arial, sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 16px;
}

    .wdc-x-icon:before {
        content: "X";
    }

/* Estilos modernos para iconos sociales del pie de página */
.wdc-footer-social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 15px 0;
}

    .wdc-footer-social-icons a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.1);
        color: white !important;
        text-decoration: none;
        transition: all 0.3s ease;
        position: relative;
        border: none;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    }

        .wdc-footer-social-icons a:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25);
            background-color: white;
        }

        .wdc-footer-social-icons a i,
        .wdc-footer-social-icons a span {
            font-size: 18px;
            transition: color 0.3s ease;
        }

        /* Colores específicos para cada red social en hover */
        .wdc-footer-social-icons a:hover i.fa-facebook {
            color: #3b5998;
        }

        .wdc-footer-social-icons a:hover i.fa-twitter,
        .wdc-footer-social-icons a:hover .wdc-x-icon {
            color: #1da1f2;
        }

        .wdc-footer-social-icons a:hover i.fa-linkedin {
            color: #0077b5;
        }

        .wdc-footer-social-icons a:hover i.fa-youtube-play {
            color: #ff0000;
        }

        .wdc-footer-social-icons a:hover i.fa-instagram {
            color: #e1306c;
        }

        .wdc-footer-social-icons a:hover i.fa-pinterest {
            color: #bd081c;
        }

        .wdc-footer-social-icons a:hover i.fa-flickr {
            color: #0063dc;
        }

        .wdc-footer-social-icons a:hover i.fa-skype {
            color: #00aff0;
        }

        .wdc-footer-social-icons a:hover i.tiktok-ico {
            color: #000000;
        }

/* Icono de X personalizado */
.wdc-x-icon {
    font-family: Arial, sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 16px;
    display: inline-block;
    line-height: 1;
}

    .wdc-x-icon:before {
        content: "X";
    }

/* Tooltip */
.wdc-footer-social-icons a::after {
    content: attr(title);
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%) scale(0.5);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
    z-index: 1000;
}

.wdc-footer-social-icons a:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
}

.wdc-footer-social a:hover i.tiktok-ico {
    color: #000000;
}
/* Adaptación responsive */
@media (max-width: 767px) {
    .wdc-footer-social-icons {
        justify-content: center;
    }
}
