/**
 * Componente Global: Compartir en Redes Sociales
 * Usado en: noticias, eventos, campañas
 * 
 * Este componente es reutilizable entre diferentes secciones y templates.
 * Mantiene un diseño consistente para los botones de compartir en redes sociales.
 */

.compartir-redes {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 800px;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 0.75rem;
    border: 1px solid #dee2e6;
}

.compartir-redes span {
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
}

.compartir-redes .btn {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    flex-shrink: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    color: #fff;
}

.compartir-redes .btn:hover {
    transform: translateY(-3px);
}

.compartir-redes .btn-facebook {
    background-color: #1877f2;
}

.compartir-redes .btn-facebook:hover {
    background-color: #0d65d9;
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
}

.compartir-redes .btn-twitter {
    background-color: #000;
}

.compartir-redes .btn-twitter:hover {
    background-color: #333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.compartir-redes .btn-whatsapp {
    background-color: #25d366;
}

.compartir-redes .btn-whatsapp:hover {
    background-color: #1da851;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.compartir-redes .btn-linkedin {
    background-color: #0a66c2;
}

.compartir-redes .btn-linkedin:hover {
    background-color: #004182;
    box-shadow: 0 4px 12px rgba(10, 102, 194, 0.4);
}

.compartir-redes .btn-copy-link {
    background-color: #6c757d;
}

.compartir-redes .btn-copy-link:hover {
    background-color: #5a6268;
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.4);
}

.compartir-redes .btn-copy-link.copied {
    background-color: var(--color-secondary);
}

.compartir-redes .btn-copy-link.copied:hover {
    background-color: var(--color-secondary);
    box-shadow: 0 4px 12px rgba(58, 173, 132, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .compartir-redes {
        padding: 0.75rem 1rem;
        gap: 0.5rem;
    }
    
    .compartir-redes .btn {
        width: 35px;
        height: 35px;
        min-width: 35px;
        min-height: 35px;
    }
    
    .compartir-redes span {
        font-size: 0.8rem;
    }
}
